/* ============================================================
   IGITA 2026 — style.css (Mobile-Optimized Edition)
   ============================================================ */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:        #020408;
  --bg2:       #050812;
  --bg3:       #080c18;
  --accent:    #0088ff;
  --accent2:   #0055ff;
  --accent3:   #818cf8;
  --text:      #e8eeff;
  --muted:     #6b7fa8;
  --border:    rgba(0,136,255,0.15);
  --glow:      0 0 40px rgba(0,136,255,0.3);
  --radius:    6px;
  --status-h:  0px;
  --nav-h:     60px;
  --side-pad:  clamp(48px, calc((100vw - 1280px) / 2 + 48px), 180px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--status-h) + var(--nav-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-text-size-adjust: 100%;
  padding-top: var(--status-h);
}

/* Body saat loading */
body.is-loading { overflow: hidden; }

/* ================================================================
   LOADING SCREEN — HUD Edition
   ================================================================ */
.loader-screen {
  position: fixed; inset: 0;
  background: #020810;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              visibility 0.7s cubic-bezier(0.4,0,0.2,1);
}
.loader-screen.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* ── Grid background ── */
.loader-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,136,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,136,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

/* ── Ambient glows ── */
.loader-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(70px);
}
.loader-glow--core {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,120,255,0.14) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: glCore 3s ease-in-out infinite;
}
.loader-glow--outer {
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,80,200,0.07) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: glCore 4s ease-in-out infinite 0.8s;
}
.loader-glow--side-l {
  width: 200px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,180,255,0.06) 0%, transparent 70%);
  top: 30%; left: -60px;
  animation: glSide 5s ease-in-out infinite;
}
.loader-glow--side-r {
  width: 200px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,80,255,0.06) 0%, transparent 70%);
  top: 30%; right: -60px;
  animation: glSide 5s ease-in-out infinite 1.5s;
}
@keyframes glCore {
  0%,100% { opacity:0.7; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:1;   transform:translate(-50%,-50%) scale(1.15); }
}
@keyframes glSide {
  0%,100% { opacity:0.4; }
  50%      { opacity:0.9; }
}

/* ── HUD Corners ── */
.loader-corner {
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
}
.loader-corner--tl { top: 20px; left: 20px;
  border-top: 1.5px solid rgba(0,212,255,0.5);
  border-left: 1.5px solid rgba(0,212,255,0.5); }
.loader-corner--tr { top: 20px; right: 20px;
  border-top: 1.5px solid rgba(0,212,255,0.5);
  border-right: 1.5px solid rgba(0,212,255,0.5); }
.loader-corner--bl { bottom: 20px; left: 20px;
  border-bottom: 1.5px solid rgba(0,212,255,0.5);
  border-left: 1.5px solid rgba(0,212,255,0.5); }
.loader-corner--br { bottom: 20px; right: 20px;
  border-bottom: 1.5px solid rgba(0,212,255,0.5);
  border-right: 1.5px solid rgba(0,212,255,0.5); }

/* ── HUD bars (top / bottom) ── */
.loader-hud-top {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.14em;
  color: rgba(0,180,255,0.4); text-transform: uppercase;
  pointer-events: none;
}
.loader-hud-top    { top: 24px; }
.loader-hud-dot {
  display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: rgba(0,212,255,0.5);
  animation: hudBlink 2s ease-in-out infinite;
}
.loader-hud-sep {
  display: inline-block; width: 24px; height: 1px;
  background: rgba(0,180,255,0.25);
}
@keyframes hudBlink {
  0%,100% { opacity:0.5; } 50% { opacity:1; }
}

/* ── Main content ── */
.loader-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  animation: ldFadeIn 0.6s ease forwards;
}
@keyframes ldFadeIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── Ring wrap ── */
.loader-ring-wrap {
  position: relative; width: 200px; height: 200px;
}

/* Deco spinning rings (CSS-only) */
.loader-deco-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.loader-deco-ring--a {
  inset: -8px;
  border: 1px dashed rgba(0,136,255,0.15);
  animation: spinA 12s linear infinite;
}
.loader-deco-ring--b {
  inset: -18px;
  border: 1px solid transparent;
  border-top-color: rgba(0,212,255,0.2);
  border-bottom-color: rgba(0,80,255,0.15);
  animation: spinB 8s linear infinite;
}
@keyframes spinA { to { transform: rotate(360deg); } }
@keyframes spinB { to { transform: rotate(-360deg); } }

/* SVG ring */
.loader-ring-svg {
  width: 200px; height: 200px;
  position: absolute; inset: 0;
  transform: rotate(-90deg);
}
.loader-ring-ticks {
  stroke: rgba(0,136,255,0.07);
  stroke-dasharray: 3 10;
}
.loader-ring-track {
  stroke: rgba(0,100,200,0.15);
}
.loader-ring-progress {
  stroke: url(#ringGrad);
  transition: stroke-dashoffset 0.38s cubic-bezier(0.4,0,0.2,1);
  filter: drop-shadow(0 0 5px rgba(0,180,255,0.55)) drop-shadow(0 0 12px rgba(0,120,255,0.3));
}
.loader-ring-inner {
  stroke: rgba(0,180,255,0.06);
}

/* Center content */
.loader-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.loader-logo {
  height: 52px; width: auto;
  /* Original logo color — no filter */
  animation: logoPulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(0,180,255,0.25));
}
@keyframes logoPulse {
  0%,100% { transform:scale(1);    filter:drop-shadow(0 0 10px rgba(0,180,255,0.25)); }
  50%      { transform:scale(0.95); filter:drop-shadow(0 0 18px rgba(0,212,255,0.45)); }
}
.loader-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #00d4ff, #7cb9ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.4));
}
.loader-pct span { font-size: 0.58em; opacity: 0.75; }

/* Orbiting dots */
.loader-orbit {
  position: absolute; inset: 0;
  pointer-events: none;
}
.loader-orbit--a { animation: orbitA 2s linear infinite; }
.loader-orbit--b { animation: orbitB 3.2s linear infinite; top: 12px; left: 12px; right: 12px; bottom: 12px; }
@keyframes orbitA { to { transform: rotate(360deg); } }
@keyframes orbitB { to { transform: rotate(-360deg); } }
.loader-orbit-dot {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 8px 3px rgba(0,212,255,0.7), 0 0 16px rgba(0,136,255,0.4);
}
.loader-orbit-dot--sm {
  width: 4px; height: 4px;
  background: rgba(0,180,255,0.6);
  box-shadow: 0 0 6px 2px rgba(0,180,255,0.5);
}

/* ── Brand text ── */
.loader-brand {
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'Syne', sans-serif; font-weight: 800;
  letter-spacing: 0.08em;
}
.loader-brand-igita {
  font-size: 2.4rem;
  background: linear-gradient(135deg, #ffffff 0%, #a8d4ff 50%, #00aaff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,180,255,0.3));
}
.loader-brand-year {
  font-size: 1.7rem;
  background: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.5));
}

/* Subtitle */
.loader-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: center;
  background: linear-gradient(90deg, rgba(0,180,255,0.3), rgba(0,136,255,0.6), rgba(0,180,255,0.3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 280px;
}

/* ── Progress bar ── */
.loader-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 220px;
}
.loader-bar-track {
  width: 100%; height: 2px;
  background: rgba(0,100,200,0.12);
  border-radius: 99px; overflow: hidden;
  position: relative;
}
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #0044ff, #00aaff, #00d4ff);
  border-radius: 99px;
  transition: width 0.35s ease;
  box-shadow: 0 0 10px rgba(0,212,255,0.7);
}
.loader-status-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.loader-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,160,220,0.5);
}
.loader-pct-sm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem; letter-spacing: 0.06em;
  color: rgba(0,212,255,0.45);
}
/* Skip Link */
.skip-link {
  position: fixed; top: -9999px; left: 16px; z-index: 9999;
  background: var(--accent); color: var(--bg);
  padding: 10px 18px; font-weight: 700;
  font-family: 'Syne', sans-serif; border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none; font-size: 0.85rem; transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid var(--bg); outline-offset: 2px; }

/* Grain Overlay */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ============================================================
   GLOBAL BACKGROUND
   ============================================================ */
.global-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.global-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 10%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 10%, transparent 85%);
}
.global-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(120px); will-change: transform; opacity: 0.55; }
.glow-1 { width: 850px; height: 850px; background: radial-gradient(circle, rgba(0,212,255,0.14) 0%, transparent 65%); top: -220px; right: -180px; animation: floatOrbGlobal 28s ease-in-out infinite alternate; }
.glow-2 { width: 650px; height: 650px; background: radial-gradient(circle, rgba(6,182,212,0.11) 0%, transparent 65%); bottom: -120px; left: -150px; animation: floatOrbGlobal 34s ease-in-out infinite alternate-reverse; }
@keyframes floatOrbGlobal {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(45px,-35px) scale(1.06); }
  100% { transform: translate(-35px,25px) scale(0.96); }
}
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0.85; }

nav, main, footer, .status-bar { position: relative; z-index: 1; }

/* ============================================================
   STATUS BAR
   ============================================================ */
.status-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(0,212,255,0.06); border-bottom: 1px solid var(--border);
  height: var(--status-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--side-pad);
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: var(--muted);
  overflow: hidden; white-space: nowrap;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}
.status-bar.collapsed { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.status-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.status-scroll { display: flex; gap: 0; width: max-content; will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
/* Loop ticker ditangani JS rAF — bebas dari CSS reset-flash */

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: var(--status-h);
  left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--side-pad);
  background: rgba(4,7,18,0.82); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: top 0.35s ease, padding 0.3s, background 0.3s, box-shadow 0.3s;
  isolation: isolate;
}
nav::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,136,255,0.2) 20%, rgba(0,212,255,0.35) 50%, rgba(0,136,255,0.2) 80%, transparent 100%);
  pointer-events: none;
}
nav.scrolled {
  top: 0; padding: 12px var(--side-pad);
  background: rgba(3,6,16,0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,136,255,0.06);
}
nav.scrolled::after {
  background: linear-gradient(90deg, transparent 0%, rgba(0,136,255,0.28) 20%, rgba(0,212,255,0.45) 50%, rgba(0,136,255,0.28) 80%, transparent 100%);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}
/* Logo image — warna diubah ke cyan #00d4ff via CSS filter */
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto 0;
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.06em;
}
.nav-logo-year {
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}
/* Footer logo */
.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: auto 0;
}

.footer-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.footer-logo-year {
  background: linear-gradient(135deg, rgba(0,212,255,0.7) 0%, rgba(0,136,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}

.nav-links { display: flex; gap: 32px; flex-shrink: 0; align-items: center; }
.nav-links > a {
  color: rgba(107,127,168,0.85); font-size: 0.88rem; text-decoration: none; font-weight: 500;
  letter-spacing: 0.04em; transition: color 0.25s, letter-spacing 0.25s; position: relative; padding: 8px 0;
}
.nav-links > a::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 1.5px; background: linear-gradient(90deg, rgba(0,136,255,0.8), rgba(0,212,255,1)); transition: width 0.3s cubic-bezier(0.4,0,0.2,1); border-radius: 2px; }
.nav-links > a:hover, .nav-links > a:focus-visible { color: var(--text); outline: none; letter-spacing: 0.05em; }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after { width: 100%; }

/* ── Desktop Dropdown "Lainnya" ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(107,127,168,0.85);
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s, letter-spacing 0.25s;
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}
.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, rgba(0,136,255,0.8), rgba(0,212,255,1));
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  color: var(--text);
  outline: none;
  letter-spacing: 0.05em;
}
.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger[aria-expanded="true"]::after { width: 100%; }

.nav-dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.6;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-trigger:hover .nav-dropdown-chevron { opacity: 1; }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -10px;
  min-width: 148px;
  background: rgba(4,8,22,0.98);
  border: 1px solid rgba(0,136,255,0.18);
  border-radius: 8px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 20px 48px rgba(0,0,0,0.7),
    0 0 0 1px rgba(0,136,255,0.05),
    inset 0 1px 0 rgba(0,212,255,0.05);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4,0,0.2,1);
}
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px; height: 10px;
  background: rgba(4,8,22,0.98);
  border-top: 1px solid rgba(0,136,255,0.18);
  border-left: 1px solid rgba(0,136,255,0.18);
  transform: rotate(45deg);
  border-radius: 1px;
}
.nav-dropdown-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-panel a {
  color: rgba(107,127,168,0.85);
  font-size: 0.84rem;
  text-decoration: none;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: block;
}
.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  color: var(--text);
  background: rgba(0,136,255,0.09);
  outline: none;
}

.nav-cta {
  border: none; color: var(--accent); padding: 13px 32px; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; font-family: 'Syne', sans-serif;
  flex-shrink: 0; min-height: 52px; display: inline-flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 14px rgba(0,212,255,0.15);
  transition: color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.nav-cta::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg); transition: none; pointer-events: none; z-index: 1;
}
.nav-cta span { position: relative; z-index: 2; }
.nav-cta:hover::before, .nav-cta:focus-visible::before { opacity: 1; }
.nav-cta:hover::after, .nav-cta:focus-visible::after { left: 160%; transition: left 0.5s ease; }
.nav-cta:hover, .nav-cta:focus-visible {
  color: #fff; outline: none; 
  box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15);
}
.nav-cta:active { transform: translateY(0) scale(0.985); box-shadow: 0 0 10px rgba(0,212,255,0.4), 0 0 28px rgba(0,120,255,0.18); }

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 8px; position: relative; z-index: 300; flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  display: block; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), opacity 0.22s ease, width 0.22s ease;
  transform-origin: right center;
}
.nav-burger span:nth-child(1) { width: 22px; }
.nav-burger span:nth-child(2) { width: 16px; }
.nav-burger span:nth-child(3) { width: 19px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(-45deg); width: 22px; }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(45deg); width: 22px; }

/* ============================================================
   MOBILE NAV — DROP FROM TOP
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: calc(var(--status-h) + var(--nav-h));
  left: 0; right: 0;
  z-index: 150;
  background: linear-gradient(180deg, rgba(3,7,20,0.99) 0%, rgba(2,5,16,0.99) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(0,136,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.65), inset 0 1px 0 rgba(0,136,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 6px 0 20px;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition:
    clip-path 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.22s ease;
  pointer-events: none;
  max-height: calc(100svh - var(--status-h) - var(--nav-h));
  overflow-y: auto;
  scrollbar-width: none;
}
/* when nav scrolls up (status bar hidden, nav at top:0) */
.mobile-nav.nav-scrolled {
  top: var(--nav-h);
  max-height: calc(100svh - var(--nav-h));
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav.open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  pointer-events: auto;
}

/* accent line at top edge */
.mobile-nav::before {
  content: '';
  display: block; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,136,255,0.55) 25%, rgba(0,212,255,0.8) 50%, rgba(0,136,255,0.55) 75%, transparent 100%);
  flex-shrink: 0; margin-bottom: 4px;
}
.mobile-nav::after { display: none; }

