:root{
  --bg: #05060a;
  --neon: #00b3ff;
  --muted: rgba(255,255,255,0.92);
  --white: #ffffff;
}

/* base reset */
* { box-sizing: border-box; }
html,body { height: 100%; }
/* Prevent initial white flash */
html{
  background: #000 !important;
}


body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   NAVBAR (GLASS + NEON)
   ============================================================ */

.site-header {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 10050 !important;
}

/* GLASS NAV */
.nav {
  pointer-events: auto;
  width: min(600px, calc(100% - 32px));

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 12px 22px;
  border-radius: 16px;

  /* GLASS EFFECT */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);

  /* NEON GLOW */
  box-shadow:
    0 4px 20px rgba(0,0,0,0.45),
    0 0 18px rgba(0,179,255,0.20);

  z-index: 10060 !important;
}

/* NAV LIST */
.nav-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 10px;
  align-items: center;
}

/* NAV LINKS */
.nav-btn {
  text-decoration: none;
  display: inline-block;

  color: var(--muted);
  padding: 8px 18px;
  border-radius: 10px;

  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;

  position: relative;
  transition: color 260ms ease, text-shadow 260ms ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover */
.nav-btn:hover,
.nav-btn:focus {

  text-shadow: 0 0 14px rgba(0,179,255,0.35);
}

/* Active (current page) */
.nav-btn.active {
  color: var(--neon);
  text-shadow: 0 0 16px rgba(0,179,255,0.45);
}

/* ============================================================
   UNDERLINE INDICATOR
   ============================================================ */

.nav-indicator {
  position: absolute;
  height: 3px;
  top: 100%;
  margin-top: 8px;

  width: 0;
  background: var(--neon);

  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,179,255,0.25);

  transition:
    left 340ms cubic-bezier(.25,.95,.35,1),
    width 380ms cubic-bezier(.2,.85,.25,1),
    opacity 260ms ease;

  will-change: left, width;
  opacity: 1;
}

.nav-indicator.hidden {
  opacity: 0;
  width: 0;
}

/* MOBILE */
@media (max-width: 680px) {
  .nav { padding: 8px 12px; }
  .nav-btn { font-size: 16px; padding: 8px 10px; }
  .nav-list { gap: 8px; }
}

/* Spacer so content doesn't hide under navbar */

/* ============================================================
   BACKGROUND VIDEO
   ============================================================ */

.bg-video-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -9999 !important;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  filter: saturate(0.95) contrast(0.95);
  animation: bg-zoom 40s linear infinite;
}

@keyframes bg-zoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Overlays */
.bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.40));
  z-index: -9998 !important;
  pointer-events: none;
}   

/* MOBILE OPTIMIZATION */
/* @media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .bg-video { display: none !important; }
  .bg-video-overlay { display: none !important; }
  .bg-video-wrap {
    background: url('/assets/bg-poster.jpg') center/cover no-repeat;
  }
} */



/* ============================================================
   MINI GLASS FOOTER (MATCHES NAVBAR STYLE)
============================================================ */

.site-footer {
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);

  width: auto;
  padding: 12px 22px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);

  border-radius: 16px;
  box-shadow:
      0 4px 20px rgba(0,0,0,0.45),
      0 0 18px rgba(0,179,255,0.20);

  z-index: 1000;
  pointer-events: auto;
}

/* Center content nicely inside the pane */
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Text keeps your neon theme */
.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.6px;
}

/* Icons row — same neon behaviour as before */
.footer-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Icons row */
.footer-icons {
  display: flex;
  align-items: center;
  gap: 18px; /* slightly more spacing */
}

/* Make entire anchor clickable */
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;   /* bigger hitbox */
  height: 40px;
  border-radius: 10px;

  transition: background 0.2s ease;
}

/* Slight glass hover background (no movement) */
.footer-icon:hover {
  background: rgba(0,179,255,0.12);
}

/* Icon image */
.footer-icon img {
  width: 26px;  /* slightly bigger */
  height: 26px;
  opacity: 0.95;

  filter: drop-shadow(0 0 6px rgba(0,179,255,0.35));

  /* ❌ removed transform + animation */
  transition: none;
} 

/* Mobile compact mode */
@media (max-width: 680px) {
    .site-footer {
    width: 100%;
    margin-top: 80px;
    display: flex;
    justify-content: center;
  }


  .footer-inner {
    gap: 12px;
  }

  .footer-text {
    font-size: 12px;
  }

  .footer-icon {
    width: 32px;
    height: 32px;
  }

  .footer-icon img {
    width: 24px;
    height: 24px;
  }
}

html, body {
  position: relative;
  z-index: 0;
}

/* Smooth Neon Blue Scroll Bar (Option A) */
#scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  
  background: linear-gradient(90deg, #00b3ff, #00eaff);
  
  /* Soft, clean neon glow */
  box-shadow:
    0 0 8px #00b3ff,
    0 0 16px #00eaff;

  transition: width 0.25s ease-out;

  z-index: 999999999 !important;
}


/* ============================= */
/* ===== MOBILE HAMBURGER ====== */
/* ============================= */

