/* ===== Base reset ===== */
:root{
  --line: rgba(255,255,255,.10);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* ===== Fullscreen Video Background ===== */
.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 👇 zoom effect */
  
  transform-origin: center;

  z-index: -2;
  background: black;
}

/* ===== Header (ONLY) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 20px;

  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.62);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brandMark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6300;
  box-shadow: 0 0 0 5px rgba(255,99,0,.10);
}

.brandNameLogo {
  height: 28px;
  width: auto;
  display: block;
}

.brandTag {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.6);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ✅ Dropdown: first item in orange */
.header--mobileOnly .mobileMenu a:first-child{
  color: var(--accent);
  background: rgba(255,99,0,.10);
  border-color: rgba(255,99,0,.45);
  font-weight: 700;
}

/* Optional: keep it orange on hover too */
.header--mobileOnly .mobileMenu a:first-child:hover{
  color: var(--accent);
  background: rgba(255,99,0,.16);
  box-shadow: 0 0 0 6px rgba(255,99,0,.14);
}

/* =========================================================
   MOBILE-ONLY HEADER + DROPDOWN (matches your theme)
   ========================================================= */

/* Hidden by default (desktop/tablet) */
.header--mobileOnly{ display:none; }

/* Show ONLY on mobile */
@media (max-width: 480px){
  /* Hide your desktop header */
  .header:not(.header--mobileOnly){ display:none !important; }

  /* Show mobile header */
  .header--mobileOnly{
    display:flex !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;

    height: var(--header-h, 64px);
    padding: 12px 16px;

    align-items:center;
    justify-content: space-between;

    backdrop-filter: blur(12px);
    background: rgba(5,5,5,.78);
    border-bottom: 1px solid var(--line);
  }

  /* Keep body content below fixed header */
  body{ padding-top: var(--header-h, 64px); }

  /* Brand sizing (same vibe as desktop) */
  .header--mobileOnly .brand{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
  }

  .header--mobileOnly .brandTag{
    display:none; /* optional: saves space on mobile */
  }

  .header--mobileOnly .brandNameLogo{
    height: 22px;
    width: auto;
    display:block;
  }

  /* Right side: CTA + burger */
  .header--mobileOnly .mobileHeaderRight{
    display:flex;
    align-items:center;
    gap: 10px;
  }

  /* Make CTA compact on mobile */
  .header--mobileOnly .headerCta{
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space: nowrap;
  }

  /* Burger button matches your iconBtn */
  .header--mobileOnly .navToggle{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color:#fff;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    transition: background .2s var(--ease), transform .15s var(--ease);
  }

  .header--mobileOnly .navToggle:hover{
    background: rgba(255,255,255,.07);
    transform: translateY(-1px);
  }

  .header--mobileOnly .navToggle:active{
    transform: translateY(0);
  }

  .header--mobileOnly .navToggle:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* =========================
     DROPDOWN MENU PANEL
     ========================= */

  .header--mobileOnly{
    position: fixed; /* ensures dropdown anchors to header */
  }

  .header--mobileOnly .mobileMenu{
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);

    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);

    background: rgba(6,6,6,.96);
    backdrop-filter: blur(14px);

    box-shadow:
      0 18px 50px rgba(0,0,0,.55),
      0 0 0 1px rgba(255,255,255,.04) inset;

    display:flex;
    flex-direction: column;
    gap: 8px;

    /* hidden state */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
      max-height .35s var(--ease),
      opacity .22s var(--ease),
      transform .22s var(--ease);
  }

  /* orange glow behind panel (subtle) */
  .header--mobileOnly .mobileMenu::before{
    content:"";
    position:absolute;
    inset:-18px -18px auto -18px;
    height: 110px;
    background: radial-gradient(
      closest-side,
      rgba(255,99,0,.22),
      rgba(255,99,0,0) 70%
    );
    filter: blur(18px);
    pointer-events:none;
    z-index:0;
  }

  /* links as pill buttons */
  .header--mobileOnly .mobileMenu a{
    position: relative;
    z-index: 1;

    display:flex;
    align-items:center;

    padding: 12px 12px;
    border-radius: 14px;

    color: #fff;
    font-size: 14px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);

    transition:
      transform .15s var(--ease),
      background .2s var(--ease),
      border-color .2s var(--ease),
      box-shadow .2s var(--ease);

    text-decoration: none;
  }

  .header--mobileOnly .mobileMenu a:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.08);
    border-color: rgba(255,99,0,.35);
    box-shadow: 0 0 0 6px rgba(255,99,0,.10);
  }

  .header--mobileOnly .mobileMenu a:active{
    transform: translateY(0);
    background: rgba(255,99,0,.14);
    border-color: rgba(255,99,0,.45);
  }

  .header--mobileOnly .mobileMenu a:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* OPEN state
     You have two choices:
     A) Toggle a class on the header: .header--menuOpen
     B) Toggle aria-hidden="false" on .mobileMenu
  */

  /* A) class-based open */
  .header--mobileOnly.header--menuOpen .mobileMenu{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* B) aria-based open */
  .header--mobileOnly .mobileMenu[aria-hidden="false"]{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .bg-glow{
    inset: -32% -20% auto -20%;
  }
}