/* X close button — hidden; burger in navbar is the toggle */
.mobile-nav-close { display: none; }

/* ── Nav links ── */
.mobile-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  color: rgba(107,127,168,0.85);
  text-decoration: none; letter-spacing: 0.02em;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid rgba(0,136,255,0.06);
  transition: color 0.22s, background 0.22s, padding-left 0.22s;
  position: relative;
}
/* Right arrow chevron */
.mobile-nav a::after {
  content: '›'; font-size: 1.1rem;
  color: rgba(0,136,255,0.3);
  transition: color 0.22s, transform 0.22s;
  flex-shrink: 0; line-height: 1;
}
.mobile-nav a:not(.mobile-cta)::before { display: none; }
.mobile-nav a:not(.mobile-cta):hover,
.mobile-nav a:not(.mobile-cta):focus-visible {
  color: var(--text);
  background: rgba(0,136,255,0.04);
  padding-left: 28px;
  outline: none;
}
.mobile-nav a:not(.mobile-cta):hover::after,
.mobile-nav a:not(.mobile-cta):focus-visible::after {
  color: rgba(0,212,255,0.8);
  transform: translateX(4px);
}
/* last regular link before CTA */
.mobile-nav a:nth-last-of-type(2) { border-bottom: none; }

/* ── CTA button ──────────────────────────────────────────── */


.mobile-nav .mobile-cta::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg); transition: none; pointer-events: none; z-index: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 100px) var(--side-pad) 40px;
  position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 920px; width: 100%; }
.hero-bg-asset { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; display: flex; align-items: flex-start; justify-content: flex-end; pointer-events: none; z-index: 0; opacity: 0.4; mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, black 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 35%, black 25%, transparent 75%); mix-blend-mode: screen; }
.bg-agro-img { height: 120%; width: auto; object-fit: cover; filter: brightness(1.2) contrast(1.1); animation: floatBgAgro 10s ease-in-out infinite alternate; margin-top: 90px; margin-right: -50px; }

@keyframes floatBgAgro {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}

.hero-badge {
  display: inline-flex; align-items: flex-start; gap: 8px;
  background: linear-gradient(135deg, rgba(0,212,255,0.09) 0%, rgba(0,136,255,0.05) 100%);
  border: 1px solid rgba(0,212,255,0.32); padding: 7px 16px; border-radius: 2px;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); font-family: 'JetBrains Mono', monospace;
  margin-bottom: 28px; animation: fadeUp 0.6s ease both;
  white-space: normal; max-width: 100%; line-height: 1.4;
  box-shadow: 0 0 18px rgba(0,212,255,0.07), inset 0 1px 0 rgba(0,212,255,0.12);
}
.hero-badge::before { content: none; }

.hero-title {
  font-family: 'Syne', sans-serif; font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800; line-height: 0.92; letter-spacing: -0.02em;
  animation: fadeUp 0.6s 0.1s ease both; overflow-wrap: break-word;
}
.hero-title .line1 { display: block; }
.hero-title .line2 { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(0,212,255,0.45); letter-spacing: -0.015em; }
.hero-title .line3 {
  display: block;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 55%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(0,180,255,0.35));
}

.hero-sub { margin-top: 24px; max-width: 580px; color: rgba(232,238,255,0.72); font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.7; animation: fadeUp 0.6s 0.2s ease both; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; animation: fadeUp 0.6s 0.3s ease both; }
.hero-tag { background: rgba(0,212,255,0.05); border: 1px solid rgba(0,212,255,0.18); color: rgba(232,238,255,0.75); font-size: 0.75rem; padding: 5px 13px; border-radius: 2px; font-family: 'JetBrains Mono', monospace; white-space: nowrap; letter-spacing: 0.04em; transition: color 0.2s, border-color 0.2s; }
.hero-tag:hover { color: var(--accent); border-color: rgba(0,212,255,0.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; animation: fadeUp 0.6s 0.4s ease both; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%); padding: 18px 44px; border-radius: var(--radius);
  color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; font-family: 'Syne', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  touch-action: manipulation; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 12px rgba(0,180,255,0.25), 0 0 28px rgba(0,85,255,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg); transition: none; pointer-events: none;
}
.btn-primary:hover::before, .btn-primary:focus-visible::before { left: 160%; transition: left 0.55s ease; }
.btn-primary:hover, .btn-primary:focus-visible {outline: none;
 transform: translateY(-2px);box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15), inset 0 1px 0 rgba(255,255,255,0.22);
 background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
}
.btn-primary:active { transform: translateY(0) scale(0.985); box-shadow: 0 0 10px rgba(0,212,255,0.40), 0 0 30px rgba(0,120,255,0.20), inset 0 1px 0 rgba(255,255,255,0.15); }

.btn-secondary { color: var(--muted); font-size: 0.88rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; font-weight: 500; min-height: 44px; padding: 8px 0; }
.btn-secondary:hover, .btn-secondary:focus-visible { color: var(--text); outline: none; }

.btn-back-fixed {position: fixed; top: 20px; left: 20px; z-index: 9999; display: inline-flex; align-items: center; gap: 7px; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.55); background: rgba(6,8,15,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 14px 8px 10px; text-decoration: none; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;}
.btn-back-fixed:hover {color: #00d4ff; border-color: rgba(0,212,255,0.4); background: rgba(0,212,255,0.07);}
.btn-back-fixed svg {transition: transform 0.2s; flex-shrink: 0;}
.btn-back-fixed:hover svg {transform: translateX(-3px);}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section { padding: 10px var(--side-pad) 90px; position: relative; z-index: 1; margin-top: 0px; }
.countdown-label { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: rgba(0,212,255,0.8); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; text-align: center; }
.countdown-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: center; }
.count-block { display: flex; flex-direction: column; align-items: center; background: var(--bg3); border: 1px solid var(--border); padding: 28px 38px; min-width: 140px; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.count-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent 0%, #00d4ff 30%, #0088ff 70%, transparent 100%); opacity: 0.9; }
.count-num {
  font-family: 'Syne', sans-serif; font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0,180,255,0.3));
}
.count-label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; font-family: 'JetBrains Mono', monospace; }
.count-sep { font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; color: rgba(0,136,255,0.35); padding: 0 4px; align-self: flex-start; padding-top: 14px; }

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 90px var(--side-pad);
  scroll-margin-top: calc(var(--status-h) + var(--nav-h) + 8px);
}
.section-label { display: none !important; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0 var(--side-pad); }

/* ============================================================
   CONCEPT GRID
   ============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: transparent;
  margin-top: 50px;
}

.concept-card {
  background: linear-gradient(155deg, rgba(8,14,32,0.95) 0%, rgba(4,8,22,0.98) 100%);
  padding: 36px 28px;
  border: 1px solid rgba(0,136,255,0.12);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.38s ease, transform 0.38s cubic-bezier(0.4,0,0.2,1), box-shadow 0.38s ease;
}

/* Top gradient accent strip */
.concept-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.55) 30%, rgba(0,212,255,0.8) 55%, rgba(129,140,248,0.5) 80%, transparent 95%);
  opacity: 0;
  transition: opacity 0.38s ease;
  border-radius: 14px 14px 0 0;
}

/* Corner radial glow */
.concept-card::after {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,136,255,0.09) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.concept-card:hover {
  border-color: rgba(0,136,255,0.32);
  transform: translateY(-5px);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,136,255,0.12),
    0 0 40px rgba(0,136,255,0.07);
  background: linear-gradient(155deg, rgba(0,136,255,0.05) 0%, rgba(4,8,22,0.98) 100%);
}
.concept-card:hover::before { opacity: 1; }
.concept-card:hover::after  { opacity: 1; }

/* Numbered index chip for each card */
.concept-card:nth-child(1)::before { background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.5) 35%, rgba(0,212,255,0.85) 60%, transparent 90%); }
.concept-card:nth-child(2)::before { background: linear-gradient(90deg, transparent 5%, rgba(0,85,255,0.5) 35%, rgba(0,136,255,0.85) 60%, transparent 90%); }
.concept-card:nth-child(3)::before { background: linear-gradient(90deg, transparent 5%, rgba(129,140,248,0.45) 35%, rgba(0,136,255,0.7) 60%, transparent 90%); }

/* ── Icon Box ── */
.icon-box {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,136,255,0.12) 0%, rgba(0,85,255,0.06) 100%);
  border: 1px solid rgba(0,136,255,0.22);
  border-radius: 14px;
  margin-bottom: 22px;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  animation-name: iconFloat;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  box-shadow: 0 0 0 0 rgba(0,136,255,0);
}
.icon-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.concept-card:nth-child(2) .icon-box { animation-delay: 0.6s; }
.concept-card:nth-child(3) .icon-box { animation-delay: 1.2s; }

.concept-card:hover .icon-box {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(0,212,255,0.5);
  background: linear-gradient(135deg, rgba(0,136,255,0.2) 0%, rgba(0,85,255,0.1) 100%);
  box-shadow: 0 8px 24px rgba(0,136,255,0.22), inset 0 1px 0 rgba(0,212,255,0.15);
}
.concept-card:hover .icon-box::before { opacity: 1; }

.icon-modern {
  width: 26px; height: 26px; color: var(--accent);
  position: relative; z-index: 1;
  transition: transform 0.35s, color 0.35s, filter 0.35s;
  filter: drop-shadow(0 0 2px rgba(0,136,255,0.3));
}
.concept-card:hover .icon-modern {
  transform: scale(1.14);
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.7));
}

@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.25s;
}
.concept-card:hover .card-title { color: rgba(232,238,255,0.95); }
.card-desc { color: rgba(107,127,168,0.85); font-size: 0.875rem; line-height: 1.75; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; }

.cat-card {
  border-radius: 16px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.38s ease, transform 0.38s cubic-bezier(0.4,0,0.2,1), box-shadow 0.38s ease;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Internal card */
.cat-card.internal {
  background: linear-gradient(150deg, rgba(0,136,255,0.07) 0%, rgba(4,8,22,0.97) 50%, rgba(0,85,255,0.04) 100%);
  border: 1px solid rgba(0,136,255,0.28);
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08);
}

/* External card */
.cat-card.external {
  background: linear-gradient(150deg, rgba(129,140,248,0.07) 0%, rgba(4,8,22,0.97) 50%, rgba(0,85,255,0.04) 100%);
  border: 1px solid rgba(129,140,248,0.28);
  box-shadow: inset 0 1px 0 rgba(129,140,248,0.08);
}

/* Top gradient strip */
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
}
.cat-card.internal::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0,136,255,0.7) 30%, rgba(0,212,255,0.9) 55%, rgba(0,136,255,0.6) 80%, transparent 100%);
}
.cat-card.external::before {
  background: linear-gradient(90deg, transparent 0%, rgba(129,140,248,0.7) 30%, rgba(0,136,255,0.85) 55%, rgba(129,140,248,0.6) 80%, transparent 100%);
}

/* Corner background glow orb */
.cat-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0.6;
}
.cat-card.internal::after {
  background: radial-gradient(circle, rgba(0,136,255,0.1) 0%, transparent 65%);
}
.cat-card.external::after {
  background: radial-gradient(circle, rgba(129,140,248,0.1) 0%, transparent 65%);
}

/* Hover lift */
.cat-card:hover {
  transform: translateY(-6px);
}
.cat-card.internal:hover {
  border-color: rgba(0,136,255,0.55);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 40px rgba(0,136,255,0.12), 0 0 0 1px rgba(0,136,255,0.18);
}
.cat-card.external:hover {
  border-color: rgba(129,140,248,0.5);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 40px rgba(129,140,248,0.1), 0 0 0 1px rgba(129,140,248,0.15);
}

/* Badge redesign */
.cat-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.cat-card.internal .cat-badge {
  background: linear-gradient(135deg, rgba(0,136,255,0.18) 0%, rgba(0,212,255,0.1) 100%);
  color: #00d4ff;
  border: 1px solid rgba(0,212,255,0.3);
  box-shadow: 0 0 12px rgba(0,136,255,0.15);
}
.cat-card.external .cat-badge {
  background: linear-gradient(135deg, rgba(129,140,248,0.18) 0%, rgba(0,136,255,0.1) 100%);
  color: var(--accent3);
  border: 1px solid rgba(129,140,248,0.3);
  box-shadow: 0 0 12px rgba(129,140,248,0.12);
}

