/* =========================================================
   NIGHTWING VAULT — Stylesheet
   Mobile-first. Base rules target ~360px phones, then
   min-width media queries scale up to tablet & desktop.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  --bg: #060810;
  --bg-elevated: #0d1120;
  --text: #F3F6FF;
  --text-soft: #93A0BD;
  --accent: #1E90FF;
  --accent-light: #6FC3FF;
  --danger: #FF4A4A;
  --border: rgba(255,255,255,0.09);

  --glass: rgba(16,20,34,0.55);
  --glass-strong: rgba(10,13,24,0.82);
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.45);
  --shadow-lift: 0 20px 50px rgba(30,144,255,0.28);
  --glow: 0 0 40px rgba(30,144,255,0.35);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --nav-h: 64px;
  --ease: cubic-bezier(.22,.9,.28,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
  margin: 0;
  background:
    radial-gradient(680px 480px at 82% -6%, rgba(30,144,255,0.16), transparent 62%),
    radial-gradient(600px 420px at -10% 18%, rgba(30,144,255,0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.section-inner{
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-inner--narrow{ max-width: 680px; }

.eyebrow{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head{
  text-align: center;
  margin-bottom: 32px;
}
.section-head h2{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* =========================================================
   LOADING SCREEN
   ========================================================= */
.loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark{
  width: 84px;
  animation: loaderFloat 1.6s ease-in-out infinite;
}
.loader-wing{ width: 100%; height: auto; }
.loader-wing path{
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: loaderDraw 1.4s var(--ease) forwards;
}
@keyframes loaderDraw{ to{ stroke-dashoffset: 0; } }
@keyframes loaderFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}
.loader-text{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--text-soft);
  opacity: 0;
  animation: fadeIn 0.6s var(--ease) 0.4s forwards;
}
@keyframes fadeIn{ to{ opacity: 1; } }

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1100;
  transition: width 0.1s linear;
}

/* =========================================================
   CUSTOM CURSOR (desktop only, added via JS body class)
   ========================================================= */