.bg-glow{
  position:fixed;
  inset:-40% -20% auto -20%;
  height:80vh;
  background:
    radial-gradient(closest-side, rgba(255,99,0,.26), rgba(255,99,0,0) 70%),
    radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,0) 68%);
  filter: blur(25px);
  pointer-events:none;
  z-index:0;
}


/* =========================================================
   LOGIN (matches NumbuX glass + orange accent)
   ========================================================= */

:root{
  --accent: #ff6300;
}

.auth{
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h, 64px));
  display: grid;
  place-items: center;
  padding: 28px 16px 80px;
}

.authCard{
  width: min(520px, 100%);
  border-radius: 24px;
  padding: 22px;

  background: rgba(6,6,6,.74);
  backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 22px 60px rgba(0,0,0,.60),
    0 0 0 1px rgba(255,255,255,.04) inset;
  position: relative;
  overflow: hidden;
}

/* soft orange glow */
.authCard::before{
  content:"";
  position:absolute;
  inset:-40px -60px auto -60px;
  height: 160px;
  background: radial-gradient(closest-side, rgba(255,99,0,.22), rgba(255,99,0,0) 70%);
  filter: blur(18px);
  pointer-events:none;
}

.authHeader{
  position: relative;
  z-index: 1;
  padding: 6px 6px 14px;
  text-align: center;
}

.authKicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .18px;
  color: rgba(255,255,255,.72);
}

.authKicker::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255,99,0,.10);
}

.authTitle{
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 650;
}

.authSub{
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.45;
}

.authForm{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 6px;
}

.field{
  display: grid;
  gap: 8px;
}

.fieldLabel{
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.input{
  height: 48px;
  width: 100%;
  border-radius: 14px;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);

  color: rgba(255,255,255,.92);
  padding: 0 14px;

  outline: none;

  transition:
    transform .15s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.input::placeholder{
  color: rgba(255,255,255,.38);
}

.input:focus{
  border-color: rgba(255,99,0,.45);
  box-shadow: 0 0 0 6px rgba(255,99,0,.14);
  background: rgba(255,255,255,.06);
}

.authRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.70);
  user-select: none;
}

.check input{
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.authBtn{
  width: 50%;
  margin-top: 6px;
  cursor: pointer;

  height: 35px;
  border-radius: 14px;

  background: transparent;
  border: 1px solid rgba(255,99,0,.55);
  color: rgba(255,255,255,.95);

  font-weight: 650;
  letter-spacing: .2px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: auto;   /* ✅ center */
  margin-right: auto;  /* ✅ center */

  transition:
    transform .15s var(--ease),
    background .2s var(--ease),
    border-color .2s var(--ease),
    box-shadow .2s var(--ease);
}

.authBtn:hover{
  transform: translateY(-1px);
  background: rgba(255,99,0,.16);
  border-color: rgba(255,99,0,.70);
  box-shadow: 0 0 0 6px rgba(255,99,0,.14);
}

.authBtn:active{
  transform: translateY(0);
  background: rgba(255,99,0,.22);
  border-color: rgba(255,99,0,.85);
}

.authBtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 6px rgba(255,99,0,.18);
  border-color: rgba(255,99,0,.85);
}

.authFoot{
  margin: 10px 0 0;
  font-size: 13px;
  color: #ffffff9e;
  text-align: center;
}

/* Forgot password: orange, centered, small, NO underline by default */
.authLink.authForgot{
  display: inline-block;   /* ✅ shrink hover area to text */
  justify-self: center; /* ✅ centers only this element inside the grid */
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;

  font-size: 12px;
  color:  #ffffff9e;

  text-decoration: none;  /* ✅ no underline */
  border-bottom: 0;       /* ✅ override .authLink border underline if present */
  padding-bottom: 0;

  box-shadow: none;
}

/* Hover: white + underline appears */
.authLink.authForgot:hover{
  color: #fff;
  text-decoration: underline; /* ✅ underline only on hover */
  border-bottom: 0;
  box-shadow: none;
}

.authFoot .authLink.authLink--accent{
  color: var(--accent);
  text-decoration: none; /* ✅ kills browser underline */
  border-bottom: 0;      /* ✅ kills your .authLink border underline */
  padding-bottom: 0;
}

.authFoot .authLink.authLink--accent:hover{
  color: #fff;
  box-shadow: none;
  text-decoration: underline; /* ✅ kills browser underline */
}

@media (max-width: 480px){
  .authTitle{ font-size: 24px; }
  .authCard{ padding: 18px; border-radius: 20px; }
  .authRow{ flex-direction: column; align-items: flex-start; }
  .remindme{font-size: 12px; margin-left: -4px;}
  .check input{
    width: 13px;
    height: 13px;
    accent-color: var(--accent);
  }
}

.authError{
  margin: 10px 0 0;
  font-size: 0.9rem;

  background: #ff6300;
  color: #ffffff;

  padding: 10px 12px;
  border-radius: 999px;

  display: none;            /* hidden by default */
}

/* show only when there is real text */
.authError:not(:empty){
  display: inline-block;
}