.cat-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}
.cat-card.internal:hover .cat-title { color: #fff; }
.cat-card.external:hover .cat-title { color: #fff; }

.cat-desc {
  color: rgba(107,127,168,0.85);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.cat-quota {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  padding: 5px 12px;
  border-radius: 4px;
  align-self: flex-start;
}
.cat-card.internal .cat-quota {
  color: rgba(0,212,255,0.85);
  background: rgba(0,136,255,0.08);
  border: 1px solid rgba(0,136,255,0.18);
}
.cat-card.external .cat-quota {
  color: var(--accent3);
  background: rgba(129,140,248,0.08);
  border: 1px solid rgba(129,140,248,0.18);
}
.cat-quota::before {
  content: '◈';
  font-size: 0.55rem;
  opacity: 0.7;
}

.cat-grid a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section { background: var(--bg2); text-align: center; }
.timeline-section .section-label { justify-content: center; }
.timeline-section .section-label::after { display: none; }
.sponsors-section .section-label::after { display: none; }
.timeline { margin-top: 60px; position: relative; padding-left: 0; display: flex; flex-direction: column; align-items: center; }
.timeline::before { display: none; }

.tl-item { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 40px 0; position: relative; gap: 0; margin: 0; }
.tl-item:nth-child(odd)  { flex-direction: row; }
.tl-item:nth-child(even) { flex-direction: row-reverse; }

/* ── Connector lines — accent tinted ── */
.tl-item:nth-child(odd)::before {
  content: ''; position: absolute; right: 50%; width: 50%; top: 50%; height: 50%;
  border-top: 2px solid rgba(0,136,255,0.35); border-left: 2px solid rgba(0,136,255,0.35);
  border-top-left-radius: 40px; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0,136,255,0.2));
}
.tl-item:nth-child(odd)::after {
  content: ''; position: absolute; left: 50%; width: 50%; top: 0; height: 50%;
  border-bottom: 2px solid rgba(0,136,255,0.35); border-right: 2px solid rgba(0,136,255,0.35);
  border-bottom-right-radius: 40px; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0,136,255,0.2));
}
.tl-item:nth-child(even)::before {
  content: ''; position: absolute; left: 50%; width: 50%; top: 50%; height: 50%;
  border-top: 2px solid rgba(0,136,255,0.35); border-right: 2px solid rgba(0,136,255,0.35);
  border-top-right-radius: 40px; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0,136,255,0.2));
}
.tl-item:nth-child(even)::after {
  content: ''; position: absolute; right: 50%; width: 50%; top: 0; height: 50%;
  border-bottom: 2px solid rgba(0,136,255,0.35); border-left: 2px solid rgba(0,136,255,0.35);
  border-bottom-left-radius: 40px; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0,136,255,0.2));
}
.tl-item:first-child::after { display: none; }
.tl-item:last-child::before { display: none; }

/* ── Content — Premium Glassmorphism Box ── */
.tl-content { 
  width: calc(50% - 60px); 
  background: linear-gradient(145deg, rgba(10, 16, 30, 0.7) 0%, rgba(4, 8, 20, 0.9) 100%); 
  border: 1px solid rgba(0,136,255,0.15);
  padding: 28px 36px;
  border-radius: 20px;
  z-index: 1; 
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  text-align: left !important;
}
.tl-item:nth-child(odd)  .tl-content { margin-right: 15px; }
.tl-item:nth-child(even) .tl-content { margin-left: 15px; }

.tl-item:hover .tl-content {
  transform: translateY(-6px);
  border-color: rgba(0,136,255,0.45);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(0,136,255,0.15);
}

/* ── Date Node (Dot) ── */
.tl-dot {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: auto; min-width: 72px; padding: 0 20px; height: 72px;
  border: 1px solid rgba(0,136,255,0.4);
  background: linear-gradient(135deg, rgba(0,136,255,0.15) 0%, rgba(0,85,255,0.05) 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; border-radius: 36px;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  text-align: center; line-height: 1.25; color: #fff;
  white-space: nowrap;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s, color 0.25s, transform 0.35s;
  box-shadow: 0 0 0 6px rgba(4,8,22,1), 0 0 20px rgba(0,136,255,0.2);
}
.tl-item:hover .tl-dot {
  border-color: rgba(0,136,255,0.7);
  background: linear-gradient(135deg, rgba(0,136,255,0.25) 0%, rgba(0,85,255,0.15) 100%);
  box-shadow: 0 0 0 6px rgba(4,8,22,1), 0 0 30px rgba(0,136,255,0.4);
  transform: translateX(-50%) scale(1.08);
}

/* ── Date label ── */
.tl-date {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
  color: #00d4ff; letter-spacing: 0.12em;
  margin-bottom: 12px; text-transform: uppercase;
  font-weight: 700;
}

/* ── Title ── */
.tl-title {
  font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 700;
  margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.4;
  color: #fff; transition: color 0.25s;
}

/* ── Status Description ── */
.tl-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; 
  color: rgba(150, 170, 200, 0.95); 
  line-height: 1.7; 
  display: block;
}

/* ============================================================
   RULES
   ============================================================ */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: transparent;
  margin-top: 50px;
}

.rule-card {
  background: linear-gradient(155deg, rgba(8,14,32,0.95) 0%, rgba(4,8,22,0.98) 100%);
  padding: 36px 32px;
  border: 1px solid rgba(0,136,255,0.1);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
  isolation: isolate;
}

/* Left accent bar */
.rule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,136,255,0.5) 25%, rgba(0,212,255,0.7) 50%, rgba(0,136,255,0.5) 75%, transparent 100%);
  opacity: 0;
  transition: opacity 0.38s ease;
}

/* Corner decorative element (watermark number offset) */
.rule-card::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,136,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.rule-card:hover {
  border-color: rgba(0,136,255,0.3);
  transform: translateY(-4px) translateX(2px);
  box-shadow: 0 14px 42px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,136,255,0.1), 0 0 28px rgba(0,136,255,0.06);
  background: linear-gradient(155deg, rgba(0,136,255,0.04) 0%, rgba(4,8,22,0.98) 100%);
}
.rule-card:hover::before { opacity: 1; }

/* Number watermark — large, translucent background digit */
.rule-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
  background: linear-gradient(135deg, #00d4ff 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.3s;
}
.rule-card:hover .rule-num {
  filter: drop-shadow(0 0 8px rgba(0,136,255,0.4));
}

.rule-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.25s;
}
.rule-card:hover .rule-title { color: #fff; }

.rule-desc  { color: rgba(107,127,168,0.88); font-size: 0.875rem; line-height: 1.7; }
.rule-desc strong { color: var(--text); font-weight: 600; }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-section { text-align: center; }
.sponsors-section .section-label { justify-content: center; }

/* ── Sponsor CTA Box ── */
.sponsor-cta-wrap {
  display: flex; justify-content: center; align-items: center;
  margin-top: 50px; padding: 0 20px;
}
.sponsor-cta-box {
  position: relative; max-width: 820px; width: 100%;
  padding: 56px 60px;
  background: linear-gradient(145deg, rgba(4,8,22,0.9) 0%, rgba(8,16,36,0.95) 100%);
  border: 1px solid rgba(0,136,255,0.25);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(0,212,255,0.15);
  text-align: center; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.sponsor-cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 3%, rgba(0,136,255,0.65) 28%, rgba(0,212,255,0.95) 55%, rgba(129,140,248,0.55) 80%, transparent 97%);
  border-radius: 24px 24px 0 0; pointer-events: none;
}
.sponsor-cta-box:hover {
  transform: translateY(-5px);
  border-color: rgba(0,136,255,0.5);
  box-shadow: 0 32px 70px rgba(0,0,0,0.6), inset 0 1px 0 rgba(0,212,255,0.25);
}
.cta-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,136,255,0.12) 0%, transparent 65%);
  z-index: -1; pointer-events: none;
}
.cta-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(0,136,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #00d4ff; box-shadow: 0 0 24px rgba(0,136,255,0.2);
  animation: iconFloat 4s ease-in-out infinite;
}
.cta-icon svg { width: 32px; height: 32px; }
.cta-text h3 {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 700;
  color: #fff; margin-bottom: 16px; letter-spacing: -0.01em;
}
.cta-text p {
  font-size: 1rem; color: rgba(107,127,168,0.9); line-height: 1.7;
  max-width: 640px; margin: 0 auto;
}
.cta-actions {
  display: flex; gap: 16px; margin-top: 16px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .sponsor-cta-box { padding: 40px 24px; }
  .cta-text h3 { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; justify-content: center; }
}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads-section { }
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid rgba(0,136,255,0.14);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(8,14,32,0.95) 0%, rgba(4,8,22,0.97) 100%);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Top accent strip */
.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.6) 35%, rgba(0,212,255,0.8) 60%, transparent 90%);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 14px 14px 0 0;
}

/* Background shimmer overlay */
.download-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,136,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.download-card:hover {
  border-color: rgba(0,136,255,0.38);
  transform: translateY(-4px);
  box-shadow: 0 14px 42px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,136,255,0.12), 0 0 30px rgba(0,136,255,0.07);
}
.download-card:hover::before { opacity: 1; }
.download-card:hover::after  { opacity: 1; }

.download-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,136,255,0.12) 0%, rgba(0,85,255,0.06) 100%);
  border: 1px solid rgba(0,136,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.download-card:hover .download-icon {
  background: linear-gradient(135deg, rgba(0,136,255,0.22) 0%, rgba(0,85,255,0.12) 100%);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 18px rgba(0,136,255,0.22);
  transform: scale(1.06);
}

.download-content { flex: 1; min-width: 0; }

.download-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,136,255,0.1);
  border: 1px solid rgba(0,136,255,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.download-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
  transition: color 0.25s;
}
.download-card:hover .download-title { color: #fff; }

.download-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,136,255,0.14) 0%, rgba(0,85,255,0.08) 100%);
  border: 1px solid rgba(0,136,255,0.32);
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(0,136,255,0.08);
  letter-spacing: 0.02em;
}
.download-btn:hover {
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  border-color: rgba(0,212,255,0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,136,255,0.3), 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .downloads-grid { grid-template-columns: 1fr; }
  .download-card { flex-wrap: wrap; gap: 16px; }
  .download-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg2); }

.contact-card {
  margin-top: 50px;
  border: 1px solid rgba(0,136,255,0.18);
  border-radius: 18px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(145deg, rgba(0,136,255,0.05) 0%, rgba(4,8,22,0.97) 40%, rgba(0,85,255,0.04) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,136,255,0.08), 0 24px 64px rgba(0,0,0,0.35);
}

/* Top decorative glow strip */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.6) 30%, rgba(0,212,255,0.85) 55%, rgba(129,140,248,0.5) 80%, transparent 95%);
  border-radius: 18px 18px 0 0;
}

/* Corner radial accent */
.contact-card::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,136,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.contact-card > * { position: relative; z-index: 1; }

.contact-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(232,238,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-role  { color: rgba(107,127,168,0.85); font-size: 0.85rem; margin-bottom: 24px; letter-spacing: 0.01em; }
.contact-links { display: flex; flex-direction: column; gap: 10px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  padding: 12px 16px;
  border: 1px solid rgba(0,136,255,0.1);
  border-radius: 10px;
  background: rgba(0,136,255,0.03);
  min-height: 46px;
}
.contact-link:hover, .contact-link:focus-visible {
  border-color: rgba(0,136,255,0.35);
  color: var(--accent);
  background: rgba(0,136,255,0.07);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 20px rgba(0,136,255,0.08);
  outline: none;
}
.contact-link .platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  min-width: 76px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.contact-link:hover .platform { opacity: 1; }

.contact-cta { text-align: center; }
.cta-big     { font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.cta-big em  {
  font-style: normal;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub     { color: rgba(107,127,168,0.9); font-size: 0.88rem; margin-bottom: 24px; line-height: 1.65; }
.cta-btn     { display: inline-flex; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid transparent;
  position: relative;
  padding: 36px var(--side-pad);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  background: linear-gradient(180deg, rgba(2,5,14,0.0) 0%, rgba(2,5,14,0.5) 100%);
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,136,255,0.2) 20%, rgba(0,212,255,0.38) 50%, rgba(0,136,255,0.2) 80%, transparent 100%);
  pointer-events: none;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(107,127,168,0.7); font-size: 0.82rem;
  text-decoration: none; transition: color 0.25s; padding: 6px 0; position: relative;
}
.footer-links a::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, rgba(0,136,255,0.7), rgba(0,212,255,0.9));
  transition: width 0.28s ease; border-radius: 1px;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); outline: none; }