.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9998;
  display: none;
  transform: translate(-50%,-50%);
}
.cursor-dot{
  width: 6px; height: 6px;
  background: var(--accent);
}
.cursor-ring{
  width: 32px; height: 32px;
  border: 1.5px solid rgba(0,119,255,0.4);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
body.has-fine-pointer .cursor-dot,
body.has-fine-pointer .cursor-ring{ display: block; }
body.has-fine-pointer{ cursor: none; }
body.has-fine-pointer a, body.has-fine-pointer button{ cursor: none; }
.cursor-ring.is-active{
  width: 52px; height: 52px;
  background: rgba(0,119,255,0.08);
  border-color: var(--accent);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar{
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  width: 100%;
}
.navbar-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  max-width: 1080px;
  margin: 0 auto;
  background: transparent;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.navbar.is-scrolled .navbar-inner{
  background: var(--glass-strong);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border), 0 12px 24px -18px rgba(17,17,17,0.25);
  border-radius: 0 0 18px 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.brand-mark{
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 14px rgba(30,144,255,0.35);
}
.brand-mark img{ width: 100%; height: 100%; object-fit: cover; }
.brand-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, var(--text), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links{ display: none; }

.menu-btn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.menu-btn span{
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu{
  position: fixed;
  top: 0;
  right: 0;
  width: min(78vw, 320px);
  height: 100dvh;
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-left: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 28px 28px;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-link{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu.is-open .mobile-link{ opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-link:nth-child(1){ transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-link:nth-child(2){ transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-link:nth-child(3){ transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-link:nth-child(4){ transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-link:nth-child(5){ transition-delay: 0.25s; }
.mobile-link--ig{ color: var(--accent); border-bottom: none; }

.menu-scrim{
  position: fixed;
  inset: 0;
  background: rgba(17,17,17,0.28);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.menu-scrim.is-open{ opacity: 1; visibility: visible; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  padding: 120px 0 64px;
  text-align: center;
  overflow: hidden;
}
.hero-art{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  opacity: 0.34;
  filter: saturate(1.15);
}
.hero-art-fade{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,8,16,0.35) 0%, rgba(6,8,16,0.55) 42%, var(--bg) 92%),
    linear-gradient(90deg, var(--bg) 0%, rgba(6,8,16,0.2) 22%, rgba(6,8,16,0.2) 78%, var(--bg) 100%);
}
.hero-glow{
  position: absolute;
  top: -140px;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(30,144,255,0.22) 0%, rgba(30,144,255,0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo{
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), var(--glow), 0 18px 40px rgba(0,0,0,0.5);
}
.hero-logo-img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff 20%, var(--accent-light) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(30,144,255,0.25));
}
.hero-line{
  display: none;
}

.hero-subtitle{
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* ---------- Notice card ---------- */
.notice-card{
  margin-top: 32px;
  width: 100%;
  text-align: left;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.notice-head{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--danger);
  margin-bottom: 12px;
}

.notice-icon{ width: 20px; height: 20px; flex-shrink: 0; }
.notice-card p{
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.notice-card p:last-of-type{ margin-bottom: 0; }
.notice-card strong{ color: var(--text); font-weight: 600; }
.notice-hindi{
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--danger) !important;
  font-weight: 600;
  font-size: 0.9rem !important;
}

/* =========================================================
   REVEAL ANIMATIONS (Intersection Observer driven)
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SUBJECTS
   ========================================================= */
.subjects{ padding: 8px 0 64px; }

.subject-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.subject-card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  width: 100%;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(30,144,255,0.05), var(--glass-strong));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  font-family: inherit;
  color: var(--text);
}
button.subject-card{ appearance: none; background-color: var(--glass-strong); }

.subject-card-top{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subject-icon{
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30,144,255,0.14);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.subject-icon svg{ width: 20px; height: 20px; }
.subject-icon--locked{
  background: rgba(255,255,255,0.06);
  color: #6C7690;
}

.badge{
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.badge--unlocked{
  background: rgba(30,144,255,0.16);
  color: var(--accent-light);
}
.badge--locked{
  background: rgba(255,255,255,0.06);
  color: #6C7690;
}

.subject-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.subject-cta{
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.subject-cta--locked{ color: #AAA; }

.subject-card--unlocked{ cursor: pointer; }
.subject-card--unlocked:hover,
.subject-card--unlocked:focus-visible{
  transform: translateY(-6px);
  border-color: rgba(30,144,255,0.45);
  box-shadow: var(--shadow-lift);
}
.subject-card--locked{ opacity: 0.7; cursor: default; }
.subject-card:disabled{ cursor: default; }

/* countdown block on locked cards */
.unlock-timer{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(30,144,255,0.07);
  border: 1px dashed rgba(30,144,255,0.28);
}
.unlock-timer-label{
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.unlock-timer-clock{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about{ padding: 8px 0 64px; }
.about-text{
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.about-text:last-child{ margin-bottom: 0; }

/* =========================================================
   ACCESS CTA
   ========================================================= */
.access-cta{ padding: 0 0 72px; }
.access-cta-card{
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(30,144,255,0.12), var(--glass-strong));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.access-cta-card h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.access-cta-card p{
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary{
  background: linear-gradient(135deg, var(--accent-light), var(--accent) 70%);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(30,144,255,0.6);
}
.btn--primary:hover{
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -8px rgba(30,144,255,0.7);
}
.btn--full{ width: 100%; }

/* ripple */
.ripple{
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s var(--ease);
  pointer-events: none;
}
@keyframes rippleAnim{
  to{ transform: scale(3); opacity: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  text-align: center;
}
.footer-inner{
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 6px 18px rgba(30,144,255,0.3);
}
.footer-mark img{ width: 100%; height: 100%; object-fit: cover; }
.footer-ig{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer-ig svg{ width: 18px; height: 18px; }
.footer-ig:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.footer-copy{
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}
.footer-legal{
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent-light);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}
.back-to-top svg{ width: 18px; height: 18px; }
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ transform: translateY(-3px); }

/* =========================================================
   MODAL
   ========================================================= */
.modal-scrim{
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(17,17,17,0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal-scrim.is-open{ opacity: 1; visibility: visible; }

.modal{
  width: 100%;
  max-width: 560px;
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border-radius: 26px 26px 0 0;
  padding: 28px 22px 32px;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  border-bottom: none;
}
.modal-scrim.is-open .modal{ transform: translateY(0); }

.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}
.modal-close svg{ width: 16px; height: 16px; }

.modal-back{
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 0 14px;
}

.modal-panel h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 20px;
}
.modal-panel--center{
  text-align: center;
  padding-top: 20px;
}
.modal-panel--center h3{ margin-bottom: 10px; }
.modal-panel--center p{
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* method choice grid */
.method-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.method-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--glass);
  color: var(--text);
  text-align: left;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.method-card:hover{
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.method-icon{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-icon svg{ width: 20px; height: 20px; }
.method-icon--ig{ background: rgba(30,144,255,0.14); color: var(--accent-light); }
.method-icon--pay{ background: #fff; color: #111; }
.method-title{ font-weight: 700; font-size: 0.92rem; }
.method-sub{ font-size: 0.76rem; color: var(--text-soft); }

/* step list */
.step-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.step{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
}
.step-icon{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(30,144,255,0.16);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-icon svg{ width: 17px; height: 17px; }
.step-text{ font-size: 0.88rem; padding-top: 6px; }
.step-text a{ color: var(--accent-light); font-weight: 600; }

/* rules box */
.rules-box{
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.rules-box h4{
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.rules-box ul{ display: flex; flex-direction: column; gap: 8px; }
.rules-box li{
  font-size: 0.84rem;
  color: var(--text-soft);
  padding-left: 14px;
  position: relative;
}
.rules-box li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
}
.rules-box.numbered li{ counter-increment: step; }
.rules-box--danger{
  background: rgba(255,74,74,0.08);
  border-color: rgba(255,74,74,0.25);
}
.rules-box--danger h4{ color: var(--danger); }
.rules-box--danger p{ font-size: 0.84rem; color: var(--text-soft); }

/* qr card */
.qr-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(30,144,255,0.12), var(--glass));
  border: 1px solid var(--border);
}
.qr-placeholder{
  position: relative;
  width: 200px;
  max-width: 60vw;
  aspect-ratio: 1;
  border: 2px dashed rgba(30,144,255,0.45);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(30,144,255,0.06);
}
.qr-corner{ position: absolute; width: 18px; height: 18px; color: var(--accent-light); }
.qr-corner--tl{ top: 8px; left: 8px; }
.qr-corner--br{ bottom: 8px; right: 8px; transform: rotate(180deg); }
.qr-amount{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-light);
}

.fine-print{
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* done check */
.done-check{
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(30,144,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.5s var(--ease);
}
.done-check svg{ width: 30px; height: 30px; }
@keyframes popIn{
  from{ transform: scale(0.5); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}

/* =========================================================
   RESPONSIVE — small phones cushion (320–359px)
   ========================================================= */
@media (max-width: 359px){
  .hero-title{ font-size: 1.5rem; }
  .method-grid{ gap: 8px; }
  .qr-placeholder{ width: 170px; }
}

/* =========================================================
   RESPONSIVE — larger phones / phablets (>=480px)
   ========================================================= */
@media (min-width: 480px){
  .subject-grid{ grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — tablets (>=768px)
   ========================================================= */
@media (min-width: 768px){
  :root{ --nav-h: 76px; }

  .navbar-inner{ padding: 0 32px; }
  .brand-name{ font-size: 0.95rem; }
  .brand-mark{ width: 30px; }

  .nav-links{
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-link{
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
    position: relative;
    padding: 6px 0;
    transition: color 0.25s var(--ease);
  }
  .nav-link::after{
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
  }
  .nav-link:hover{ color: var(--text); }
  .nav-link:hover::after{ width: 100%; }
  .nav-link--ig{ color: var(--accent); font-weight: 600; }

  .menu-btn{ display: none; }

  .hero{ padding: 88px 0 96px; }
  .hero-inner{ max-width: 680px; }
  .hero-logo{ width: 120px; }
  .hero-title{ font-size: clamp(2.4rem, 5vw, 3.2rem); gap: 20px; }

  /* animated blue lines beside heading, desktop only */
  .hero-line{
    display: inline-block;
    height: 2px;
    width: 44px;
    background: linear-gradient(90deg, transparent, var(--accent-light));
    position: relative;
    overflow: hidden;
    border-radius: 2px;
  }
  .hero-line--right{ background: linear-gradient(90deg, var(--accent-light), transparent); }
  .hero-line::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: lineShimmer 2.6s ease-in-out infinite;
  }
  @keyframes lineShimmer{
    0%{ transform: translateX(-100%); }
    100%{ transform: translateX(100%); }
  }

  .notice-card{ padding: 32px 36px; }

  .section-head h2{ font-size: 2.1rem; }

  .subject-grid{ grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .subject-card{ padding: 28px; }

  .about-text{ font-size: 1.02rem; }

  .access-cta-card{ padding: 48px; }

  .footer-inner{ max-width: 600px; }

  .modal-scrim{ align-items: center; padding: 24px; }
  .modal{ border-radius: 26px; max-height: 84dvh; padding: 36px 40px 40px; }
  .method-grid{ gap: 16px; }
}

/* =========================================================
   RESPONSIVE — desktop (>=1024px)
   ========================================================= */
@media (min-width: 1024px){
  .subject-grid{ grid-template-columns: repeat(5, 1fr); }
  .subject-card{ padding: 24px 20px; }

  .hero-glow{ width: 640px; height: 640px; }

  .footer-inner{ flex-direction: row; justify-content: space-between; text-align: left; max-width: 900px; }
  .footer-legal{ max-width: 360px; }
}