/* ============================= */
/* ===== NEON HAMBURGER ======== */
/* ============================= */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  position: fixed;
  top: 22px;
  right: 22px;

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

  background: rgba(15,20,30,0.75);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(79,202,255,0.4);

  cursor: pointer;
  z-index: 9999;

  box-shadow:
    0 0 15px rgba(79,202,255,0.4),
    inset 0 0 12px rgba(79,202,255,0.15);

  transition: 0.3s ease;
}

/* Hover glow */
.hamburger:hover {
  box-shadow:
    0 0 25px rgba(79,202,255,0.8),
    0 0 50px rgba(79,202,255,0.4),
    inset 0 0 15px rgba(79,202,255,0.2);
}

/* Lines */
.hamburger span {
  width: 30px;          /* bigger */
  height: 4px;          /* thicker */
  background: #4fcaff;

  border-radius: 4px;

  box-shadow:
    0 0 8px rgba(79,202,255,0.9),
    0 0 16px rgba(79,202,255,0.6);

  transition: 0.35s cubic-bezier(.2,.8,.2,1);
}

/* Animate to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

/* ============================= */
/* ===== MOBILE MENU PANEL ===== */
/* ============================= */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;

  background: rgba(15,20,30,0.95);
  backdrop-filter: blur(20px);

  border-left: 1px solid rgba(79,202,255,0.2);

  display: flex;
  flex-direction: column;
  padding: 120px 30px;
  gap: 30px;

  transition: 0.4s ease;
  z-index: 9998;
}

.mobile-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.mobile-menu a:hover {
  color: #4fcaff;
  transform: translateX(5px);
}

/* Open state */
.mobile-menu.open {
  right: 0;
}

/* ============================= */
/* ===== SHOW ONLY MOBILE ====== */
/* ============================= */

@media (max-width: 900px) {

  .nav {
    display: none; /* Hide desktop navbar */
  }

  .hamburger {
    display: flex;
  }

}

/* ============================= */
/* ===== INTRO OVERLAY ========= */
/* ============================= */

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 110000;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide state */
.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Skip button */
.skip-intro {
  position: absolute;
  bottom: 40px;
  right: 50px;

  padding: 10px 22px;
  border-radius: 30px;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;

  cursor: pointer;
  transition: 0.3s ease;
}

.skip-intro:hover {
  background: #4fcaff;
  color: #000;
}

@media (max-width: 900px) {

  .intro-overlay {
    display: none !important;
  }

}

/* ============================================================
   GOOGLE LOGIN + USER DROPDOWN (CLEAN VERSION)
   ============================================================ */

.login-container {
  position: fixed;
  top: 18px;
  right: 40px;   /* moved slightly left to avoid navbar clash */
  z-index: 20000;
  pointer-events: auto;
}

/* LOGIN BUTTON */
.login-btn {
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.login-btn:hover {
  background: #00b3ff;
  color: #000;
}
/* ============================================================
   PREMIUM USER PANEL
   ============================================================ */

.user-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(0,179,255,0.35);
  padding: 12px 18px;
  border-radius: 16px;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.5),
    0 0 18px rgba(0,179,255,0.25);

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;

  transition: 0.3s ease;
}

.user-panel:hover {
  box-shadow:
    0 6px 20px rgba(0,0,0,0.5),
    0 0 28px rgba(0,179,255,0.5);
}

/* Name */
.user-header {
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Links row */
.user-links {
  display: flex;
  gap: 16px;
}

.user-links a {
  color: #00b3ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s ease;
}

.user-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,179,255,0.7);
}

/* Move up when logged in */
.login-container.logged-in {
  top: 0px;
  transition: top 0.3s ease;
}

/* ================================
   MOBILE LOGIN POSITION FIX
   ================================ */

@media (max-width: 768px) {

  .login-container {
    top: 35px;
    left: 10px;     /* beside hamburger */
    right: auto;    /* disable right positioning */
  }

  /* If logged in */
  .login-container.logged-in {
    top: 20px;
    left: 30px;
  }

}

/* ===============================
   GLOBAL TOP LEFT LOGO
================================= */

.global-top-logo {
  position: fixed;
  top: 10px;
  left: 90px;   /* 🔁 moved from right to left */
  z-index: 1200;
  transition: 0.3s ease;
}

.global-top-logo img {
  width: 200px;
  height: auto;
  opacity: 0.9;
  transition: 0.3s ease;
}

.global-top-logo img:hover {
  transform: scale(1.08);
  opacity: 1;
}



@media (max-width: 768px) {

  .global-top-logo {
    display: Block;         
    left: 50%;          
    right: auto;        
    transform: translateX(-50%); 
    top: 18px;
  }

  .global-top-logo-right{
  display: none;
}

  .global-top-logo img {
    width: 200px;           
  }

}

/* ===============================
   HERO SUBTEXT (FORCE BELOW TIMER)
================================= */

.hero-subtext {
  display: block;
  width: 100%;

  text-align: center;   /* Center it */
  margin-top: 30px;

  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 1px;
}



.global-top-logo-right{
  position:fixed;
  top:5px;
  right:250px;
  z-index:1000;
}

.global-top-logo-right img{
  height:80px;
  width:auto;
}