.footer-links a:hover::after, .footer-links a:focus-visible::after { width: 100%; }
.footer-copy {
  color: rgba(107,127,168,0.5); font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.footer-copy::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(0,136,255,0.45); flex-shrink: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse  { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.concept-grid.visible .concept-card,
.cat-grid.visible .cat-card,
.rules-grid.visible .rule-card { animation: fadeUp 0.5s ease both; }
.concept-grid.visible .concept-card:nth-child(1), .cat-grid.visible .cat-card:nth-child(1), .rules-grid.visible .rule-card:nth-child(1) { animation-delay: 0.05s; }
.concept-grid.visible .concept-card:nth-child(2), .cat-grid.visible .cat-card:nth-child(2), .rules-grid.visible .rule-card:nth-child(2) { animation-delay: 0.14s; }
.concept-grid.visible .concept-card:nth-child(3), .cat-grid.visible .cat-card:nth-child(3), .rules-grid.visible .rule-card:nth-child(3) { animation-delay: 0.23s; }
.concept-grid.visible .concept-card:nth-child(4), .rules-grid.visible .rule-card:nth-child(4) { animation-delay: 0.32s; }

/* ============================================================
   TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --side-pad: 32px; }
  .concept-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { gap: 32px; }
}

/* ============================================================
   MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --side-pad: 20px; }

  /* Nav */
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-burger { display: flex; }
  .nav-logo   { font-size: 1.1rem; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 40px) var(--side-pad) 60px; min-height: auto; }
  .hero-bg-asset { width: 100%; align-items: flex-start; justify-content: center; opacity: 0.2; mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 75%); mix-blend-mode: screen; }
  .bg-agro-img { height: 100%; margin-top: 0; margin-right: 0; }
  .hero-badge { font-size: 0.65rem; padding: 5px 12px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 0.95; word-break: keep-all; }
  .hero-title .line2 { -webkit-text-stroke: 1px rgba(0,212,255,0.45); }
  .hero-sub { font-size: 0.92rem; margin-top: 18px; max-width: 100%; }
  .hero-tags { gap: 6px; margin-top: 18px; }
  .hero-tag { font-size: 0.72rem; padding: 4px 10px; }
  .hero-actions { margin-top: 28px; gap: 10px; }
  .btn-primary { width: 100%; justify-content: center; padding: 14px 24px; font-size: 0.85rem; }
  .btn-secondary { width: 100%; justify-content: center; padding: 12px 0; }

  /* Countdown */
  .countdown-section { padding-bottom: 50px; }
  .countdown-label { font-size: 0.65rem; margin-bottom: 10px; text-align: center; }
  .countdown-wrap { justify-content: center; gap: 4px; }
  .count-block { min-width: 72px; padding: 12px 10px; }
  .count-num { font-size: 1.8rem; }
  .count-sep { font-size: 1.6rem; padding-top: 8px; }
  .count-label { font-size: 0.6rem; }

  /* Sections */
  section { padding: 60px var(--side-pad); }
  .section-label { font-size: 0.65rem; margin-bottom: 10px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 1.8rem); }

  /* Concept */
  .concept-grid { margin-top: 36px; gap: 14px; }
  .concept-card { padding: 26px 20px; border-radius: 12px; }
  .icon-box { width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px; }
  .icon-modern { width: 22px; height: 22px; }
  .card-title { font-size: 1rem; }
  .card-desc { font-size: 0.85rem; }

  /* Categories */
  .cat-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .cat-card { padding: 32px 24px; border-radius: 14px; }
  .cat-title { font-size: 1.25rem; }
  .cat-desc { font-size: 0.86rem; }

  /* Timeline Mobile Fix */
  .timeline { align-items: flex-start; padding-left: 20px; margin-top: 36px; }
  .timeline::before { display: block; left: 45px; transform: none; width: 1px; }
  .tl-item::before, .tl-item::after { display: none !important; }
  .tl-item { flex-direction: row !important; padding: 20px 0; gap: 20px; align-items: flex-start; }
  .tl-content {
    width: 100%; text-align: left !important;
    padding: 18px 20px !important;
    background: linear-gradient(150deg, rgba(5,10,26,0.92) 0%, rgba(2,6,16,0.97) 100%);
    border: 1px solid rgba(0,136,255,0.12); border-radius: 12px;
  }
  .tl-dot { position: relative; left: 0; transform: none !important; animation: none !important; width: auto; min-width: 52px; height: 52px; font-size: 0.72rem; border-radius: 26px; padding: 0 14px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,0,0,0.5), 0 0 14px rgba(0,136,255,0.12); }
  .tl-item.active .tl-dot { box-shadow: 0 0 0 4px rgba(0,136,255,0.08), 0 0 22px rgba(0,136,255,0.38); }
  .tl-date { font-size: 0.65rem; }
  .tl-title { font-size: 0.95rem; margin-bottom: 4px; }
  .tl-status { font-size: 0.6rem; padding: 4px 10px; margin-top: 8px; }

  /* Sponsors Mobile */
  .sponsor-card.premium { padding: 44px 24px 48px; width: 100%; border-radius: 16px; }
  .sponsors-regular .sponsor-card { width: calc(50% - 10px); max-width: 100%; min-width: unset; padding: 20px 16px; border-radius: 12px; }

  /* Rules */
  .rules-grid { grid-template-columns: 1fr; margin-top: 36px; gap: 14px; }
  .rule-card { padding: 26px 22px; border-radius: 12px; }
  .rule-num { font-size: 2.2rem; }
  .rule-title { font-size: 0.95rem; }
  .rule-desc { font-size: 0.85rem; }

  /* Contact */
  .contact-card { grid-template-columns: 1fr; padding: 30px 24px; gap: 32px; border-radius: 14px; }
  .contact-name { font-size: 1.4rem; }
  .contact-role { font-size: 0.82rem; margin-bottom: 18px; }
  .contact-cta { text-align: left; }
  .cta-big { font-size: 1.5rem; }
  .cta-sub { font-size: 0.85rem; }
  .cta-btn { margin: 0; width: 100%; }
  .contact-link { font-size: 0.85rem; padding: 11px 14px; }
  .contact-link .platform { min-width: 68px; font-size: 0.65rem; }

  /* Footer */
  footer { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px var(--side-pad); }
  .footer-brand { font-size: 1rem; }
  .footer-links { gap: 16px; justify-content: center; }
  .footer-links a { font-size: 0.78rem; }
  .footer-copy { font-size: 0.72rem; }
}

/* ============================================================
   SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --side-pad: 16px; }

  /* Status bar */
  .status-bar { font-size: 0.6rem; padding: 0 12px; }
  .status-scroll { gap: 0; }

  /* Nav */
  nav { padding: 14px var(--side-pad); }
  nav.scrolled { padding: 10px var(--side-pad); }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 30px) var(--side-pad) 24px; }
  .hero-title { font-size: clamp(1.5rem, 8.5vw, 2rem); line-height: 1; word-break: keep-all; overflow-wrap: normal; }
  .hero-title .line2 { -webkit-text-stroke: 1px rgba(0,212,255,0.4); }
  .hero-badge { font-size: 0.6rem; padding: 4px 10px; letter-spacing: 0.08em; }
  .hero-sub { font-size: 0.88rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary { padding: 14px 20px; font-size: 0.82rem; }

  /* Countdown — kurangi gap dari hero (110px → ~44px) */
  .countdown-section { margin-top: 0; padding-top: 20px; }
  .count-block { min-width: 64px; padding: 10px 8px; }
  .count-num { font-size: 1.5rem; }
  .count-sep { font-size: 1.3rem; padding-top: 6px; }
  .count-label { font-size: 0.55rem; }

  /* Cards */
  .concept-card { padding: 22px 16px; border-radius: 10px; }
  .cat-card { padding: 26px 20px; border-radius: 12px; }
  .cat-badge { font-size: 0.58rem; padding: 4px 10px; }
  .cat-title { font-size: 1.15rem; margin-top: 4px; }

  /* Timeline */
  .timeline::before { left: 20px; }
  .tl-item { gap: 12px; padding: 18px 0; }
  .tl-dot { width: 56px; height: 56px; min-width: 56px; font-size: 0.7rem; }
  .tl-content { padding-top: 2px; }
  .tl-title { font-size: 0.9rem; }
  .tl-status { font-size: 0.6rem; }

  /* Rules */
  .rule-card { padding: 22px 18px; border-radius: 10px; }
  .rule-num { font-size: 2rem; }
  .rule-title { font-size: 0.9rem; }

  /* Contact */
  .contact-card { padding: 24px 18px; gap: 24px; border-radius: 12px; }
  .contact-name { font-size: 1.25rem; }
  .contact-link { padding: 10px; font-size: 0.82rem; gap: 10px; }
  .contact-link .platform { min-width: 62px; font-size: 0.6rem; }

  /* Section titles */
  .section-title { font-size: 1.45rem; }
  .section-label { font-size: 0.62rem; }

  /* Mobile nav — compact on small screens */
  .mobile-nav { padding: 4px 0 20px; }
  .mobile-nav a { font-size: 0.92rem; padding: 13px 18px; min-height: 48px; }
  .mobile-nav a:hover { padding-left: 24px; }
  .mobile-nav .mobile-cta { margin: 14px 18px 0; width: calc(100% - 36px); padding: 12px 20px; font-size: 0.88rem; min-height: 46px; }
}

/* ============================================================
   EXTRA SMALL (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
  :root { --side-pad: 12px; }

  .hero-title { font-size: 1.65rem; }
  .hero-sub { font-size: 0.82rem; }
  .hero-tag { font-size: 0.65rem; padding: 3px 8px; }

  .count-block { min-width: 56px; padding: 8px 6px; }
  .count-num { font-size: 1.3rem; }
  .count-sep { font-size: 1.1rem; padding-top: 4px; }

  .tl-dot { width: 52px; height: 52px; min-width: 52px; font-size: 0.65rem; }
  .timeline::before { left: 18px; }
  .tl-item { gap: 10px; }

  .concept-card, .cat-card, .rule-card { padding: 20px 14px; }
  .contact-card { padding: 20px 14px; }
}

/* ============================================================
   MOBILE FIXES — Nav Logo, Confirm Modal, File Upload
   ============================================================ */
@media (max-width: 768px) {
  /* Nav logo ukuran lebih kecil di mobile */
  .nav-logo-img { height: 36px; }
  .nav-logo-text { font-size: 0.88rem; }

  /* Footer logo */
  .footer-logo-img { height: 36px; }
  .footer-logo-text { font-size: 0.88rem; }

  /* File upload compact strip */
  .file-upload-wrap { gap: 8px; padding: 8px 10px; }
  .file-upload-meta .file-upload-hint { display: none; }
  .file-upload-name { font-size: 0.65rem; }

  /* Confirm modal full width di mobile */
  .confirm-modal { max-width: 100%; border-radius: 12px; }
  .confirm-header { padding: 18px 18px 14px; }
  .confirm-body { padding: 16px 18px; }
  .confirm-footer { padding: 14px 18px 18px; flex-direction: column; gap: 8px; }
  .confirm-btn-edit,
  .confirm-btn-send { width: 100%; text-align: center; justify-content: center; min-height: 46px; }
  .confirm-row { font-size: 0.78rem; }
  .confirm-key { min-width: 76px; }
  .confirm-member-block { padding: 8px 12px; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 30px; }
  .nav-logo-text { font-size: 0.82rem; }
  .nav-logo { gap: 6px; }

  /* Footer logo */
  .footer-logo-img { height: 30px; }
  .footer-logo-text { font-size: 0.82rem; }

  .confirm-overlay { padding: 12px; }
  .confirm-title { font-size: 1rem; }
  .confirm-section-label { font-size: 0.62rem; }
}

@media (max-width: 360px) {
  .nav-logo-img { height: 26px; }
  .nav-logo-text { font-size: 0.75rem; }

  /* Footer logo */
  .footer-logo-img { height: 26px; }
  .footer-logo-text { font-size: 0.75rem; }

  .confirm-header { padding: 14px 14px 12px; }
  .confirm-body { padding: 12px 14px; }
  .confirm-footer { padding: 12px 14px 16px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .status-scroll { animation: none; transform: none; }
  .mobile-nav    { transition: none; clip-path: inset(0 0 100% 0); }
  .mobile-nav.open { clip-path: inset(0 0 0% 0); }
}

/* ============================================================
   ============================================================
   REGISTRATION / MODAL STYLES
   ============================================================
   ============================================================ */

/* Modal Overlay */
/* ============================================================
   REGISTRATION OVERLAY & MODAL
   ============================================================ */
.reg-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(2, 6, 16, 0.95);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.reg-overlay.active { opacity: 1; pointer-events: all; }

/* Modal Box */
.reg-modal {
  background: linear-gradient(160deg, #07111e 0%, #040c16 60%, #05091a 100%);
  border: 1px solid rgba(0,136,255,0.25);
  border-radius: 16px;
  width: 100%; max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(32px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  box-shadow:
    0 0 0 1px rgba(0,180,255,0.08),
    0 0 80px rgba(0,136,255,0.10),
    0 32px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(0,212,255,0.08);
}
.reg-overlay.active .reg-modal { transform: translateY(0) scale(1); }
.reg-modal::-webkit-scrollbar { width: 4px; }
.reg-modal::-webkit-scrollbar-track { background: transparent; }
.reg-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Top glow strip */
.reg-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7) 30%, rgba(0,136,255,0.9) 50%, rgba(0,212,255,0.7) 70%, transparent);
  border-radius: 16px 16px 0 0;
  z-index: 2;
}

/* Corner circuit decorations */
.reg-modal::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,136,255,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Modal Header */
.reg-header {
  padding: 28px 36px 22px;
  border-bottom: 1px solid rgba(0,136,255,0.12);
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(5,12,24,0.98) 0%, rgba(4,9,18,0.97) 100%);
  backdrop-filter: blur(20px);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.reg-title {
  font-family: 'Syne', sans-serif; font-size: 1.55rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 6px;
  line-height: 1.1;
}
.reg-title span {
  color: transparent;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 55%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.reg-subtitle {
  font-family: 'JetBrains Mono', monospace; font-size: 0.64rem;
  color: rgba(0,212,255,0.65); text-transform: uppercase; letter-spacing: 0.18em;
  display: flex; align-items: center; gap: 8px;
}
.reg-subtitle::after {
  content: '';
  flex: 0 0 24px; height: 1px;
  background: linear-gradient(90deg, rgba(0,212,255,0.55), transparent);
}

.reg-close {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(0,136,255,0.2); color: var(--muted);
  width: 36px; height: 36px; border-radius: 8px;
  cursor: pointer; font-size: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; margin-top: 2px;
}
.reg-close:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,212,255,0.08); box-shadow: 0 0 12px rgba(0,212,255,0.2); }

