@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root{
  --gold:#f6c87a;
  --gold2:#ffe1a8;
  --purple:#6b4eff;
  --blue:#2b6cff;
  --dark:#070910;
  --dark2:#0f1424;
  --text:#f0f1f6;
  --nav-height: 64px;
}

/* =========================
   NAVBAR BASE
========================= */
nav {
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  padding:18px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  backdrop-filter:blur(16px);
  background:linear-gradient(180deg,rgba(7,9,16,.75),rgba(7,9,16,.25));
  border-bottom:1px solid rgba(255,255,255,.05);
  flex-wrap:wrap;
  font-family: 'Inter', system-ui, sans-serif; /* 🔹 Inter ֆոնտ */
  font-size: 16px; /* 🔹 նույնը ինչ body fs-base */
  color: #fff;
}

/* =========================
   LOGO
========================= */
nav .logo {
  font-weight: 800;
  letter-spacing: 3px;

}

nav .logo a {
  text-decoration: none;
  color: var(--gold);
}

/* =========================
   MENU LINKS
========================= */
nav .menu {
  display: flex;
  flex-direction: row;
  align-items: center;
   transition: max-height 0.5s ease, opacity 0.5s ease;
}

nav .menu a {
  margin-left: 30px;

  font-family: 'Inter', system-ui, sans-serif; /* 🔹 Inter */
  font-weight: 500;
  color: #fff;
  text-decoration: none;

  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.25s ease, color 0.25s ease;
}

nav .menu a:hover {
  transform: scale(1.15) translateY(-2px);
  color: var(--gold);
}

nav .menu a.active {
  color: var(--gold);
  font-weight: 700;
  position: relative;
}

nav .menu a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

/* =========================
   LOGIN BUTTON
========================= */
nav .menu .login-btn {
 

  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;

  padding: 8px 14px;
  border-radius: 12px;

  background: linear-gradient(135deg,#3367ff,#2247d6);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(51,103,255,0.18);
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 60;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   MOBILE MENU
========================= */
@media(max-width: 900px) {
  .hamburger {
    display: flex;
  }

  nav .menu {
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  nav .menu.open {
    max-height: 500px;
    opacity: 1;
    padding: 25px;
  }

  nav .menu a {
    margin: 16px 0;
    opacity: 0;
    transform: translateY(15px);
    font-weight: 500;
  }

  nav .menu.open a {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   CLOSE MENU ANIMATION
========================= */
nav .menu.closing {
  max-height: 0 !important;
  opacity: 0 !important;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* =========================
   NETWORK
========================= */
.net-status{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 22px;

  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-family: Inter, sans-serif;
  font-size: 14px;

  border-radius: 14px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  z-index: 9999;

  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

.net-status.show{
  transform: translateY(0);
  opacity: 1;
}

.net-status.offline{
  background: rgba(185, 28, 28, 0.9);
  color: #fff;
}

.net-status.online{
  background: rgba(21, 128, 61, 0.9);
  color: #fff;
}

.net-icon{
  font-size: 16px;
}

/* FOOTER */
.pill{display:inline-block;padding:2px 8px;border-radius:999px;background:#C5F3BE;color:#21315b;font-size:12px}

.worship-footer{
  position:relative;
  background:var(--bg);
  padding:20px 10px 20px;
  overflow:hidden;
  border-radius: 20px 20px 0 0;

}

.footer-glow{
  position:absolute;
  top:-120px;
  left:50%;
  transform:translateX(-50%);
  width:700px;
  height:300px;
  background:radial-gradient(circle,rgba(246,200,122,.25),transparent 70%);
  filter:blur(60px);
}

.footer-content{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:60px;
  position:relative;
  z-index:2;
}

.footer-brand h3{
  color:var(--gold);
  letter-spacing:4px;
  font-size:28px;
  margin-bottom:16px;
}

.footer-brand p{
  opacity:.85;
  line-height:1.6;
}

.footer-links h4{
  color:#fff;
  margin-bottom:18px;
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.footer-links a{
  display:block;
  color:#ddd;
  text-decoration:none;
  margin-bottom:10px;
  opacity:.85;
  transition:.3s;
}

.footer-links a:hover{
  color:var(--gold);
  transform:translateX(6px);
}

.footer-bottom{
  margin-top:60px;
  text-align:center;
  opacity:.6;
  font-size:14px;
}

/* MOBILE FOOTER */
@media(max-width:900px){
  .footer-content{
    grid-template-columns:1fr;
    text-align:center;
    gap:40px;
  }

  .footer-links a{
    transform:none;
  }
}


/* Loader overlay */
#pageLoader{
  position:fixed; inset:0; 
  inset:0;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99998;
  transition:opacity .25s ease, visibility .25s ease;
}
#pageLoader.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader-card{
  width:min(520px, 92vw);
  padding:18px 16px;
  border-radius:16px;
  border:1px solid var(--glass-border);
  background:linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.5));
  box-shadow:var(--card-elev);
  backdrop-filter: blur(10px) saturate(120%);
}
:root.dark .loader-card{
  background:linear-gradient(180deg, rgba(14,20,28,0.65), rgba(14,20,28,0.5));
}
.loader-title{font-weight:800;letter-spacing:-.2px;margin:0 0 10px;}
.skeleton{
  height:12px;
  border-radius:999px;
  background:rgba(0,0,0,0.08);
  overflow:hidden;
  position:relative;
}
:root.dark .skeleton{background:rgba(255,255,255,0.08);}
.skeleton:after{
  content:"";
  position:absolute; inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation:shimmer 1.1s infinite;
}
@keyframes shimmer{to{transform:translateX(100%)}}
.skeleton + .skeleton{margin-top:10px}