/* Step Indicator */
.reg-steps {
  display: flex; align-items: center; gap: 0;
  padding: 18px 36px;
  border-bottom: 1px solid rgba(0,136,255,0.1);
  background: rgba(3,8,18,0.6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reg-steps::-webkit-scrollbar { display: none; }
.reg-step {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid rgba(0,136,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 700;
  color: rgba(107,127,168,0.7);
  transition: color 0.3s ease, border-color 0.3s ease,
              background 0.3s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  position: relative; z-index: 0; isolation: isolate;
  /* Outer ring track */
}
/* Faint track ring always present */
.step-num::before {
  content: '';
  position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid rgba(0,136,255,0.08);
  pointer-events: none;
}
/* Number text layer (fades out on done) */
.step-num-txt {
  position: relative; z-index: 1;
  transition: opacity 0.2s ease;
}

/* Injected SVG checkmark for done state */
.step-num .step-done-svg {
  position: absolute; z-index: 2;
  display: none;
}
.step-num .step-done-path {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  opacity: 0;
}

.step-label {
  font-family: 'Syne', sans-serif; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(107,127,168,0.6);
  transition: color 0.3s; white-space: nowrap;
}

/* ── Connector ────────────────────────────────── */
.step-connector {
  flex: 0 0 44px; height: 1.5px;
  background: rgba(0,136,255,0.1);
  margin: 0 4px; flex-shrink: 0;
  position: relative; overflow: hidden;
  border-radius: 2px;
  transition: background 0.4s, box-shadow 0.4s;
}
/* Flowing light on done */
.step-connector.done::after {
  content: '';
  position: absolute; top: 0; left: -60%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.9), transparent);
  animation: conn-flow 1.2s ease forwards;
}
@keyframes conn-flow {
  from { left: -60%; opacity: 1; }
  to   { left: 110%; opacity: 0.4; }
}

/* ── Active state ─────────────────────────────── */
.reg-step.active .step-num {
  border-color: var(--accent);
  background: rgba(0,136,255,0.1);
  color: var(--accent);
  box-shadow:
    0 0 0 4px rgba(0,212,255,0.07),
    0 0 18px rgba(0,212,255,0.28);
}
.reg-step.active .step-num::before {
  border-color: rgba(0,212,255,0.15);
}
.reg-step.active .step-label { color: var(--accent); }

/* ── Done state ───────────────────────────────── */
.reg-step.done .step-num {
  border-color: rgba(0,212,255,0.6);
  background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  box-shadow:
    0 0 0 3px rgba(0,212,255,0.12),
    0 0 14px rgba(0,212,255,0.45),
    0 0 28px rgba(0,136,255,0.18);
}
.reg-step.done .step-num::before {
  border-color: rgba(0,212,255,0.22);
  animation: step-done-ring 2s ease-out infinite;
}
/* Number stays visible on done */
.reg-step.done .step-num-txt  { opacity: 1; color: #fff; font-weight: 800; }
.reg-step.done .step-done-svg { display: none; }
.reg-step.done .step-label { color: rgba(0,212,255,0.75); }
.step-connector.done {
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  box-shadow: 0 0 6px rgba(0,136,255,0.45);
}

@keyframes step-done-ring {
  0%   { transform: scale(1);    opacity: 0.6; }
  60%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes step-check-draw {
  from { stroke-dashoffset: 18; opacity: 0; }
  to   { stroke-dashoffset: 0;  opacity: 1; }
}
@keyframes step-num-pop {
  0%   { transform: scale(0.7); }
  65%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Form Body */
.reg-body { padding: 28px 36px; }

/* Form step panels */
.reg-panel { display: none; animation: fadeUp 0.3s ease both; }
.reg-panel.active { display: block; }

/* Category Cards */
.cat-select-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px;
}
.cat-select-card {
  border: 1px solid rgba(0,136,255,0.15);
  border-radius: 14px;
  padding: 22px 20px;
  cursor: pointer;
  transition: border-color 0.32s ease, transform 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
  background: linear-gradient(150deg, rgba(4,10,26,0.95) 0%, rgba(2,6,16,0.98) 100%);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.cat-select-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.6) 30%, rgba(0,212,255,0.9) 55%, rgba(0,136,255,0.5) 80%, transparent 95%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  border-radius: 14px 14px 0 0;
}
.cat-select-card::after {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,136,255,0.08) 0%, transparent 65%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none; z-index: -1;
}
.cat-select-card:hover {
  border-color: rgba(0,136,255,0.35);
  background: linear-gradient(150deg, rgba(0,136,255,0.05) 0%, rgba(2,6,16,0.98) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,136,255,0.1);
}
.cat-select-card:hover::after { opacity: 1; }
.cat-select-card:hover::before { transform: scaleX(0.5); }
.cat-select-card.selected {
  border-color: rgba(0,136,255,0.55);
  background: linear-gradient(150deg, rgba(0,136,255,0.08) 0%, rgba(2,6,16,0.98) 100%);
  box-shadow: 0 0 0 1px rgba(0,212,255,0.18), 0 0 28px rgba(0,136,255,0.14), 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.cat-select-card.selected::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, transparent 3%, rgba(0,136,255,0.65) 28%, rgba(0,212,255,0.95) 55%, rgba(0,136,255,0.55) 80%, transparent 97%);
}
.cat-select-card.selected::after { opacity: 1; }
.cat-select-card.ext.selected {
  border-color: rgba(0,85,255,0.5);
  background: linear-gradient(150deg, rgba(0,85,255,0.07) 0%, rgba(2,6,16,0.98) 100%);
  box-shadow: 0 0 0 1px rgba(0,85,255,0.18), 0 0 28px rgba(0,85,255,0.12), 0 8px 32px rgba(0,0,0,0.35);
}
.cat-select-card.ext::before {
  background: linear-gradient(90deg, transparent 3%, rgba(129,140,248,0.55) 28%, rgba(0,136,255,0.85) 55%, rgba(129,140,248,0.45) 80%, transparent 97%);
}
.cat-select-card.ext::after {
  background: radial-gradient(circle, rgba(129,140,248,0.08) 0%, transparent 65%);
}
.cat-select-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.cat-card-badge {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 4px 11px; border-radius: 20px;
  background: rgba(0,136,255,0.1); color: #00d4ff;
  margin-bottom: 12px; border: 1px solid rgba(0,212,255,0.22);
  box-shadow: 0 0 10px rgba(0,136,255,0.1);
  transition: box-shadow 0.25s;
}
.cat-select-card.selected .cat-card-badge { box-shadow: 0 0 16px rgba(0,136,255,0.25); }
.cat-select-card.ext .cat-card-badge {
  background: rgba(129,140,248,0.1); color: var(--accent3);
  border-color: rgba(129,140,248,0.25);
}
.cat-card-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin-bottom: 7px; letter-spacing: 0.01em;
  color: var(--text); transition: color 0.25s;
}
.cat-select-card.selected .cat-card-title { color: #fff; }
.cat-card-desc { font-size: 0.78rem; color: rgba(107,127,168,0.85); line-height: 1.65; }
.cat-check {
  position: absolute; top: 14px; right: 14px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(0,136,255,0.2); background: rgba(255,255,255,0.02);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
  overflow: visible;
}
/* Dot shown in unchecked state */
.cat-check::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.08); transition: opacity 0.2s ease;
}
.cat-check::after { display: none; }

/* ── Selected state ─────────────────────────────────────── */
.cat-select-card.selected .cat-check {
  border-color: var(--accent);
  background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
  box-shadow:
    0 0 0 3px rgba(0,212,255,0.18),
    0 0 14px rgba(0,212,255,0.55),
    0 0 28px rgba(0,212,255,0.2);
  animation: cat-check-pop 0.38s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.cat-select-card.selected .cat-check::before { opacity: 0; }

/* Outer pulse ring */
.cat-select-card.selected .cat-check .cat-check-ring {
  animation: cat-ring-pulse 1.9s ease-out infinite;
}

/* SVG checkmark draw */
.cat-check .cat-check-svg {
  display: none; /* shown only when selected via JS injection */
  position: absolute;
}
.cat-select-card.selected .cat-check .cat-check-svg {
  display: block;
}
.cat-check .cat-check-path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  opacity: 0;
}
.cat-select-card.selected .cat-check .cat-check-path {
  animation: cat-check-draw 0.28s ease 0.12s forwards;
}

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes cat-check-pop {
  0%   { transform: scale(0.55); opacity: 0.5; }
  65%  { transform: scale(1.18); }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes cat-check-draw {
  from { stroke-dashoffset: 20; opacity: 0; }
  to   { stroke-dashoffset: 0;  opacity: 1; }
}
@keyframes cat-ring-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Form Fields */
/* ── Form section label: matches homepage .section-label ── */
.form-sec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; color: var(--accent);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 10px; margin-top: 32px;
  display: flex; align-items: center; gap: 8px;
  opacity: 0.9;
}
.form-sec-label::before { content: none; }
.form-sec-label::after {
  content: '';
  flex: 0 0 22px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.4;
}
.form-sec-label.no-top { margin-top: 0; }

.form-section-title {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800;
  color: var(--text); margin-bottom: 18px; margin-top: 8px;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,136,255,0.1);
  position: relative;
  letter-spacing: -0.01em;
}
.form-section-title em {
  font-style: normal;
  background: linear-gradient(135deg, #00d4ff 0%, #0088ff 55%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.form-section-title::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title .sec-num {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  padding: 3px 8px;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(0,136,255,0.06));
  border-radius: 3px;
  border: 1px solid rgba(0,212,255,0.22);
  background-clip: padding-box;
  color: #00d4ff;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.single { grid-template-columns: 1fr; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: rgba(107,127,168,0.85);
}
.form-label .req { color: var(--accent); margin-left: 2px; }

.form-input, .form-textarea, .form-select {
  background: rgba(4,8,20,0.8);
  border: 1px solid rgba(0,136,255,0.14);
  color: var(--text); padding: 10px 14px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%; min-height: 44px; outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(90,110,150,0.5); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  background: rgba(0,136,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,136,255,0.08), 0 0 0 1px rgba(0,212,255,0.15);
}
.form-input.error, .form-textarea.error, .form-select.error {
  border-color: rgba(255, 80, 80, 0.55);
  background: rgba(255, 80, 80, 0.04);
  box-shadow: 0 0 0 2px rgba(255,80,80,0.08);
}
.form-input.valid, .form-textarea.valid {
  border-color: rgba(0, 220, 140, 0.45) !important;
  background: rgba(0, 220, 140, 0.03);
}
.form-error {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  color: rgba(255,100,100,0.85); display: none;
}
.form-error.visible { display: block; }

.form-textarea { resize: vertical; min-height: 90px; line-height: 1.55; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7fa8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px; cursor: pointer;
}
.form-select option { background: #080f1e; }

/* Member Card */
.member-card {
  background: linear-gradient(150deg, rgba(5,10,24,0.95) 0%, rgba(2,6,16,0.98) 100%);
  border: 1px solid rgba(0,136,255,0.13);
  border-radius: 14px; padding: 22px 24px; margin-bottom: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
  isolation: isolate;
}
.member-card::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  border-radius: 14px 0 0 14px;
}
.member-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  pointer-events: none; z-index: -1; opacity: 0.5;
}
.member-card.ketua { border-color: rgba(0,136,255,0.2); }
.member-card.ketua::before {
  background: linear-gradient(180deg, rgba(0,212,255,0.9) 0%, rgba(0,136,255,0.5) 60%, transparent 100%);
}
.member-card.ketua::after {
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%);
}
.member-card.wakil { border-color: rgba(0,100,220,0.18); }
.member-card.wakil::before {
  background: linear-gradient(180deg, rgba(0,136,255,0.8) 0%, rgba(0,85,200,0.4) 60%, transparent 100%);
}
.member-card.wakil::after {
  background: radial-gradient(circle, rgba(0,136,255,0.06) 0%, transparent 65%);
}
.member-card.anggota { border-color: rgba(100,110,220,0.16); }
.member-card.anggota::before {
  background: linear-gradient(180deg, rgba(129,140,248,0.65) 0%, rgba(0,85,200,0.3) 60%, transparent 100%);
}
.member-card.anggota::after {
  background: radial-gradient(circle, rgba(129,140,248,0.05) 0%, transparent 65%);
}
.member-card.ketua:hover {
  border-color: rgba(0,212,255,0.35);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,136,255,0.1), 0 0 24px rgba(0,136,255,0.07);
}
.member-card.wakil:hover {
  border-color: rgba(0,136,255,0.32);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,100,220,0.1), 0 0 20px rgba(0,100,220,0.07);
}
.member-card.anggota:hover {
  border-color: rgba(129,140,248,0.28);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28), 0 0 0 1px rgba(129,140,248,0.08), 0 0 18px rgba(129,140,248,0.05);
}
.member-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.member-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  text-transform: uppercase; letter-spacing: 0.13em;
  padding: 4px 12px; border-radius: 20px;
  transition: box-shadow 0.25s;
}
.member-card.ketua .member-badge {
  background: rgba(0,136,255,0.1); color: #00d4ff;
  border: 1px solid rgba(0,212,255,0.25);
  box-shadow: 0 0 10px rgba(0,136,255,0.12);
}
.member-card.wakil .member-badge {
  background: rgba(0,100,220,0.1); color: rgba(0,180,255,0.9);
  border: 1px solid rgba(0,136,255,0.2);
  box-shadow: 0 0 10px rgba(0,100,220,0.1);
}
.member-card.anggota .member-badge {
  background: rgba(129,140,248,0.1); color: var(--accent3);
  border: 1px solid rgba(129,140,248,0.22);
  box-shadow: 0 0 10px rgba(129,140,248,0.08);
}

/* Helper text */
/* Custom File Upload */
.file-input-hidden { display: none; }
.file-upload-wrap {
  display: flex; flex-direction: row; align-items: center;
  gap: 12px; padding: 11px 14px 11px 12px;
  background: linear-gradient(140deg, rgba(4,10,26,0.95) 0%, rgba(2,6,16,0.98) 100%);
  border: 1px solid rgba(0,136,255,0.18);
  border-radius: 12px;
  transition: border-color 0.28s, background 0.28s, box-shadow 0.28s;
  cursor: default; position: relative; overflow: hidden; min-height: 0;
}
.file-upload-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.5) 35%, rgba(0,212,255,0.7) 60%, transparent 90%);
  opacity: 0; transition: opacity 0.28s; pointer-events: none;
}
.file-upload-wrap:hover {
  border-color: rgba(0,136,255,0.38);
  background: linear-gradient(140deg, rgba(0,136,255,0.04) 0%, rgba(2,6,16,0.98) 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 20px rgba(0,136,255,0.07);
}
.file-upload-wrap:hover::before { opacity: 1; }
.file-upload-wrap.drag-over {
  border-color: rgba(0,212,255,0.6) !important;
  background: rgba(0,136,255,0.06) !important;
  box-shadow: 0 0 24px rgba(0,136,255,0.18) !important;
}
.file-upload-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,136,255,0.1) 0%, rgba(0,85,255,0.05) 100%);
  border: 1px solid rgba(0,136,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: all 0.25s;
}
.file-upload-icon svg { width: 15px; height: 15px; }
.file-upload-wrap:hover .file-upload-icon {
  background: linear-gradient(135deg, rgba(0,136,255,0.18) 0%, rgba(0,85,255,0.1) 100%);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 14px rgba(0,136,255,0.2);
  transform: scale(1.05);
}
.file-upload-wrap.drag-over .file-upload-icon {
  transform: scale(1.08);
  border-color: rgba(0,212,255,0.55);
  box-shadow: 0 0 22px rgba(0,136,255,0.32);
}

/* Middle meta block */
.file-upload-meta {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

/* Hint text */
.file-upload-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; color: rgba(107,127,168,0.5);
  letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.1;
}

.file-upload-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: radial-gradient(ellipse at 40% 40%, rgba(0,170,255,0.13), rgba(0,80,255,0.09));
  border: 1px solid rgba(0,136,255,0.32);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 0 10px rgba(0,136,255,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}
.file-upload-btn svg { width: 11px; height: 11px; }
.file-upload-btn:hover {
  background: radial-gradient(ellipse at 40% 40%, #00bfff, #0055ee);
  color: #fff;
  border-color: rgba(0,180,255,0.4);
  box-shadow: 0 0 18px rgba(0,136,255,0.3), 0 3px 10px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.file-upload-name {
  font-size: 0.69rem;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(107,127,168,0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  display: block;
  transition: color 0.2s;
}
.file-upload-name.has-file { color: rgba(0,212,255,0.85); }

.form-helper {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  color: rgba(107,127,168,0.7); margin-top: 4px; line-height: 1.55; letter-spacing: 0.02em;
  overflow: hidden; text-overflow: ellipsis; white-space: normal;
  max-width: 100%;
}

/* Quota info */
.quota-info {
  background: linear-gradient(140deg, rgba(0,136,255,0.05) 0%, rgba(2,6,16,0.8) 100%);
  border: 1px solid rgba(0,136,255,0.16);
  border-left: 3px solid rgba(0,212,255,0.55);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 22px;
  display: flex; align-items: flex-start; gap: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(0,136,255,0.06);
  position: relative; overflow: hidden;
}
.quota-info::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 120px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,136,255,0.03));
  pointer-events: none;
}
.quota-info svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.quota-info-text { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; color: rgba(107,127,168,0.95); line-height: 1.65; letter-spacing: 0.01em; }
.quota-info-text strong { color: rgba(0,212,255,0.9); }

/* Agreement */
.form-agreement {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(150deg, rgba(4,10,26,0.95) 0%, rgba(2,6,16,0.98) 100%);
  border: 1px solid rgba(0,136,255,0.14);
  border-radius: 13px; cursor: pointer;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.form-agreement::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,136,255,0.4) 35%, rgba(0,212,255,0.55) 60%, transparent 90%);
  opacity: 0; transition: opacity 0.3s;
  border-radius: 13px 13px 0 0;
}
.form-agreement:hover {
  border-color: rgba(0,136,255,0.3);
  background: linear-gradient(150deg, rgba(0,136,255,0.04) 0%, rgba(2,6,16,0.98) 100%);
}
.form-agreement:hover::before { opacity: 1; }
.form-agreement:has(.custom-checkbox-input:checked) {
  border-color: rgba(0,212,255,0.32);
  background: linear-gradient(150deg, rgba(0,136,255,0.06) 0%, rgba(2,6,16,0.98) 100%);
  box-shadow: 0 0 24px rgba(0,136,255,0.1), 0 0 0 1px rgba(0,136,255,0.08);
}
.form-agreement:has(.custom-checkbox-input:checked)::before { opacity: 1; }

/* Sembunyikan checkbox asli */
.custom-checkbox-input { display: none; }

/* Label wrapper */
.custom-checkbox-label {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.83rem; color: var(--muted); line-height: 1.55; cursor: pointer;
  width: 100%;
}
.custom-checkbox-label strong { color: var(--text); }

/* Kotak checkbox custom */
.custom-checkbox-box {
  width: 22px; height: 22px; min-width: 22px;
  border: 1.5px solid rgba(0,136,255,0.28);
  border-radius: 6px;
  background: rgba(4,8,20,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.3s, transform 0.25s;
  margin-top: 1px;
  position: relative;
}
.custom-checkbox-label:hover .custom-checkbox-box {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,136,255,0.08);
}

/* Outer pulse ring */
.custom-checkbox-box::after {
  content: '';
  position: absolute; inset: -4px; border-radius: 9px;
  border: 1.5px solid rgba(0,212,255,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}

/* Animated SVG icon */
.custom-checkbox-icon {
  color: #fff;
  display: block;
}
.cb-path {
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  opacity: 0;
  transition: none;
}

/* Saat dicentang */
.custom-checkbox-input:checked + .custom-checkbox-label .custom-checkbox-box {
  background: radial-gradient(circle at 40% 40%, #00c8ff 0%, #0066ff 100%);
  border-color: rgba(0,180,255,0.35);
  box-shadow: 0 0 0 2.5px rgba(0,170,255,0.2), 0 0 14px rgba(0,180,255,0.45);
  animation: cb-pop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.custom-checkbox-input:checked + .custom-checkbox-label .custom-checkbox-box::after {
  animation: cb-ring 1.8s ease-out infinite;
}
.custom-checkbox-input:checked + .custom-checkbox-label .cb-path {
  animation: cb-draw 0.28s ease 0.1s forwards;
}

@keyframes cb-pop {
  0%   { transform: scale(0.7); }
  65%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes cb-draw {
  from { stroke-dashoffset: 16; opacity: 0; }
  to   { stroke-dashoffset: 0;  opacity: 1; }
}
@keyframes cb-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  65%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Confirmation Modal */
.confirm-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.confirm-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease both;
}
.confirm-modal {
  background: linear-gradient(155deg, rgba(6,12,28,0.98) 0%, rgba(3,8,20,0.99) 100%);
  border: 1px solid rgba(0,136,255,0.24);
  border-radius: 18px;
  width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto;
  animation: fadeUp 0.25s ease both;
  box-shadow: 0 0 0 1px rgba(0,136,255,0.08), 0 32px 80px rgba(0,0,0,0.55);
  position: relative;
}
.confirm-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 3%, rgba(0,136,255,0.65) 30%, rgba(0,212,255,0.9) 55%, rgba(129,140,248,0.5) 80%, transparent 97%);
  border-radius: 18px 18px 0 0;
}
.confirm-header {
  padding: 26px 26px 18px;
  border-bottom: 1px solid rgba(0,136,255,0.1);
}
.confirm-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text) 0%, rgba(232,238,255,0.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.confirm-sub {
  font-size: 0.73rem; color: rgba(107,127,168,0.85); margin-top: 6px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.03em;
}
.confirm-body { padding: 22px 26px; }
.confirm-section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  color: rgba(0,212,255,0.7); letter-spacing: 0.16em; margin-bottom: 10px; text-transform: uppercase;
}
.confirm-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(0,136,255,0.06); font-size: 0.82rem;
}
.confirm-key { color: var(--muted); flex-shrink: 0; min-width: 90px; }
.confirm-val { color: var(--text); text-align: right; word-break: break-all; }
.confirm-member-block {
  background: linear-gradient(150deg, rgba(4,10,26,0.95) 0%, rgba(2,6,16,0.98) 100%);
  border: 1px solid rgba(0,136,255,0.12);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 8px;
  position: relative; overflow: hidden;
}
.confirm-member-block::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 2.5px;
  background: linear-gradient(180deg, rgba(0,212,255,0.7) 0%, rgba(0,136,255,0.3) 100%);
  border-radius: 10px 0 0 10px;
}
.confirm-member-title {
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  color: var(--accent); margin-bottom: 6px;
}
.confirm-footer {
  padding: 18px 26px 26px; display: flex; gap: 10px;
  justify-content: flex-end; border-top: 1px solid rgba(0,136,255,0.1);
}
.confirm-btn-edit {
  background: transparent;
  border: 1px solid rgba(0,136,255,0.22); color: var(--muted);
  padding: 10px 20px; border-radius: 9px;
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.22s;
}
.confirm-btn-edit:hover {
  border-color: rgba(0,212,255,0.45); color: var(--accent);
  background: rgba(0,136,255,0.06); transform: translateX(-2px);
}
.confirm-btn-send {
  background: linear-gradient(135deg, #00b4ff, #0055ff);
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 0 20px rgba(0,136,255,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.confirm-btn-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Footer buttons */
.reg-footer {
  padding: 18px 36px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(0,136,255,0.1);
  position: sticky; bottom: 0;
  background: linear-gradient(180deg, rgba(4,9,18,0.92), rgba(4,9,18,0.98));
  backdrop-filter: blur(12px);
}
.reg-footer-left { font-family: 'JetBrains Mono', monospace; font-size: 0.63rem; color: rgba(0,212,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; }
.reg-footer-right { display: flex; gap: 10px; align-items: center; }

.btn-reg-back {
  border: 1px solid rgba(0,136,255,0.18); background: rgba(255,255,255,0.02); color: var(--muted);
  padding: 10px 20px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: 'Syne', sans-serif;
  min-height: 42px; display: inline-flex; align-items: center; gap: 6px;
  touch-action: manipulation;
}
.btn-reg-back:hover { border-color: rgba(0,212,255,0.4); color: var(--text); background: rgba(0,136,255,0.06); }

.btn-reg-next {
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  color: #fff; padding: 10px 26px;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s; font-family: 'Syne', sans-serif;
  border: none; min-height: 42px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 0 20px rgba(0,136,255,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
  letter-spacing: 0.03em;
  touch-action: manipulation;
}
.btn-reg-next:active { transform: translateY(0); }
.btn-reg-next:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-reg-submit {
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  color: #fff; padding: 10px 26px;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s; font-family: 'Syne', sans-serif;
  border: none; min-height: 42px; display: none; align-items: center; gap: 8px;
  box-shadow: 0 0 20px rgba(0,136,255,0.2), inset 0 1px 0 rgba(255,255,255,0.18);
  letter-spacing: 0.03em;
  touch-action: manipulation;
}
.btn-reg-submit.visible { display: inline-flex; }

/* Loading spinner */
.btn-spinner {
  width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: none;
}
.btn-reg-submit.loading .btn-spinner { display: block; }
.btn-reg-submit.loading .btn-submit-text { display: none; }
.btn-reg-submit.loading { pointer-events: none; opacity: 0.8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success Panel */
.reg-success {
  padding: 52px 36px; text-align: center; display: none;
}
.reg-success.active { display: block; animation: fadeUp 0.5s ease both; }
.success-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,136,255,0.12) 0%, rgba(0,85,255,0.06) 100%);
  border: 1.5px solid rgba(0,212,255,0.4);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 28px;
  animation: successPop 0.6s 0.1s cubic-bezier(0.4,0,0.2,1) both;
  box-shadow: 0 0 0 10px rgba(0,136,255,0.04), 0 0 48px rgba(0,136,255,0.22), inset 0 1px 0 rgba(0,212,255,0.12);
}
@keyframes successPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-icon svg { color: #00d4ff; filter: drop-shadow(0 0 8px rgba(0,212,255,0.6)); }
.success-title {
  font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.success-title span {
  color: transparent;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  -webkit-background-clip: text; background-clip: text;
}
.success-sub { color: rgba(107,127,168,0.9); font-size: 0.88rem; line-height: 1.7; margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
.success-code {
  background: linear-gradient(135deg, rgba(0,136,255,0.07) 0%, rgba(0,85,255,0.04) 100%);
  border: 1px solid rgba(0,136,255,0.28);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
  color: #00d4ff; letter-spacing: 0.2em;
  box-shadow: 0 0 28px rgba(0,136,255,0.12), inset 0 1px 0 rgba(0,212,255,0.08);
  position: relative; overflow: hidden;
}
.success-code::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,212,255,0.7) 40%, rgba(0,136,255,0.8) 60%, transparent 90%);
  border-radius: 10px 10px 0 0;
}
.success-info {
  background: linear-gradient(150deg, rgba(4,10,26,0.95) 0%, rgba(2,6,16,0.98) 100%);
  border: 1px solid rgba(0,136,255,0.14);
  border-radius: 12px; padding: 20px 22px; margin-bottom: 24px; text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(0,136,255,0.05);
  position: relative; overflow: hidden;
}
.success-info::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 2.5px;
  background: linear-gradient(180deg, rgba(0,212,255,0.7) 0%, rgba(0,136,255,0.4) 50%, transparent 100%);
  border-radius: 12px 0 0 12px;
}
.success-info-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(0,136,255,0.07); align-items: baseline; }
.success-info-row:last-child { border-bottom: none; }
.success-info-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: rgba(107,127,168,0.7); text-transform: uppercase; letter-spacing: 0.12em; min-width: 100px; }
.success-info-val { font-size: 0.86rem; color: var(--text); font-weight: 500; }
.success-next-steps {
  text-align: left; margin-bottom: 28px;
  background: linear-gradient(150deg, rgba(4,10,26,0.9) 0%, rgba(2,6,16,0.95) 100%);
  border: 1px solid rgba(0,136,255,0.1);
  border-radius: 12px; padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.success-next-title {
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  color: rgba(0,212,255,0.6); text-transform: uppercase;
  letter-spacing: 0.18em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.success-next-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(0,136,255,0.25), transparent);
}
.success-step { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(0,136,255,0.07); }
.success-step:last-child { border-bottom: none; padding-bottom: 0; }
.success-step-num {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,136,255,0.15) 0%, rgba(0,85,255,0.08) 100%);
  border: 1px solid rgba(0,136,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
  color: var(--accent); flex-shrink: 0; margin-top: 1px;
  box-shadow: 0 0 10px rgba(0,136,255,0.15);
}
.success-step-text { font-size: 0.84rem; color: rgba(107,127,168,0.9); line-height: 1.65; }
.success-step-text strong { color: var(--text); font-weight: 600; }

.btn-reg-close {
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  color: #fff; padding: 13px 36px;
  border-radius: 9px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: all 0.25s; font-family: 'Syne', sans-serif;
  border: none; min-height: 46px; display: inline-flex; align-items: center;
  box-shadow: 0 0 32px rgba(0,136,255,0.32), inset 0 1px 0 rgba(255,255,255,0.22);
  letter-spacing: 0.04em; touch-action: manipulation;
}
.btn-reg-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,136,255,0.45), 0 8px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Divider line in member cards */
.member-divider { height: 1px; background: rgba(0,136,255,0.08); margin: 16px 0; }

/* ============================================================
   REGISTRATION PAGE SPECIFIC (daftar.html)
   ============================================================ */
body.reg-page {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
body.reg-page .reg-overlay {
  position: static;
  opacity: 1;
  pointer-events: all;
  background: transparent;
  padding: 40px 20px;
  width: 100%;
  display: flex;
}
body.reg-page .reg-modal {
  transform: none !important;
  max-height: none;
  margin: 0 auto;
}
body.reg-page .reg-close { display: none !important; }

.nav-logo-wrap {
  position: absolute;
  top: 24px;
  left: 24px;
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE: Registration & Modal (max-width: 680px)
   ============================================================ */
@media (max-width: 680px) {
  .reg-modal { max-height: 95vh; border-radius: 12px; }
  .reg-header { padding: 20px 22px 16px; }
  .reg-body { padding: 20px 22px; }
  .reg-steps { padding: 14px 22px; }
  .reg-footer { padding: 16px 22px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.triple { grid-template-columns: 1fr; }
  .cat-select-grid { grid-template-columns: 1fr; }
  .reg-title { font-size: 1.25rem; }
  .reg-subtitle { font-size: 0.62rem; }
  .success-info-row { flex-direction: column; gap: 4px; }
  .reg-success { padding: 32px 20px; }
  .success-title { font-size: 1.35rem; }
  .success-sub { font-size: 0.85rem; }
  .success-icon { width: 64px; height: 64px; }
  .success-code { font-size: 0.7rem; padding: 12px 14px; }
  .member-card { padding: 16px 18px; }
  .member-card-header { margin-bottom: 14px; }
  .form-section-title { font-size: 0.88rem; margin-top: 6px; margin-bottom: 14px; }
  .form-sec-label { font-size: 0.56rem; margin-top: 24px; }
  .quota-info { padding: 12px; gap: 10px; }
  .quota-info-text { font-size: 0.65rem; }
  .form-agreement { padding: 12px; gap: 8px; }
  .form-agreement label { font-size: 0.78rem; }

  /* Registration page */
  body.reg-page { justify-content: flex-start; padding-top: 60px; }
  body.reg-page .reg-overlay { padding: 16px; padding-top: 0; }
  .nav-logo-wrap { position: relative; top: 0; left: 0; margin-bottom: 16px; align-self: flex-start; margin-left: 16px; }
}

/* ============================================================
   RESPONSIVE: Registration (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .reg-modal { max-height: 98vh; border-radius: 10px; }
  .reg-header { padding: 18px 16px 14px; }
  .reg-body { padding: 18px 16px; }
  .reg-steps { padding: 12px 16px; gap: 0; }
  .step-connector { width: 22px; }
  .reg-footer { padding: 14px 16px 18px; flex-direction: column; gap: 10px; }
  .reg-footer-left { font-size: 0.6rem; text-align: center; }
  .reg-footer-right { width: 100%; }
  .btn-reg-next, .btn-reg-back, .btn-reg-submit { width: 100%; justify-content: center; min-height: 48px; }
  .reg-title { font-size: 1.15rem; }
  .cat-select-card { padding: 16px; }
  .cat-card-title { font-size: 0.9rem; }
  .cat-card-desc { font-size: 0.72rem; }
  .form-input, .form-textarea, .form-select { padding: 12px 14px; font-size: 16px; min-height: 48px; }
  .form-label { font-size: 0.62rem; }
  .member-badge { font-size: 0.55rem; }
  .form-error { font-size: 0.6rem; }
  .success-title { font-size: 1.2rem; }
  .success-sub { font-size: 0.8rem; }
  .btn-reg-close { width: 100%; justify-content: center; }
  .btn-back-fixed {top: 14px; left: 14px; padding: 7px 11px 7px 9px; font-size: 0.78rem;}

  body.reg-page { padding-top: 50px; }
  body.reg-page .reg-overlay { padding: 12px; }
  .nav-logo-wrap { margin-left: 12px; margin-bottom: 12px; }
}

/* ============================================================
   RESPONSIVE: Registration (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
  .reg-header { padding: 16px 12px 12px; }
  .reg-body { padding: 16px 12px; }
  .reg-steps { padding: 10px 12px; }
  .reg-footer { padding: 12px 12px 16px; }
  .step-label { font-size: 0.58rem; }
  .step-num { width: 24px; height: 24px; font-size: 0.62rem; }
  .cat-select-card { padding: 14px; }
  .member-card { padding: 14px 14px; }
  .form-input, .form-textarea, .form-select { padding: 10px 12px; font-size: 16px; }
}

/* ============================================================
   MOBILE FIXES — Confirm Modal (daftar.html)
   ============================================================ */
@media (max-width: 480px) {
  .confirm-btn-edit,
  .confirm-btn-send { font-size: 0.78rem; padding: 10px 16px; }
  .confirm-val { font-size: 0.75rem; }
  .confirm-key { font-size: 0.75rem; min-width: 70px; }
  .file-upload-wrap { gap: 8px; padding: 8px 10px; }
  .file-upload-btn { padding: 5px 10px; font-size: 0.68rem; }
}

@media (max-width: 360px) {
  .confirm-modal { border-radius: 8px; }
  .confirm-row { gap: 8px; }
}

.qris-block {
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, rgba(6,182,212,0.03) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow pulse */
.qris-block::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: qrisGlowPulse 4s ease-in-out infinite;
}

@keyframes qrisGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* ── Inner row: QR + info ── */
.qris-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* ── QR Wrap (column) ── */
.qris-qr-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ── Styled Frame around the QR ── */
.qris-frame-outer {
  position: relative;
  width: 168px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.35),
    0 0 16px rgba(0, 212, 255, 0.2),
    0 0 40px rgba(0, 212, 255, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Animated gradient border ring */
.qris-frame-outer::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg,
    #00d4ff 0%,
    #06b6d4 25%,
    #0891b2 50%,
    #00d4ff 75%,
    #38bdf8 100%
  );
  background-size: 300% 300%;
  animation: qrisBorderSpin 4s linear infinite;
  z-index: -1;
}

@keyframes qrisBorderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Corner accent brackets */
.qris-frame-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: #00d4ff;
  border-style: solid;
  z-index: 2;
}
.qris-fc-tl { top: 6px;  left: 6px;  border-width: 2.5px 0 0 2.5px; border-radius: 3px 0 0 0; }
.qris-fc-tr { top: 6px;  right: 6px; border-width: 2.5px 2.5px 0 0; border-radius: 0 3px 0 0; }
.qris-fc-bl { bottom: 6px; left: 6px;  border-width: 0 0 2.5px 2.5px; border-radius: 0 0 0 3px; }
.qris-fc-br { bottom: 6px; right: 6px; border-width: 0 2.5px 2.5px 0; border-radius: 0 0 3px 0; }

/* QRIS badge pill at top */
.qris-frame-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, #0891b2, #00d4ff);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.35);
}
.qris-frame-badge svg { color: #fff; opacity: 0.9; }

/* The actual QR image — keep black/white, just size it */
.qris-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  /* NO color filters — keeps QR scannable */
}

/* Bottom strip */
.qris-frame-bottom {
  margin-top: 6px;
  width: 100%;
  background: linear-gradient(90deg, #0891b2, #00d4ff);
  border-radius: 0 0 4px 4px;
  padding: 4px 0;
  text-align: center;
}
.qris-frame-label {
  font-family: 'Syne', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

/* Scan hint below frame */
.qris-scan-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(0, 212, 255, 0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: qrisScanPulse 2.5s ease-in-out infinite;
}
.qris-scan-hint svg { color: rgba(0, 212, 255, 0.75); }

@keyframes qrisScanPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── Info column ── */
.qris-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qris-owner-label,
.qris-amount-label,
.qris-steps-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.4);
  margin-top: 12px;
}
.qris-owner-label { margin-top: 0; }

.qris-owner-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(90deg, #00d4ff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
}

.qris-amount-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(224, 231, 255, 0.75);
}

.qris-steps-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: qris-step;
}

.qris-steps-list li {
  counter-increment: qris-step;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(224, 231, 255, 0.7);
  line-height: 1.45;
}

.qris-steps-list li::before {
  content: counter(qris-step);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #00d4ff;
  line-height: 1;
}

/* ── Alert boxes ── */
.qris-label-alert,
.qris-photo-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.qris-label-alert {
  background: rgba(6, 182, 212, 0.07);
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: rgba(224, 231, 255, 0.82);
}
.qris-label-alert svg { color: #06b6d4; flex-shrink: 0; margin-top: 2px; }

.qris-photo-alert {
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: rgba(224, 231, 255, 0.82);
}
.qris-photo-alert svg { color: #fbbf24; flex-shrink: 0; margin-top: 2px; }

.qris-label-alert strong,
.qris-photo-alert strong { color: #e0e7ff; }

/* ── Mobile ── */
@media (max-width: 540px) {
  .qris-inner {
    flex-direction: column;
    align-items: center;
  }
  .qris-frame-outer {
    width: 200px;
    padding: 12px;
  }
  .qris-img {
    width: 168px;
    height: 168px;
  }
  .qris-info-col { width: 100%; }
  .qris-owner-label { margin-top: 0; }
}
/* ============================================================
   REGISTRATION VISUAL ENHANCEMENTS — IGITA 2026
   Improved: hovers, focus rings, card lifts, button shimmer,
   step pulse, member card accent, typography upgrades
   ============================================================ */

/* ── Category Cards: lift + glow on hover & selection ── */
.cat-select-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-select-card:hover {
  border-color: rgba(0,212,255,0.5) !important;
  background: rgba(0,212,255,0.05) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,212,255,0.12), 0 2px 8px rgba(0,0,0,0.3);
}
.cat-select-card:hover::before {
  transform: scaleX(0.5);
  opacity: 0.55;
}
.cat-select-card.selected {
  box-shadow: 0 0 0 1px var(--accent), 0 8px 28px rgba(0,212,255,0.18);
  transform: translateY(-1px);
}
.cat-card-title {
  transition: color 0.25s;
  font-size: 1rem;
}
.cat-select-card.selected .cat-card-title { color: var(--accent); }

/* ── Active Step: spinning arc (defined in daftar.html) ── */
.reg-step.done .step-num {
  animation: none;
}

/* ── Form Inputs: stronger focus ring + fill tint ── */
.form-input, .form-textarea, .form-select {
  transition: border-color 0.2s, box-shadow 0.25s, background 0.25s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.14), 0 2px 12px rgba(0,212,255,0.07);
  background: rgba(0,212,255,0.03);
}
.form-input:not(:placeholder-shown):not(.error):not(:focus),
.form-textarea:not(:placeholder-shown):not(.error):not(:focus) {
  border-color: rgba(0,212,255,0.22);
}

/* ── Member Cards: inset left-bar accent on hover ── */
.member-card {
  transition: border-color 0.25s, box-shadow 0.28s, background 0.25s;
  box-shadow: inset 3px 0 0 transparent;
}
.member-card:hover {
  border-color: rgba(0,212,255,0.28);
  box-shadow: inset 3px 0 0 var(--accent), 0 6px 22px rgba(0,0,0,0.28);
  background: rgba(0,212,255,0.025);
}

/* ── Buttons: shimmer sweep on hover ── */
.btn-reg-next,
.btn-reg-submit,
.btn-reg-close,
.confirm-btn-send {
  position: relative;
  overflow: hidden;
}
.btn-reg-next::after,
.btn-reg-submit::after,
.btn-reg-close::after,
.confirm-btn-send::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-150%);
  transition: transform 0.5s ease;
  pointer-events: none;
}
.btn-reg-next:hover::after,
.btn-reg-submit:hover::after,
.btn-reg-close:hover::after,
.confirm-btn-send:hover::after {
  transform: translateX(150%);
}
.btn-reg-next:hover,
.btn-reg-submit:hover {
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15), inset 0 1px 0 rgba(255,255,255,0.22);
  color: #fff;
}
.btn-reg-close:hover {
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15), inset 0 1px 0 rgba(255,255,255,0.22);
}
/* ── File Upload: drag-over state ── */
.file-upload-wrap.drag-over {
  border-color: var(--accent) !important;
  background: rgba(0,212,255,0.05) !important;
  box-shadow: 0 0 20px rgba(0,136,255,0.15) !important;
}
.file-upload-wrap.drag-over .file-upload-icon {
  transform: scale(1.07);
  border-color: rgba(0,212,255,0.55);
  box-shadow: 0 0 22px rgba(0,136,255,0.3);
}

/* ── Agreement block ── */
.form-agreement {
  transition: border-color 0.25s, background 0.25s;
}
.form-agreement:hover {
  border-color: rgba(0,212,255,0.28);
  background: rgba(0,212,255,0.035);
}
.custom-checkbox-label:hover .custom-checkbox-box {
  border-color: rgba(0,212,255,0.6);
  background: rgba(0,212,255,0.1);
}




/* ── Modal: deeper shadow + top glow edge ── */
.reg-modal {
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.12),
    0 32px 80px rgba(0,0,0,0.65),
    0 0 140px rgba(0,212,255,0.04);
}

/* Top accent line on modal */
.reg-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 35%, rgba(0,212,255,0.4) 65%, transparent 95%);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
  z-index: 11;
}

/* ── Quota info: hover tint ── */
.quota-info {
  transition: border-color 0.25s, background 0.25s;
}
.quota-info:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.07);
}

/* ── Back fixed button: slide-left on hover ── */
.btn-back-fixed {
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.btn-back-fixed:hover {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.09);
  color: var(--accent);
  transform: translateX(-2px);
  box-shadow: 0 0 16px rgba(0,212,255,0.2);
}

/* ── Success icon: breathing glow ── */
@keyframes successBreath {
  0%, 100% { box-shadow: 0 0 0 8px rgba(0,212,255,0.06), 0 0 40px rgba(0,212,255,0.14); }
  50%       { box-shadow: 0 0 0 14px rgba(0,212,255,0.1), 0 0 64px rgba(0,212,255,0.26); }
}
.reg-success.active .success-icon {
  animation:
    successPop 0.6s 0.1s cubic-bezier(0.4,0,0.2,1) both,
    successBreath 2.8s 0.8s ease-in-out infinite;
}

/* ── Confirm send button: hover glow ── */
.confirm-btn-send:hover {
  background: linear-gradient(135deg, #00ccff 0%, #0066ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15), inset 0 1px 0 rgba(255,255,255,0.22);
  color: #fff;
}

/* ── Member badge: pill upgrade ── */
.member-badge {
  border-radius: 4px;
  border: 1px solid rgba(0,212,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.member-card:hover .member-badge {
  background: rgba(0,212,255,0.16);
  border-color: rgba(0,212,255,0.35);
}

/* ============================================================
   QRIS FRAME — DARK THEME RESTYLE
   QR image keeps its own white bg for scan accuracy;
   the outer frame, badge, and strip all match the site palette.
   ============================================================ */

/* Frame outer: dark bg matching the modal card */
.qris-frame-outer {
  background: var(--bg3);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.3),
    0 0 20px rgba(0, 212, 255, 0.12),
    0 0 50px rgba(0, 212, 255, 0.05),
    0 6px 24px rgba(0, 0, 0, 0.5);
}

/* Animated gradient border stays but slightly dimmer on dark bg */
.qris-frame-outer::before {
  background: linear-gradient(135deg,
    rgba(0,212,255,0.9)  0%,
    rgba(6,182,212,0.6) 25%,
    rgba(8,145,178,0.4) 50%,
    rgba(0,212,255,0.9) 75%,
    rgba(56,189,248,0.7) 100%
  );
  background-size: 300% 300%;
  animation: qrisBorderSpin 4s linear infinite;
}

/* Corner accents: keep cyan */
.qris-frame-corner { border-color: rgba(0, 212, 255, 0.8); }

/* Badge: dark bg with cyan text (was sitting on white) */
.qris-frame-badge {
  background: linear-gradient(90deg, rgba(0,212,255,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: #00d4ff;
  box-shadow: none;
}
.qris-frame-badge svg { color: #00d4ff; opacity: 1; }

/* QR image: isolated white background — REQUIRED for scanning */
.qris-img {
  background: #ffffff;
  border-radius: 6px;
  padding: 6px;
  display: block;
}

/* Bottom strip: dark with cyan gradient text strip */
.qris-frame-bottom {
  background: linear-gradient(90deg, rgba(0,212,255,0.18), rgba(6,182,212,0.12));
  border-top: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 0 0 6px 6px;
}

.qris-frame-label {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  letter-spacing: 0.2em;
}

/* ── Info column: slightly brighter owner name ── */
.qris-owner-name {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.qris-amount-val {
  font-size: 14px;
  font-weight: 600;
  color: rgba(224, 231, 255, 0.9);
}

/* ── Alert boxes: slightly more visible borders ── */
.qris-label-alert {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.25);
}

.qris-photo-alert {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.28);
}

/* Mobile: keep white bg on img */
@media (max-width: 540px) {
  .qris-img {
    padding: 8px;
    background: #ffffff;
    border-radius: 6px;
  }
  .qris-frame-outer {
    width: 200px;
    padding: 12px;
    background: var(--bg3);
  }
}

/* ============================================================
   QRIS — RETHEME: CYAN → BLUE (konsisten dengan --accent)
   Semua rgba(0,212,255,...) dan #00d4ff diganti ke #0088ff
   ============================================================ */

.qris-block {
  background: linear-gradient(135deg, rgba(0,136,255,0.05) 0%, rgba(0,85,255,0.03) 100%);
  border-color: rgba(0, 136, 255, 0.2);
}

.qris-block::before {
  background: radial-gradient(circle, rgba(0,136,255,0.1) 0%, transparent 70%);
}

/* Frame border ring: blue gradient */
.qris-frame-outer {
  background: var(--bg3);
  box-shadow:
    0 0 0 1px rgba(0, 136, 255, 0.3),
    0 0 20px rgba(0, 136, 255, 0.12),
    0 0 50px rgba(0, 136, 255, 0.05),
    0 6px 24px rgba(0, 0, 0, 0.5);
}

.qris-frame-outer::before {
  background: linear-gradient(135deg,
    #0088ff 0%,
    #0055ff 25%,
    #003ecc 50%,
    #0088ff 75%,
    #60a5fa 100%
  );
  background-size: 300% 300%;
  animation: qrisBorderSpin 4s linear infinite;
}

/* Corner brackets: blue */
.qris-frame-corner { border-color: rgba(0, 136, 255, 0.85); }

/* Badge: blue tones */
.qris-frame-badge {
  background: linear-gradient(90deg, rgba(0,136,255,0.18), rgba(0,85,255,0.12));
  border: 1px solid rgba(0, 136, 255, 0.4);
  color: #0088ff;
  box-shadow: none;
}
.qris-frame-badge svg { color: #0088ff; opacity: 1; }

/* QR image: must stay white for scanning */
.qris-img {
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
}

/* Bottom strip: blue */
.qris-frame-bottom {
  background: linear-gradient(90deg, rgba(0,85,255,0.25), rgba(0,136,255,0.18));
  border-top: 1px solid rgba(0, 136, 255, 0.3);
  border-radius: 0 0 6px 6px;
}
.qris-frame-label {
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
}

/* Scan hint: blue */
.qris-scan-hint       { color: rgba(0, 136, 255, 0.8); }
.qris-scan-hint svg   { color: rgba(0, 136, 255, 0.8); }

/* Owner name gradient: blue */
.qris-owner-name {
  background: linear-gradient(90deg, #0088ff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Step number bullets: blue */
.qris-steps-list li::before {
  background: linear-gradient(135deg, rgba(0,136,255,0.2), rgba(0,85,255,0.1));
  border-color: rgba(0, 136, 255, 0.4);
  color: #0088ff;
}

/* Info alert: blue */
.qris-label-alert {
  background: rgba(0, 136, 255, 0.06);
  border-color: rgba(0, 136, 255, 0.22);
}
.qris-label-alert svg { color: #0088ff; }

/* Mobile override */
@media (max-width: 540px) {
  .qris-frame-outer { background: var(--bg3); }
  .qris-img { background: #ffffff; padding: 8px; border-radius: 6px; }
}

/* ============================================================
   MOBILE NAV — FULL REDESIGN
   ============================================================ */

/* ── Backdrop overlay: fixes double-button bleed-through ── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 149;
  background: rgba(2, 4, 12, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}
.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Panel ── */
.mobile-nav {
  background: rgba(4, 7, 16, 0.99);
  border-bottom: 1px solid rgba(0, 136, 255, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    inset 0 -1px 0 rgba(0, 136, 255, 0.08);
  padding: 0 0 24px;
}

/* Top accent line: thicker + more vivid */
.mobile-nav::before {
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 136, 255, 0.7) 25%,
    rgba(96, 165, 250, 0.55) 55%,
    rgba(0, 85, 255, 0.5) 75%,
    transparent 100%);
  margin-bottom: 0;
}

/* ── Internal header label ── */
.mobile-nav-header {
  padding: 12px 24px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 4px;
}
.mobile-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 136, 255, 0.5);
}

/* ── Nav links ── */
.mobile-nav a:not(.mobile-cta) {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(232, 238, 255, 0.55);
  padding: 15px 24px 15px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-left: 2.5px solid transparent;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color 0.2s, background 0.2s, border-left-color 0.22s;
  min-height: 52px;
}

/* Number prefix spans */
.mobile-nav a:not(.mobile-cta) .nav-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(0, 136, 255, 0.4);
  flex-shrink: 0;
  transition: color 0.2s;
  min-width: 20px;
}

/* Override the old ::before / ::after for non-cta links */
.mobile-nav a:not(.mobile-cta)::before { display: none !important; }
.mobile-nav a:not(.mobile-cta)::after {
  content: '›';
  margin-left: auto;
  font-size: 1rem;
  color: rgba(0, 136, 255, 0.25);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
  line-height: 1;
}

/* Hover state */
.mobile-nav a:not(.mobile-cta):hover,
.mobile-nav a:not(.mobile-cta):focus-visible {
  color: var(--text);
  background: rgba(0, 136, 255, 0.05);
  border-left-color: var(--accent);
  outline: none;
}
.mobile-nav a:not(.mobile-cta):hover .nav-num,
.mobile-nav a:not(.mobile-cta):focus-visible .nav-num {
  color: var(--accent);
}
.mobile-nav a:not(.mobile-cta):hover::after,
.mobile-nav a:not(.mobile-cta):focus-visible::after {
  color: var(--accent);
  transform: translateX(4px);
}

/* Last link before divider */
.mobile-nav a:nth-last-of-type(2) { border-bottom: none; }

/* ── Divider before CTA ── */
.mobile-nav-divider {
  height: 1px;
  margin: 16px 24px;
  background: linear-gradient(90deg,
    rgba(0, 136, 255, 0.25),
    rgba(0, 136, 255, 0.08) 80%,
    transparent);
}

/* ── CTA: outlined, matching desktop nav-cta style ── */
.mobile-nav .mobile-cta {
  margin: 0 20px;
  width: calc(100% - 40px);
  background: transparent;
  border: none;
  color: var(--accent);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: inset 0 0 0 2px var(--accent), 0 0 14px rgba(0,212,255,0.15);
  transition: color 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mobile-nav .mobile-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, #00b4ff 0%, #0055ff 100%);
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.mobile-nav .mobile-cta span { position: relative; z-index: 2; }
.mobile-nav .mobile-cta:hover::before, .mobile-nav .mobile-cta:focus-visible::before { opacity: 1; }
.mobile-nav .mobile-cta:hover::after, .mobile-nav .mobile-cta:focus-visible::after { left: 160%; transition: left 0.5s ease; }
.mobile-nav .mobile-cta:hover,
.mobile-nav .mobile-cta:focus-visible {
  color: #fff; outline: none;
  box-shadow: 0 0 12px rgba(0,212,255,0.35), 0 0 30px rgba(0,120,255,0.15);
}
.mobile-nav .mobile-cta:active { transform: scale(0.985); box-shadow: 0 0 10px rgba(0,212,255,0.4), 0 0 28px rgba(0,120,255,0.18); }

/* ── Mobile nav responsiveness ── */
@media (max-width: 480px) {
  .mobile-nav a:not(.mobile-cta) {
    font-size: 0.95rem;
    padding: 14px 20px;
    min-height: 50px;
  }
  .mobile-nav-header { padding: 10px 20px 8px; }
  .mobile-nav .mobile-cta { margin: 0 16px; width: calc(100% - 32px); }
  .mobile-nav-divider { margin: 14px 20px; }
}
/* ============================================================
   DRAFT BANNER — notifikasi restore draft tersimpan
   ============================================================ */
.draft-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 20px;
  animation: draft-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes draft-slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.draft-banner-icon {
  flex-shrink: 0;
  color: #00d4ff;
  display: flex;
  align-items: center;
  opacity: 0.9;
}

.draft-banner-text {
  flex: 1;
  min-width: 0;
}

.draft-banner-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.draft-banner-text span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.draft-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.draft-btn-restore {
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #00d4ff 0%, #0055ff 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.draft-btn-restore:hover  { opacity: 0.85; }
.draft-btn-restore:active { transform: scale(0.96); }

.draft-btn-clear {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.draft-btn-clear:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 500px) {
  .draft-banner       { flex-wrap: wrap; gap: 10px; }
  .draft-banner-actions { width: 100%; justify-content: flex-end; }
}
/* ============================================================
   IGITA 2026 — PREMIUM NOTIFICATION MODAL
   Menggantikan native browser alert() dengan UI kustom premium
   ============================================================ */

/* ── Overlay ─────────────────────────────────────────────────── */
#igita-notif-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 4, 8, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity       0.28s cubic-bezier(0.4, 0, 0.2, 1),
    background    0.28s ease,
    backdrop-filter 0.28s ease;
}

#igita-notif-overlay.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Modal container ─────────────────────────────────────────── */
.igita-notif-modal {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(150deg, #080f1e 0%, #040a14 100%);
  border: 1px solid rgba(0, 136, 255, 0.14);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transform: scale(0.88) translateY(20px);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

#igita-notif-overlay.open .igita-notif-modal {
  transform: scale(1) translateY(0);
}

/* ── Inner padding container ─────────────────────────────────── */
/* notif-icon-ring dikecualikan — butuh display:flex untuk center icon SVG */
.igita-notif-modal > .notif-type-label,
.igita-notif-modal > .notif-title-el,
.igita-notif-modal > .notif-message-el,
.igita-notif-modal > .notif-code-wrap,
.igita-notif-modal > .notif-ok-btn {
  display: block;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Top accent bar ──────────────────────────────────────────── */
.notif-accent-bar {
  height: 2px;
  width: 100%;
  position: relative;
}

/* ── Background grid (subtle) ────────────────────────────────── */
.notif-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 136, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

/* ── Ambient glow orb ────────────────────────────────────────── */
.notif-glow-orb {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}

/* ── Ensure children above pseudo layers ─────────────────────── */
.notif-icon-ring,
.notif-type-label,
.notif-title-el,
.notif-message-el,
.notif-code-wrap,
.notif-ok-btn {
  position: relative;
  z-index: 1;
}

/* ── Icon ring ───────────────────────────────────────────────── */
.notif-icon-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px 0 0 32px;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.notif-icon-ring span {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

/* ── Type label ──────────────────────────────────────────────── */
.notif-type-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 6px;
  padding-left: 32px;
  padding-right: 32px;
  transition: color 0.3s ease;
}

/* ── Title ───────────────────────────────────────────────────── */
.notif-title-el {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #eef2ff;
  line-height: 1.25;
  margin-bottom: 12px;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Message ─────────────────────────────────────────────────── */
.notif-message-el {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #7c8db5;
  line-height: 1.65;
  margin-bottom: 24px;
  white-space: pre-line;
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Code block (timeout only) ───────────────────────────────── */
.notif-code-wrap {
  margin: 0 32px 24px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(0, 136, 255, 0.1);
  display: none;
}

.notif-code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #5a6d8a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.notif-code-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* ── OK button ───────────────────────────────────────────────── */
.notif-ok-btn {
  display: block;
  width: calc(100% - 64px);
  margin: 0 32px 32px;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid;
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform   0.18s ease,
    filter      0.18s ease,
    box-shadow  0.3s ease;
}

.notif-ok-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.notif-ok-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.notif-ok-btn:hover::before {
  background: rgba(255, 255, 255, 0.06);
}

.notif-ok-btn:active {
  transform: scale(0.98) translateY(0);
}

/* ── Separator above button ──────────────────────────────────── */
.notif-ok-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .igita-notif-modal {
    border-radius: 16px;
  }

  .notif-icon-ring {
    width: 58px;
    height: 58px;
    margin-top: 28px;
    margin-left: 24px;
  }

  .notif-type-label,
  .notif-title-el,
  .notif-message-el {
    padding-left: 24px;
    padding-right: 24px;
  }

  .notif-title-el {
    font-size: 1.15rem;
  }

  .notif-message-el {
    font-size: 0.84rem;
  }

  .notif-code-wrap {
    margin-left: 24px;
    margin-right: 24px;
  }

  .notif-ok-btn {
    width: calc(100% - 48px);
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    padding: 13px;
  }
}