/* ════════════════════════════════════════════════════════════════════
   HUB MC — FOFLARE-STYLE DESIGN SYSTEM (v3.0)
   Dark navy glass theme • cyan/blue/violet gradients • Space Grotesk
   All pages, navbar, footer, hero console, cards, wizard, effects
   ════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─── */
:root {
  --bg-primary: #04060e;
  --bg-secondary: #070b17;
  --surface: #0a101f;
  --surface-2: #0d1425;
  --surface-hover: #111a30;
  --text-primary: #eef2ff;
  --text-secondary: #a8b3d1;
  --text-muted: #7d89ab;
  --text-faint: #66708f;
  --brand-cyan: #22d3ee;
  --brand-blue: #4f8dff;
  --brand-violet: #8b5cf6;
  --brand-purple: #a855f7;
  --brand-magenta: #e055d4;
  --mc-green: #57d97a;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --border: rgba(151, 168, 220, 0.13);
  --border-strong: rgba(151, 168, 220, 0.26);
  --gradient-brand: linear-gradient(120deg, #22d3ee, #4f8dff 55%, #8b5cf6);
  --gradient-mc: linear-gradient(120deg, #57d97a, #22d3ee);
  --font-display: 'Space Grotesk', 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Inter', 'Rajdhani', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 22px; --radius-xl: 28px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --shadow-lg: 0 24px 60px -18px rgba(2, 6, 18, 0.9);
  --nav-h: 72px;
}

/* ─── Base ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(1100px 520px at 12% -5%, rgba(79, 141, 255, 0.10), transparent 60%),
    radial-gradient(900px 480px at 92% 2%, rgba(139, 92, 246, 0.09), transparent 60%),
    radial-gradient(760px 420px at 50% 105%, rgba(34, 211, 238, 0.05), transparent 65%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text-primary); letter-spacing: -0.02em; line-height: 1.12; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
p { color: var(--text-secondary); }
b, strong { color: var(--text-primary); }
::selection { background: rgba(79, 141, 255, 0.35); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand-cyan), var(--brand-violet)); border-radius: 10px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 3px; border-radius: 6px; }
code, .mono { font-family: var(--font-mono); font-size: 0.92em; background: rgba(151, 168, 220, 0.09); border: 1px solid var(--border); padding: 2px 8px; border-radius: 7px; color: var(--brand-cyan); word-break: break-all; }

.container { width: min(92%, var(--container)); margin-inline: auto; position: relative; z-index: 2; }
.main-wrap { padding-top: var(--nav-h); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mut, .muted { color: var(--text-muted); }
.grad-text {
  background: var(--gradient-brand); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}
.gold-text {
  background: linear-gradient(120deg, #fbbf24, #e055d4 60%, #8b5cf6); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ring { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes panelFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cursorBlink { 50% { border-color: transparent; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes chatRing { 0% { transform: scale(0.85); opacity: 0.7; } 70% { transform: scale(1.22); opacity: 0; } 100% { opacity: 0; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 13px; font-family: var(--font-body); font-weight: 600;
  font-size: 0.95rem; line-height: 1.1; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  position: relative; overflow: hidden; white-space: nowrap; letter-spacing: -0.01em;
}
.btn i { font-size: 0.9em; }
.btn .fa-arrow-right { transition: transform 0.25s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(115deg, #61e8fa 0%, #54a1ff 48%, #9c75ff 100%); color: #030712;
  box-shadow: 0 14px 34px -14px rgba(79, 141, 255, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-160%) skewX(-20deg); transition: transform 0.6s var(--ease); pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(99, 141, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover::before { transform: translateX(360%) skewX(-20deg); }
.btn-glass {
  background: rgba(13, 20, 37, 0.62); border-color: rgba(151, 168, 220, 0.2); color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(34, 211, 238, 0.08); border-color: rgba(34, 211, 238, 0.4); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(34, 211, 238, 0.4); }
.btn-danger { background: linear-gradient(120deg, #f87171, #e055d4); color: #0a0a12; box-shadow: 0 10px 26px -12px rgba(248, 113, 113, 0.6); }
.btn-sm { padding: 10px 18px; font-size: 0.84rem; border-radius: 10px; }
.btn-lg { padding: 17px 34px; font-size: 1rem; border-radius: 15px; }
.btn-xl { padding: 19px 40px; font-size: 1.05rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ripple (buttons keep tactile feel) */
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transform: scale(0); animation: rippleGo 0.6s ease-out forwards; pointer-events: none; }
@keyframes rippleGo { to { transform: scale(3.2); opacity: 0; } }

/* ════════════════ NAVBAR ════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0; height: var(--nav-h); display: flex; align-items: center;
  background: rgba(4, 6, 14, 0.55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(4, 6, 14, 0.82);
  border-bottom-color: var(--border);
  box-shadow: 0 18px 40px -22px rgba(2, 6, 18, 0.9);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo {
  width: 40px; height: 40px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo:hover { transform: translateY(-2px) rotate(-3deg); box-shadow: 0 10px 24px -10px rgba(34, 211, 238, 0.5); }
.nav-logo .logo-cube { font-size: 1.3rem; filter: drop-shadow(0 4px 10px rgba(34, 211, 238, 0.45)); }
.nav-name { display: flex; flex-direction: column; line-height: 1.05; }
.nav-name .nn { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -0.02em; color: var(--text-primary); }
.nav-name .nn em { font-style: normal; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-name .ns { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-secondary); font-weight: 600; font-size: 0.92rem;
  position: relative; transition: color 0.22s, background 0.22s;
  /* v3.1: <button> toggles ("More", "Game Modes") must not paint the
     browser default white buttonface/border on the dark glass navbar */
  background: transparent; border: 0; font-family: var(--font-body);
  -webkit-appearance: none; appearance: none; cursor: pointer; text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(151, 168, 220, 0.07); }
.nav-link .link-indicator { position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%) scaleX(0); width: 18px; height: 2px; border-radius: 2px; background: var(--gradient-brand); transition: transform 0.25s var(--ease); }
.nav-link:hover .link-indicator, .nav-link.active .link-indicator { transform: translateX(-50%) scaleX(1); }
.chevron { transition: transform 0.25s var(--ease); color: var(--text-muted); }
.dropdown.open > .nav-link .chevron { transform: rotate(180deg); }
.badge-new, .badge-hot {
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.1em; padding: 2.5px 6.5px; border-radius: 6px; text-transform: uppercase;
}
.badge-new { background: rgba(34, 211, 238, 0.14); color: var(--brand-cyan); border: 1px solid rgba(34, 211, 238, 0.3); }
.badge-hot { background: rgba(224, 85, 212, 0.14); color: var(--brand-magenta); border: 1px solid rgba(224, 85, 212, 0.32); animation: hotPulse 2.2s ease infinite; }
@keyframes hotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 85, 212, 0.35); } 50% { box-shadow: 0 0 0 5px rgba(224, 85, 212, 0); } }

/* dropdown panels */
.dropdown { position: relative; }
.dropdown-menu, .mega-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.97), rgba(8, 13, 27, 0.98));
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(2, 6, 18, 0.95), 0 0 0 1px rgba(34, 211, 238, 0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px; z-index: 60; min-width: 230px; list-style: none;
}
/* v3.1: invisible hover bridge - covers the vertical gap between the
   toggle and the panel so moving the cursor down never leaves the
   dropdown's hover area (menu used to close instantly mid-move). */
.dropdown-menu::after, .mega-dropdown::after {
  content: ''; position: absolute; top: -22px; left: -40px; right: -40px; height: 24px;
  background: transparent;
}
.dropdown.open .dropdown-menu, .dropdown.open .mega-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-menu::before, .mega-dropdown::before {
  content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 13px; height: 13px; background: rgba(13, 20, 37, 0.97); border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); border-radius: 3px;
}
.dropdown-menu li + li { margin-top: 3px; }
.dropdown-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px;
  color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; transition: all 0.2s; white-space: nowrap;
}
.dropdown-item i { width: 18px; text-align: center; color: var(--brand-violet); font-size: 0.95rem; }
.dropdown-item:hover { background: rgba(34, 211, 238, 0.07); color: var(--text-primary); transform: translateX(3px); }
.dropdown-item.active { background: rgba(34, 211, 238, 0.1); color: var(--brand-cyan); }

/* mega dropdown content */
.mega-inner { display: flex; gap: 10px; }
.mega-col { display: flex; flex-direction: column; gap: 4px; min-width: 265px; }
.mega-col-title {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 12px 7px;
}
.mega-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  transition: all 0.2s var(--ease); border: 1px solid transparent;
}
.mega-item:hover { background: rgba(151, 168, 220, 0.06); border-color: var(--border); transform: translateX(4px); }
.mega-item.active { background: rgba(34, 211, 238, 0.07); border-color: rgba(34, 211, 238, 0.22); }
.mega-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  border: 1px solid var(--border); background: rgba(151, 168, 220, 0.05);
  transition: all 0.25s var(--ease);
}
.mega-icon.mc { color: var(--mc-green); background: rgba(87, 217, 122, 0.09); border-color: rgba(87, 217, 122, 0.22); }
.mega-icon.cy { color: var(--brand-cyan); background: rgba(34, 211, 238, 0.09); border-color: rgba(34, 211, 238, 0.22); }
.mega-icon.vi { color: var(--brand-violet); background: rgba(139, 92, 246, 0.09); border-color: rgba(139, 92, 246, 0.22); }
.mega-icon.mg { color: var(--brand-magenta); background: rgba(224, 85, 212, 0.09); border-color: rgba(224, 85, 212, 0.22); }
.mega-icon.dc { color: #7c8bff; background: rgba(88, 101, 242, 0.12); border-color: rgba(88, 101, 242, 0.28); }
.mega-item:hover .mega-icon { transform: scale(1.06) rotate(-4deg); border-color: var(--brand-cyan); }
.mega-info { flex: 1; min-width: 0; }
.mega-name { color: var(--text-primary); font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.mega-desc { color: var(--text-muted); font-size: 0.78rem; margin-top: 1px; }
.mega-arrow { color: var(--text-muted); font-size: 0.8rem; opacity: 0; transform: translateX(-6px); transition: all 0.22s var(--ease); }
.mega-item:hover .mega-arrow { opacity: 1; transform: none; color: var(--brand-cyan); }
.mega-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 11px 14px 5px; border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-muted);
}
.mega-footer .mf-status { color: var(--success); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mf-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.mf-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--success); animation: ring 2.4s ease-out infinite; }

/* nav right */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-ip-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary);
  cursor: pointer; transition: all 0.25s var(--ease); white-space: nowrap;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav-ip-chip:hover { border-color: rgba(34, 211, 238, 0.45); color: var(--brand-cyan); background: rgba(34, 211, 238, 0.06); }
.nav-ip-chip .status-dot { flex-shrink: 0; }
.nav-ip-chip .copy-tag { font-family: var(--font-body); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; color: var(--text-muted); }
.nav-ip-chip:hover .copy-tag { color: var(--brand-cyan); }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; display: inline-block; }
.status-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--success); animation: ring 2.4s ease-out infinite; }
.status-dot.off { background: var(--danger); }
.status-dot.off::after { border-color: var(--danger); }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border); color: var(--text-secondary);
  cursor: pointer; font-size: 1rem; transition: all 0.25s var(--ease);
}
.icon-btn:hover { color: var(--brand-cyan); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.07); transform: translateY(-2px); }
.admin-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.16), rgba(224, 85, 212, 0.14));
  border: 1px solid rgba(139, 92, 246, 0.35); color: #cabfff; font-weight: 700; font-size: 0.85rem;
  transition: all 0.25s var(--ease); white-space: nowrap;
}
.admin-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(139, 92, 246, 0.65); color: #fff; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 12px;
  background: linear-gradient(115deg, #61e8fa 0%, #54a1ff 48%, #9c75ff 100%); color: #030712;
  font-weight: 700; font-size: 0.88rem; white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(79, 141, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(79, 141, 255, 0.85); }

/* profile dropdown */
.profile-menu { position: relative; }
.profile-btn {
  width: 42px; height: 42px; border-radius: 13px; cursor: pointer; padding: 0; overflow: hidden;
  border: 1px solid var(--border-strong); background: rgba(151, 168, 220, 0.06);
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1.05rem;
  transition: all 0.25s var(--ease); position: relative;
}
.profile-btn:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-2px); }
.profile-btn img { width: 100%; height: 100%; object-fit: cover; }
.profile-btn .online-dot { position: absolute; bottom: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--success); border: 2.5px solid var(--bg-primary); }
.profile-dropdown {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 250px;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.97), rgba(8, 13, 27, 0.98));
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(2, 6, 18, 0.95);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px);
  transition: all 0.22s var(--ease); padding: 8px; z-index: 70;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.profile-menu.open .profile-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.pd-header { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: rgba(151, 168, 220, 0.04); border: 1px solid var(--border); margin-bottom: 7px; }
.pd-avatar { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(139, 92, 246, 0.2)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--brand-cyan); flex-shrink: 0; border: 1px solid var(--border-strong); }
.pd-name { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; font-family: var(--font-display); }
.pd-email { color: var(--text-muted); font-size: 0.76rem; word-break: break-all; }
.pd-item {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 10px;
  color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.pd-item i:first-child { width: 18px; text-align: center; color: var(--brand-violet); }
.pd-item:hover { background: rgba(34, 211, 238, 0.07); color: var(--text-primary); transform: translateX(3px); }
.pd-item.danger i:first-child { color: var(--danger); }
.pd-item.danger:hover { background: rgba(248, 113, 113, 0.08); color: var(--danger); }
.pd-sep { height: 1px; background: var(--border); margin: 7px 6px; }

/* mobile toggle + menu */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--text-primary); border-radius: 3px; transition: all 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-backdrop { display: none; position: fixed; inset: 0; top: var(--nav-h); background: rgba(2, 4, 10, 0.7); z-index: 900; opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.nav-backdrop.show { display: block; opacity: 1; }
.nav-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(7, 11, 23, 0.98), rgba(4, 6, 14, 0.99));
  z-index: 950; overflow-y: auto; padding: 20px 5% 40px;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
}
.nav-menu.open { transform: none; }
.mob-links { display: flex; flex-direction: column; gap: 4px; }
.mob-links .nav-link { padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
.nav-menu .mega-dropdown, .nav-menu .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; margin: 6px 0 10px; box-shadow: none; background: rgba(151, 168, 220, 0.03); }
.nav-menu .dropdown.open .mega-dropdown, .nav-menu .dropdown.open .dropdown-menu { display: block; }
.nav-menu .mega-dropdown::before, .nav-menu .dropdown-menu::before { display: none; }
.mob-extras { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.mob-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; border-radius: 13px; background: linear-gradient(115deg, #61e8fa, #54a1ff 48%, #9c75ff); color: #030712; font-weight: 700; }

@media (max-width: 1080px) {
  .nav-links, .nav-ip-chip { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu { display: block; }
}
@media (max-width: 560px) {
  .nav-name .ns { display: none; }
  .nav-cta { display: none; }
  .admin-pill span { display: none; }
  .admin-pill { padding: 11px 13px; }
}

/* ════════════════ PAGE SCAFFOLDING ════════════════ */
.section-padding { padding: clamp(72px, 8.5vw, 118px) 0; position: relative; isolation: isolate; }
.section-padding::before, .alt-section::before {
  content: ''; position: absolute; top: 0; left: 50%; width: min(92%, 1180px); height: 1px;
  transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.13), rgba(139, 92, 246, 0.12), transparent);
}
.alt-section { background: rgba(7, 11, 23, 0.5); position: relative; isolation: isolate; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5.5vw, 64px); }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-cyan);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.085), rgba(34, 211, 238, 0.035));
  border: 1px solid rgba(34, 211, 238, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.section-tag i { font-size: 0.68rem; color: var(--brand-violet); }
.section-head {
  font-size: clamp(1.85rem, 3.9vw, 2.85rem); font-weight: 650; margin-bottom: 18px; color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #aab6d4 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.035em; text-wrap: balance;
}
.section-subhead { color: var(--text-secondary); font-size: clamp(0.98rem, 1.4vw, 1.1rem); line-height: 1.7; }

/* page header (inner pages) */
.page-header {
  position: relative; padding: clamp(84px, 11vw, 130px) 0 clamp(38px, 5vw, 60px);
  overflow: hidden; isolation: isolate;
}
.page-header .ph-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(151, 168, 220, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151, 168, 220, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(75% 90% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(75% 90% at 50% 0%, #000 20%, transparent 80%);
}
.page-header .ph-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.ph-glow-a { width: 560px; height: 560px; top: -260px; left: -140px; background: radial-gradient(circle, rgba(79, 141, 255, 0.16), transparent 65%); }
.ph-glow-b { width: 520px; height: 520px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 65%); }
.page-header h1 {
  font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 14px; text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #aab6d4 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header .ph-sub { color: var(--text-secondary); font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 640px; line-height: 1.7; }
.crumbs { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 22px; }
.crumbs a { color: var(--text-muted); transition: color 0.2s; font-weight: 600; }
.crumbs a:hover { color: var(--brand-cyan); }
.crumbs span { color: var(--text-secondary); font-weight: 600; }
.crumbs .sep { opacity: 0.4; }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: min(100svh, 880px);
  display: flex; align-items: center; padding: clamp(96px, 13vh, 128px) 0 clamp(64px, 8vw, 94px);
  overflow: hidden; background: var(--bg-primary); isolation: isolate;
}
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(4, 6, 14, 0.72) 68%, var(--bg-primary));
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.8;
  background-image: linear-gradient(rgba(151, 168, 220, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(151, 168, 220, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(75% 70% at 60% 18%, #000 25%, transparent 78%);
  mask-image: radial-gradient(75% 70% at 60% 18%, #000 25%, transparent 78%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-glow-a { width: 620px; height: 620px; top: -200px; left: -160px; background: radial-gradient(circle, rgba(79, 141, 255, 0.2), transparent 65%); }
.hero-glow-b { width: 560px; height: 560px; bottom: -240px; right: -140px; background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 65%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 5vw, 76px); align-items: center; position: relative; z-index: 3; }
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(151, 168, 220, 0.09), rgba(151, 168, 220, 0.035));
  border: 1px solid rgba(151, 168, 220, 0.16); color: #bac6e5; padding: 9px 16px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: heroRise 0.7s var(--ease) 0.05s both;
}
.badge-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.badge-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--success); animation: ring 2.4s ease-out infinite; }
.badge-dot.off { background: var(--warning); }
.badge-dot.off::after { border-color: var(--warning); }
.hero-title {
  font-size: clamp(2.25rem, 4.7vw, 3.55rem); font-weight: 700; line-height: 1.04;
  margin-bottom: 22px; letter-spacing: -0.048em; text-wrap: balance;
  animation: heroRise 0.7s var(--ease) 0.12s both;
}
.hero-title .highlight {
  background: var(--gradient-brand); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  filter: drop-shadow(0 0 22px rgba(79, 141, 255, 0.14));
}
.hero-title-soft {
  color: #d8e0f5; background: linear-gradient(180deg, #eef4ff, #a2afcb);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.typing-wrapper {
  display: inline-flex; align-items: center; gap: 12px; min-height: 2.4em; margin-bottom: 22px;
  font-family: var(--font-display); font-size: clamp(1rem, 1.9vw, 1.25rem); font-weight: 500;
  animation: heroRise 0.7s var(--ease) 0.2s both;
}
.typing-prefix { color: var(--brand-violet); flex-shrink: 0; }
.typing-text { color: var(--brand-cyan); border-right: 3px solid var(--brand-cyan); padding-right: 6px; animation: cursorBlink 0.9s step-end infinite; }
.hero-desc { color: #aebad7; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.8; max-width: 620px; margin-bottom: 32px; animation: heroRise 0.7s var(--ease) 0.26s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; animation: heroRise 0.7s var(--ease) 0.32s both; }
.hero-actions .btn { min-height: 50px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; animation: heroRise 0.7s var(--ease) 0.38s both; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(8, 13, 26, 0.54); border: 1px solid rgba(151, 168, 220, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  font-size: 0.78rem; color: var(--text-secondary); font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s, color 0.25s;
}
.trust-chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.trust-chip i { font-size: 0.75rem; }
.trust-chip .c-shield { color: var(--success); }
.trust-chip .c-bolt { color: var(--warning); }
.trust-chip .c-clock { color: var(--brand-cyan); }
.trust-chip .c-cube { color: var(--brand-violet); }

/* hero visual — live server console panel */
.hero-visual { position: relative; display: flex; justify-content: center; animation: heroRise 0.9s var(--ease) 0.25s both; }
.hero-panel {
  position: relative; width: min(500px, 100%); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.94), rgba(7, 11, 22, 0.965));
  border: 1px solid rgba(159, 181, 255, 0.2);
  box-shadow: 0 38px 110px -38px rgba(0, 0, 0, 0.96), 0 30px 75px -38px rgba(34, 211, 238, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.025), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  animation: panelFloat 7s ease-in-out infinite;
}
.hero-panel::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.045), transparent 20%), radial-gradient(420px 140px at 78% 0%, rgba(34, 211, 238, 0.09), transparent 70%);
}
.hp-head { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(4, 6, 14, 0.5); position: relative; z-index: 4; }
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: #2c3852; }
.hp-dot:nth-child(1) { background: #ff5f57; } .hp-dot:nth-child(2) { background: #febc2e; } .hp-dot:nth-child(3) { background: #28c840; }
.hp-title { margin-left: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.02em; }
.hp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--success); }
.hp-live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.hp-live-dot::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--success); animation: ring 2.4s ease-out infinite; }
.hp-body { padding: 16px; display: grid; gap: 11px; position: relative; z-index: 4; }
.hp-server {
  background: linear-gradient(180deg, rgba(151, 168, 220, 0.06), rgba(151, 168, 220, 0.032));
  border: 1px solid rgba(151, 168, 220, 0.11); border-radius: 14px; padding: 14px 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.hp-server:hover { transform: translateX(3px); border-color: rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.045); }
.hp-server-top { display: flex; align-items: center; gap: 12px; }
.hp-server-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.hp-server.mc .hp-server-icon { color: var(--mc-green); background: rgba(87, 217, 122, 0.1); border: 1px solid rgba(87, 217, 122, 0.24); }
.hp-server.bd .hp-server-icon { color: var(--brand-cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.24); }
.hp-server.lf .hp-server-icon { color: var(--brand-violet); background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.24); }
.hp-server-info { flex: 1; min-width: 0; }
.hp-name { color: var(--text-primary); font-weight: 700; font-size: 0.92rem; font-family: var(--font-display); }
.hp-meta { color: var(--text-muted); font-size: 0.74rem; font-family: var(--font-mono); }
.hp-badge { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hp-badge.on { color: var(--success); background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); }
.hp-badge.deploy { color: var(--warning); background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); }
.hp-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hp-meter-head { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--text-muted); margin-bottom: 5px; font-family: var(--font-mono); }
.hp-meter-head .val { color: var(--text-secondary); }
.hp-bar { height: 5px; border-radius: 4px; background: rgba(151, 168, 220, 0.09); overflow: hidden; }
.hp-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-cyan), var(--brand-violet)); transition: width 1s var(--ease); }
.hp-foot { display: flex; justify-content: space-between; gap: 10px; padding: 13px 18px; background: rgba(3, 6, 14, 0.6); border-top: 1px solid var(--border); position: relative; z-index: 4; font-size: 0.72rem; color: var(--text-muted); }
.hp-foot i { color: var(--brand-cyan); margin-right: 5px; }

/* hero orbs */
.premium-orb { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 5; }
.hero-orb-a { width: 74px; height: 74px; top: -26px; left: -26px; }
.hero-orb-b { width: 64px; height: 64px; bottom: -18px; right: -18px; }
.premium-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 211, 238, 0.25); }
.premium-orb-ring::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35); animation: spinSlow 14s linear infinite;
}
.premium-orb-core {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 20, 37, 0.96), rgba(8, 13, 27, 0.98));
  border: 1px solid rgba(34, 211, 238, 0.35); color: var(--brand-cyan); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: panelFloat 5.5s ease-in-out infinite;
}

.hero-scroll-indicator { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; z-index: 4; }
.hero-scroll-indicator .scroll-line { width: 1.5px; height: 46px; background: linear-gradient(180deg, var(--brand-cyan), transparent); overflow: hidden; position: relative; }
.hero-scroll-indicator .scroll-line::after { content: ''; position: absolute; top: -46px; left: 0; width: 100%; height: 46px; background: linear-gradient(180deg, transparent, var(--brand-cyan)); animation: scrollDown 2.2s var(--ease) infinite; }
@keyframes scrollDown { 0% { top: -46px; } 100% { top: 46px; } }

/* ════════════════ STATS BAR ════════════════ */
.stats-bar { padding: 0 0 clamp(46px, 5vw, 64px); position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  background: linear-gradient(135deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.92));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-lg), 0 24px 60px -38px rgba(34, 211, 238, 0.4);
  position: relative; overflow: hidden;
}
.stats-grid::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 120px at 82% 0%, rgba(34, 211, 238, 0.08), transparent 70%);
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: var(--border); }
.stat-item h3, .stat-number {
  font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #aab6d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item p { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; margin-top: 4px; letter-spacing: 0.02em; }
.stats-verify { text-align: center; margin-top: 18px; font-size: 0.78rem; color: var(--text-muted); }

/* ════════════════ CARDS (generic + modes + features) ════════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.glass-card, .feature-card, .mode-card, .why-card, .service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  box-shadow: 0 14px 40px -22px rgba(2, 6, 18, 0.8);
}
.glass-card::after, .feature-card::after, .mode-card::after, .why-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background-image: linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 30px 30px; transition: opacity 0.35s;
}
.glass-card:hover, .feature-card:hover, .mode-card:hover, .why-card:hover {
  transform: translateY(-8px); border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 30px 60px -24px rgba(2, 6, 18, 0.9), 0 24px 50px -34px rgba(34, 211, 238, 0.45);
}
.glass-card:hover::after, .feature-card:hover::after, .mode-card:hover::after, .why-card:hover::after { opacity: 1; }
.card-icon-lg {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.25); color: var(--brand-cyan);
  transition: transform 0.3s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.feature-card:hover .card-icon-lg, .mode-card:hover .card-icon-lg { transform: scale(1.08) rotate(-4deg); }
.feature-card h3, .mode-card h3, .why-card h3 { color: var(--text-primary); margin-bottom: 10px; font-size: 1.18rem; font-weight: 650; }
.feature-card p, .mode-card p, .why-card p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.7; }

/* modes */
.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.mode-card { display: block; }
.mode-card .mode-icon {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(87, 217, 122, 0.13), rgba(34, 211, 238, 0.13));
  border: 1px solid rgba(87, 217, 122, 0.28); color: var(--mc-green);
}
.mode-tag {
  display: inline-block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.2);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.mode-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; font-family: var(--font-display); }

/* steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.step-card {
  position: relative; background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.35); box-shadow: 0 26px 54px -26px rgba(139, 92, 246, 0.4); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: #030712; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
  font-family: var(--font-display); box-shadow: 0 12px 26px -10px rgba(79, 141, 255, 0.6);
}
.step-card h4 { color: var(--text-primary); font-size: 1.12rem; margin-bottom: 10px; font-weight: 650; }
.step-card p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; }

/* ════════════════ STORE / PRODUCT CARDS ════════════════ */
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 24px; }
.fp-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.fp-card:hover { transform: translateY(-8px); border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 34px 64px -26px rgba(2, 6, 18, 0.95), 0 26px 55px -36px rgba(34, 211, 238, 0.5); }
.fp-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(151, 168, 220, 0.04); }
.fp-img .img-main { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.fp-card:hover .fp-img .img-main { transform: scale(1.06); }
.fp-img .img-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.6) opacity(0.55); transform: scale(1.15); }
.fp-badge {
  position: absolute; top: 13px; right: 13px; z-index: 2;
  background: linear-gradient(120deg, rgba(224, 85, 212, 0.92), rgba(139, 92, 246, 0.92)); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(224, 85, 212, 0.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.fp-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 7px; position: relative; }
.fp-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brand-cyan); }
.fp-name { font-size: 1.14rem; font-weight: 650; color: var(--text-primary); font-family: var(--font-display); letter-spacing: -0.02em; }
.fp-price { margin-top: 6px; font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; color: #fff; }
.fp-price .fp-npr { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* shop category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 34px 64px -26px rgba(2, 6, 18, 0.95), 0 26px 55px -36px rgba(34, 211, 238, 0.5); }
.cat-card .cc-head {
  display: flex; align-items: center; gap: 15px; padding: 24px;
  background: rgba(151, 168, 220, 0.03); border-bottom: 1px solid var(--border);
}
.cat-card .cc-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.24);
  transition: transform 0.3s var(--ease);
}
.cat-card:hover .cc-icon { transform: scale(1.08) rotate(-5deg); }
.cat-card .cc-name { font-family: var(--font-display); font-size: 1.22rem; font-weight: 650; color: var(--text-primary); }
.cat-card .cc-desc { color: var(--text-muted); font-size: 0.86rem; margin-top: 2px; }
.cat-card .cc-body { padding: 20px 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.cat-card .cc-count { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.cat-card .cc-count b { color: var(--brand-cyan); font-family: var(--font-display); font-size: 1rem; }
.cat-card .cc-price { font-size: 0.82rem; color: var(--text-muted); }
.cat-card .cc-price b { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }

/* product page */
.product-layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 54px); align-items: start; }
.product-media { position: relative; }
.product-imgwrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); aspect-ratio: 1 / 1; background: var(--surface-2);
  box-shadow: var(--shadow-lg), 0 30px 80px -40px rgba(34, 211, 238, 0.35);
}
.product-imgwrap .img-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.7) opacity(0.5); transform: scale(1.2); }
.product-imgwrap .img-main { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 34px; }
.kit-box {
  margin-top: 20px; background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px;
}
.kit-head { color: var(--text-primary); font-weight: 700; font-size: 0.98rem; margin-bottom: 14px; font-family: var(--font-display); }
.kit-list li { display: flex; gap: 11px; padding: 7px 0; color: var(--text-secondary); font-size: 0.92rem; border-bottom: 1px dashed rgba(151, 168, 220, 0.08); }
.kit-list li:last-child { border-bottom: none; }
.kit-check { color: var(--mc-green); flex-shrink: 0; }
.product-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-cyan); margin-bottom: 10px; }
.product-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 16px; }
.product-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.pp-inr { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pp-npr { color: var(--text-muted); font-weight: 600; }
.rate-note { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 18px; }
.product-desc { margin-bottom: 20px; line-height: 1.8; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.feat-item { display: flex; gap: 10px; align-items: baseline; color: var(--text-secondary); font-size: 0.92rem; padding: 10px 14px; background: rgba(151, 168, 220, 0.04); border: 1px solid var(--border); border-radius: 10px; }
.feat-ic { color: var(--brand-violet); flex-shrink: 0; }
.duration-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px;
  background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.25);
  color: var(--warning); font-size: 0.88rem; font-weight: 600; margin-bottom: 22px;
}
.order-note { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--text-muted); font-size: 0.84rem; }
.order-note i { color: var(--mc-green); }
.login-required {
  margin-top: 22px; padding: 26px; border-radius: var(--radius-md); text-align: center;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px dashed var(--border-strong);
}
.lr-text { color: var(--text-secondary); margin-bottom: 18px; }
.lr-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════ FORMS / AUTH ════════════════ */
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-weight: 600; font-size: 0.88rem; }
.field label .req { color: var(--brand-magenta); }
.field label .opt { color: var(--text-muted); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="url"], .field select, .field textarea,
input.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px; font-size: 0.95rem; font-family: var(--font-body);
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border-strong); border-radius: 11px;
  color: var(--text-primary); transition: all 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus, input.input:focus, select.input:focus, textarea.input:focus {
  outline: none; border-color: var(--brand-cyan); background: rgba(34, 211, 238, 0.04);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.09);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237d89ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: var(--surface-2); color: var(--text-primary); }
.field-hint { font-size: 0.76rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.form-msg { padding: 12px 16px; border-radius: 11px; font-size: 0.88rem; font-weight: 600; }
.form-msg.error, .form-msg.err { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: #fda4a4; }
.form-msg.ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: #6ee7b7; }

/* auth card */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vh, 80px) 20px; position: relative; overflow: hidden; }
.auth-card {
  width: 100%; max-width: 440px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.95), rgba(8, 13, 27, 0.97));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-lg), 0 30px 90px -46px rgba(34, 211, 238, 0.5);
  animation: heroRise 0.6s var(--ease) both;
}
.auth-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(340px 120px at 70% 0%, rgba(34, 211, 238, 0.09), transparent 70%); }
.auth-brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 28px; position: relative; }
.auth-brand .ab-icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.14)); border: 1px solid rgba(34, 211, 238, 0.3); color: var(--brand-cyan); box-shadow: 0 18px 40px -18px rgba(34, 211, 238, 0.55); margin-bottom: 16px; }
.auth-brand h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.auth-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-muted); font-size: 0.88rem; }
.auth-alt a { color: var(--brand-cyan); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }

/* legacy auth helpers (kept so existing auth pages render perfectly) */
.auth-card-wide { max-width: 620px; }
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 26px; }
.auth-logo { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; margin-bottom: 16px; border: 1px solid var(--border-strong); box-shadow: 0 18px 44px -18px rgba(34, 211, 238, 0.5); }
.auth-head h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; }
.auth-head p { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }
.auth-form { display: block; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
@media (max-width: 560px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-foot { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 0.88rem; }
.auth-foot a { color: var(--brand-cyan); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.auth-note { text-align: center; margin-top: 14px; font-size: 0.78rem; color: var(--text-muted); }
.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 9px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.pw-toggle:hover { color: var(--brand-cyan); }
.link { color: var(--brand-cyan); font-weight: 600; font-size: 0.86rem; }
.link:hover { text-decoration: underline; }
.form-row-end { display: flex; justify-content: flex-end; margin: -6px 0 16px; }
.chk { font-size: 0.76rem; font-weight: 700; margin-left: 8px; }
.chk.ok { color: var(--success); }
.chk.bad { color: var(--danger); }
.floating-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: panelFloat 9s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(34, 211, 238, 0.16), transparent 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -160px; right: -140px; background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%); animation-delay: 1.4s; }
.orb-3 { width: 340px; height: 340px; top: 38%; left: 56%; background: radial-gradient(circle, rgba(224, 85, 212, 0.09), transparent 70%); animation-delay: 2.6s; }

/* verify code page */
.code-inputs { display: flex; gap: 10px; justify-content: center; margin: 8px 0 20px; }
.code-inputs input {
  width: 52px; height: 60px; text-align: center; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border-strong); border-radius: 13px; color: var(--text-primary);
  transition: all 0.25s var(--ease);
}
.code-inputs input:focus { outline: none; border-color: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1); transform: translateY(-2px); }

/* ════════════════ MODALS / WIZARD ════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000; display: none;
  background: rgba(2, 4, 10, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.98), rgba(8, 13, 27, 0.99));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  box-shadow: 0 50px 120px -30px rgba(2, 6, 18, 0.98);
  animation: heroRise 0.4s var(--ease) both;
}
.modal.wizard { max-width: 620px; }
.modal-x {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(151, 168, 220, 0.06); border: 1px solid var(--border); color: var(--text-muted);
  cursor: pointer; font-size: 1rem; transition: all 0.2s; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.modal-x:hover { color: var(--danger); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.07); }
.wizard-head { position: sticky; top: 0; z-index: 4; padding: 24px 28px 20px; background: rgba(4, 6, 14, 0.55); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.wizard-steps { display: flex; align-items: center; gap: 10px; }
.wstep { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-weight: 600; font-size: 0.82rem; white-space: nowrap; }
.wstep .wstep-n {
  width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(151, 168, 220, 0.07); border: 1px solid var(--border); font-weight: 700; font-size: 0.8rem;
  transition: all 0.3s var(--ease);
}
.wstep.active { color: var(--text-primary); }
.wstep.active .wstep-n { background: var(--gradient-brand); color: #030712; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(79, 141, 255, 0.7); }
.wstep.done .wstep-n { background: rgba(52, 211, 153, 0.15); color: var(--success); border-color: rgba(52, 211, 153, 0.4); }
.wstep-line { flex: 1; height: 2px; border-radius: 2px; background: var(--border); min-width: 12px; }
.wizard-body { padding: 28px; }
.wpane { display: none; }
.wpane.active { display: block; animation: heroRise 0.35s var(--ease) both; }
.w-title { font-size: 1.22rem; font-weight: 650; margin-bottom: 20px; font-family: var(--font-display); }
.pay-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 13px; background: rgba(151, 168, 220, 0.04);
  border: 1px solid var(--border); margin-bottom: 20px;
}
.pay-summary span { color: var(--text-secondary); font-size: 0.88rem; }
.pay-summary b { color: var(--text-primary); font-family: var(--font-display); font-size: 1.1rem; }
.pay-npr { width: 100%; color: var(--text-muted); font-size: 0.8rem; }
.qr-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 18px; }
.qr-tab {
  padding: 11px 19px; border-radius: 11px; cursor: pointer; font-weight: 600; font-size: 0.86rem;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all 0.22s var(--ease);
}
.qr-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }
.qr-tab.active { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.45); color: var(--brand-cyan); }
.qr-panels { position: relative; }
.qr-panel { display: none; }
.qr-panel.active { display: flex; gap: 20px; animation: heroRise 0.3s var(--ease) both; }
.qr-box {
  flex-shrink: 0; width: 172px; height: 172px; border-radius: 15px; padding: 11px;
  background: #fff; border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px -18px rgba(2, 6, 18, 0.8);
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.qr-label { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; font-family: var(--font-display); }
.qr-details {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--brand-cyan);
  padding: 10px 13px; border-radius: 10px; background: rgba(34, 211, 238, 0.05);
  border: 1px dashed rgba(34, 211, 238, 0.3); word-break: break-all;
}
.qr-amount { font-size: 0.86rem; color: var(--text-secondary); }
.qr-amount b { color: var(--warning); font-family: var(--font-display); font-size: 1.05rem; }

/* AutoPay live box (checkout) */
.autopay-box {
  margin-top: 18px; padding: 18px; text-align: center;
  border: 1px solid rgba(34, 211, 238, 0.4); border-radius: 15px;
  background: linear-gradient(130deg, rgba(9, 16, 31, 0.96), rgba(7, 15, 30, 0.95));
  box-shadow: 0 14px 34px -16px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: heroRise 0.35s var(--ease) both;
}
.autopay-box .ap-head { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--brand-cyan); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.ap-message { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.ap-countdown { font-weight: 800; font-size: 1.35rem; margin: 10px 0; color: #7cecc1; font-family: var(--font-display); letter-spacing: 0.02em; }
.ap-unique-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.74rem; color: var(--warning); margin-top: 8px; }
.ap-unique-note i { color: var(--warning); }
.ap-new-btn {
  display: inline-block; margin-top: 10px; border: 1px solid rgba(34, 211, 238, 0.5); border-radius: 10px;
  padding: 9px 18px; background: rgba(34, 211, 238, 0.08); color: var(--brand-cyan);
  cursor: pointer; font-weight: 700; font-size: 0.84rem; transition: all 0.2s;
}
.ap-new-btn:hover { background: rgba(34, 211, 238, 0.15); transform: translateY(-1px); }
.ap-status-row { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.76rem; color: var(--text-muted); margin-top: 10px; }
.ap-loader { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(34, 211, 238, 0.25); border-top-color: var(--brand-cyan); animation: spinSlow 0.8s linear infinite; }

/* dropzone */
.dropzone {
  position: relative; border: 2px dashed rgba(151, 168, 220, 0.3); border-radius: 15px;
  padding: 26px; text-align: center; cursor: pointer; transition: all 0.25s var(--ease);
  background: rgba(151, 168, 220, 0.02); overflow: hidden;
}
.dropzone:hover, .dropzone.drag { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.04); }
.dropzone .dz-ic { font-size: 1.9rem; color: var(--brand-cyan); margin-bottom: 10px; }
.dropzone .dz-t { color: var(--text-primary); font-weight: 600; font-size: 0.92rem; }
.dropzone .dz-s { color: var(--text-muted); font-size: 0.76rem; margin-top: 5px; }
.dropzone .dz-preview { width: 100%; max-height: 200px; object-fit: contain; border-radius: 11px; margin-top: 4px; }
.dropzone.has-file { border-style: solid; border-color: rgba(52, 211, 153, 0.5); padding: 12px; }
.order-recap { border: 1px solid var(--border); border-radius: 13px; padding: 16px 18px; margin: 18px 0; background: rgba(151, 168, 220, 0.03); }
.order-recap > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 0.88rem; border-bottom: 1px dashed rgba(151, 168, 220, 0.08); }
.order-recap > div:last-child { border-bottom: none; }
.order-recap span { color: var(--text-muted); }
.order-recap b { color: var(--text-primary); text-align: right; }

/* ════════════════ TABLES / LISTS ════════════════ */
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th {
  text-align: left; padding: 13px 16px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-strong);
}
.lb-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.92rem; }
.lb-table tr:last-child td { border-bottom: none; }
.lb-table tbody tr { transition: background 0.2s; }
.lb-table tbody tr:hover { background: rgba(34, 211, 238, 0.03); }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-radius: 13px; background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94)); border: 1px solid var(--border); margin-bottom: 9px; transition: all 0.25s var(--ease); }
.lb-row:hover { border-color: rgba(34, 211, 238, 0.35); transform: translateX(4px); }
.lb-pos { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-display); font-size: 0.9rem; background: rgba(151, 168, 220, 0.07); border: 1px solid var(--border); color: var(--text-secondary); flex-shrink: 0; }
.lb-top-1 .lb-pos { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #170c02; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(251, 191, 36, 0.7); }
.lb-top-2 .lb-pos { background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #10151d; border-color: transparent; }
.lb-top-3 .lb-pos { background: linear-gradient(135deg, #d97706, #b45309); color: #170c02; border-color: transparent; }
.lb-name { flex: 1; color: var(--text-primary); font-weight: 600; }
.lb-val { color: var(--brand-cyan); font-family: var(--font-display); font-weight: 700; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.pill.ok, .pill.active { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--success); }
.pill.pending, .pill.warn { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.35); color: var(--warning); }
.pill.bad, .pill.rejected, .pill.expired, .pill.suspended { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: var(--danger); }
.pill.info { background: rgba(79, 141, 255, 0.1); border: 1px solid rgba(79, 141, 255, 0.35); color: var(--brand-blue); }

/* dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.stat-card {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.3); }
.stat-card .sc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.stat-card .sc-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--text-primary); margin-top: 6px; }
.order-card {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: border-color 0.25s;
}
.order-card:hover { border-color: var(--border-strong); }
.order-card .oc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.order-card .oc-name { font-weight: 700; color: var(--text-primary); font-family: var(--font-display); }
.order-card .oc-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }
.order-card .oc-meta b { color: var(--text-secondary); font-weight: 600; }

/* ════════════════ FAQ / RULES / CONTENT ════════════════ */
.faq-item {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 13px; overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: rgba(34, 211, 238, 0.35); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; color: var(--text-primary); font-weight: 650; font-size: 1rem; font-family: var(--font-display); }
.faq-q i { color: var(--brand-violet); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--brand-cyan); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--text-secondary); line-height: 1.75; font-size: 0.94rem; }
.faq-item.open .faq-a { display: block; animation: heroRise 0.3s var(--ease) both; }
.rule-card {
  display: flex; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.9), rgba(8, 13, 27, 0.94));
  border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.rule-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.3); box-shadow: 0 26px 54px -26px rgba(2, 6, 18, 0.9); }
.rule-number {
  flex: 0 0 74px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.16));
  border-right: 1px solid var(--border); color: var(--brand-cyan);
  font-size: 1.8rem; font-weight: 800; font-family: var(--font-display);
}
.rule-content { flex: 1; padding: 22px 24px; }
.rule-content h3 { color: var(--text-primary); margin-bottom: 8px; font-size: 1.12rem; font-weight: 650; }
.rule-content p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; }
.rules-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.consequences-card {
  background: rgba(139, 92, 246, 0.06); border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-lg); padding: 30px; border-left: 4px solid var(--brand-violet);
}
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { font-size: 1.35rem; margin: 34px 0 14px; color: var(--text-primary); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; font-size: 0.96rem; }
.legal-body ul { list-style: disc; padding-left: 24px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 48px); }
.contact-info-card {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
}
.ci-row { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px dashed rgba(151, 168, 220, 0.1); }
.ci-row:last-child { border-bottom: none; }
.ci-icon { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: rgba(34, 211, 238, 0.09); border: 1px solid rgba(34, 211, 238, 0.25); color: var(--brand-cyan); }
.ci-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.ci-value { color: var(--text-primary); font-weight: 600; font-size: 0.94rem; word-break: break-all; }

/* ════════════════ JOIN CTA ════════════════ */
.join-cta { position: relative; padding: clamp(72px, 8.5vw, 110px) 0; overflow: hidden; isolation: isolate; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(560px 240px at 50% -40%, rgba(34, 211, 238, 0.14), transparent 70%),
    linear-gradient(135deg, rgba(13, 20, 37, 0.96), rgba(8, 13, 27, 0.98));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
  box-shadow: var(--shadow-lg), 0 40px 100px -50px rgba(34, 211, 238, 0.6);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(151, 168, 220, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151, 168, 220, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 90%);
  mask-image: radial-gradient(70% 80% at 50% 0%, #000 30%, transparent 90%);
}
.cta-card h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 16px; }
.cta-card p { color: var(--text-secondary); max-width: 520px; margin: 0 auto 30px; line-height: 1.75; }
.ip-chip-lg {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 1rem; color: var(--text-primary); cursor: pointer;
  transition: all 0.25s var(--ease); margin-bottom: 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ip-chip-lg:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); transform: translateY(-2px); }
.ip-chip-lg .ip-copy { font-family: var(--font-body); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; color: var(--brand-cyan); padding: 4px 9px; border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 7px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════ FOOTER ════════════════ */
.footer { position: relative; background: rgba(4, 6, 14, 0.6); border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 76px) 0 26px; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(92%, 620px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), rgba(139, 92, 246, 0.3), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .fb-logo { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.12)); display: flex; align-items: center; justify-content: center; }
.footer-brand .fb-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand .fb-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text-primary); }
.footer-brand .fb-name em { font-style: normal; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 20px; max-width: 320px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all 0.25s var(--ease); font-size: 1.05rem;
}
.social-links a:hover { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.45); color: var(--brand-cyan); transform: translateY(-3px); }
.footer h3, .footer-title { color: var(--text-primary); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-display); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: 0.7rem; color: var(--brand-violet); opacity: 0; transform: translateX(-4px); transition: all 0.2s; }
.footer-links a:hover { color: var(--brand-cyan); transform: translateX(3px); }
.footer-links a:hover i { opacity: 1; transform: none; }
.footer-server {
  background: rgba(151, 168, 220, 0.03); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; cursor: pointer; transition: all 0.25s var(--ease);
}
.footer-server:hover { border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.04); }
.footer-server .fs-label { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-server .fs-ip { font-family: var(--font-mono); font-size: 0.95rem; color: var(--brand-cyan); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.footer-server .fs-ip .copy-tag { font-family: var(--font-body); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; color: var(--text-muted); border: 1px solid var(--border); padding: 4px 8px; border-radius: 6px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem;
}
.footer-bottom a { color: var(--brand-cyan); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ════════════════ FLOATING UI ════════════════ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2.5px; width: 0; background: linear-gradient(90deg, var(--brand-cyan), var(--brand-violet), var(--brand-magenta)); z-index: 9998; pointer-events: none; }
.back-to-top {
  position: fixed; bottom: 96px; left: 24px; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(10, 16, 31, 0.85); border: 1px solid var(--border-strong); color: var(--text-primary);
  font-size: 0.92rem; cursor: pointer; z-index: 998; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s, border-color 0.25s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.back-to-top.visible { opacity: 1; transform: none; visibility: visible; }
.back-to-top:hover { border-color: var(--brand-cyan); }
.network-status {
  position: fixed; bottom: 24px; left: 24px; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10, 16, 31, 0.85); border: 1px solid var(--border); color: var(--text-secondary);
  padding: 11px 20px; border-radius: 999px; z-index: 997; font-size: 0.76rem; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.25s, color 0.25s; cursor: pointer;
}
.network-status:hover { border-color: rgba(52, 211, 153, 0.45); color: var(--text-primary); }
.floating-chat { position: fixed; bottom: 24px; right: 24px; z-index: 997; }
.chat-btn {
  width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #5865f2, #7c8bff); border: none; color: #fff; font-size: 1.3rem;
  position: relative; box-shadow: 0 10px 28px -8px rgba(88, 101, 242, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.chat-btn::before { content: ''; position: absolute; inset: -5px; border-radius: 20px; border: 1px solid rgba(88, 101, 242, 0.55); opacity: 0; animation: chatRing 3.2s ease-out infinite; }
.chat-btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 36px -8px rgba(88, 101, 242, 0.8); }

/* toasts */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 13px;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.98), rgba(8, 13, 27, 0.99));
  border: 1px solid var(--border-strong); color: var(--text-primary); font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 24px 54px -18px rgba(2, 6, 18, 0.9); max-width: 360px;
  animation: toastIn 0.35s var(--ease) both;
}
.toast i { font-size: 1rem; }
.toast.ok i { color: var(--success); }
.toast.err i { color: var(--danger); }
.toast.out { animation: toastOut 0.3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* misc helpers */
.error-hero { text-align: center; padding: clamp(80px, 12vh, 140px) 20px; }
.error-hero .eh-code, .error-code { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: 1; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 10px 40px rgba(79, 141, 255, 0.3)); }
.error-hero p { color: var(--text-secondary); max-width: 460px; margin: 18px auto 30px; }
.divider-orb { position: relative; }

/* page scaffolding (dashboard etc.) */
.page { padding: 40px 0 80px; position: relative; }
.page-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 12px; }
.page-sub { color: var(--text-secondary); font-size: 1.02rem; }

/* dashboard */
.dash-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 26px; align-items: start; }
.dash-profile {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; text-align: center;
}
.avatar-lg {
  width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--brand-cyan);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 18px 44px -18px rgba(34, 211, 238, 0.5);
}
.dash-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.dash-ign, .dash-mail { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 6px; word-break: break-all; }
.dash-ign i, .dash-mail i { color: var(--brand-violet); font-size: 0.8rem; }
.dash-meta { margin: 18px 0; border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.dash-meta > div { display: flex; justify-content: space-between; font-size: 0.84rem; }
.dash-meta span { color: var(--text-muted); }
.dash-meta b { color: var(--text-primary); font-family: var(--font-display); }
.dash-main { min-width: 0; }
.dash-h { font-size: 1.25rem; font-weight: 650; margin-bottom: 18px; display: flex; align-items: center; font-family: var(--font-display); }
.dash-h i { color: var(--brand-cyan); margin-right: 10px; }
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95));
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.order-card:hover { border-color: rgba(34, 211, 238, 0.3); transform: translateY(-2px); }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.order-name { font-weight: 700; color: var(--text-primary); font-family: var(--font-display); font-size: 1.06rem; }
.order-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.8rem; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-pending { background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.35); color: var(--warning); }
.badge-active, .badge-completed { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--success); }
.badge-rejected, .badge-expired, .badge-suspended { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: var(--danger); }
.countdown {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 12px;
  padding: 11px 15px; border-radius: 11px; font-size: 0.84rem;
  background: rgba(34, 211, 238, 0.05); border: 1px dashed rgba(34, 211, 238, 0.3); color: var(--text-secondary);
}
.countdown .cd-val { color: var(--brand-cyan); font-family: var(--font-display); font-weight: 700; }
.countdown .cd-date { color: var(--text-muted); font-size: 0.76rem; }
.cd-suspended { background: rgba(248, 113, 113, 0.06); border-color: rgba(248, 113, 113, 0.3); color: var(--danger); }
.empty-state { text-align: center; padding: 60px 30px; border-radius: var(--radius-lg); background: rgba(151, 168, 220, 0.02); border: 1px dashed var(--border-strong); }
.empty-ic { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 10px; font-size: 1.2rem; }
.empty-state p { color: var(--text-secondary); margin-bottom: 20px; max-width: 420px; margin-inline: auto; }
.empty-state .btn { margin-top: 4px; }
@media (max-width: 980px) { .dash-grid { grid-template-columns: 1fr; } .dash-profile { position: static; } }

/* order success */
.success-card {
  max-width: 640px; margin: 40px auto 80px; text-align: center;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.95), rgba(8, 13, 27, 0.97));
  border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 54px);
  box-shadow: var(--shadow-lg), 0 40px 100px -50px rgba(52, 211, 153, 0.45);
  animation: heroRise 0.5s var(--ease) both;
}
.success-ic { font-size: 3.4rem; margin-bottom: 18px; animation: panelFloat 4s ease-in-out infinite; display: inline-block; }
.success-card h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: 14px; }
.success-card > p { color: var(--text-secondary); line-height: 1.75; }
.success-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0; flex-wrap: wrap; }
.sstep { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-weight: 600; font-size: 0.84rem; }
.sstep span {
  width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: rgba(151, 168, 220, 0.07); border: 1px solid var(--border); font-weight: 700; font-size: 0.78rem;
}
.sstep.done, .sstep.done span { color: var(--success); }
.sstep.done span { background: rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.4); }
.sstep-line { width: 34px; height: 2px; border-radius: 2px; background: var(--border); }
.success-card .lr-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* leaderboard page */
.board-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.board-tab {
  padding: 11px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.86rem;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border); color: var(--text-secondary);
  transition: all 0.22s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.board-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }
.board-tab.active { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.45); color: var(--brand-cyan); }
.board-panel { display: none; }
.board-panel.active { display: block; animation: heroRise 0.35s var(--ease) both; }
.board-empty { text-align: center; color: var(--text-muted); padding: 40px 20px; }

/* leaderboard cards (leaderboards page) */
.lb-card { background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.lb-head { display: flex; align-items: center; gap: 13px; padding: 20px 24px; border-bottom: 1px solid var(--border); background: rgba(151, 168, 220, 0.03); }
.lb-ic { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(224, 85, 212, 0.1)); border: 1px solid rgba(251, 191, 36, 0.25); }
.lb-head h3 { font-size: 1.15rem; font-weight: 650; }
.lb-live { margin-left: auto; color: var(--success); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; display: inline-flex; align-items: center; gap: 7px; }
.lb-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: panelFloat 2s ease-in-out infinite; }
.lb-rows { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.lb-empty { text-align: center; color: var(--text-muted); padding: 26px; font-size: 0.9rem; }
.lb-skel-head { height: 64px; border-radius: var(--radius-lg); margin-bottom: 14px; background: linear-gradient(90deg, rgba(151, 168, 220, 0.05) 25%, rgba(151, 168, 220, 0.11) 50%, rgba(151, 168, 220, 0.05) 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.lb-skel-rows { display: flex; flex-direction: column; gap: 9px; }
.lb-skel-rows div { height: 54px; border-radius: 13px; background: linear-gradient(90deg, rgba(151, 168, 220, 0.04) 25%, rgba(151, 168, 220, 0.09) 50%, rgba(151, 168, 220, 0.04) 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }

/* hero subtitle + mini stats (inner pages) */
.hero-subtitle { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-secondary); max-width: 620px; line-height: 1.75; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.hstat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hstat b { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; color: #fff; }
.hstat span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* profile page */
.form-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .frow2 { grid-template-columns: 1fr; } }

/* gamemode detail sections */
.gm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.gm-card { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(13, 20, 37, 0.92), rgba(8, 13, 27, 0.95)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; scroll-margin-top: calc(var(--nav-h) + 20px); transition: transform 0.3s var(--ease), border-color 0.3s; }
.gm-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.35); }
.gm-card .gm-icon { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 18px; background: linear-gradient(135deg, rgba(87, 217, 122, 0.13), rgba(34, 211, 238, 0.13)); border: 1px solid rgba(87, 217, 122, 0.28); color: var(--mc-green); }
.gm-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.gm-card .gm-tag { display: inline-block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.2); padding: 4px 11px; border-radius: 999px; margin-bottom: 14px; }
.gm-card p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.75; margin-bottom: 16px; }
.gm-card .gm-list li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px dashed rgba(151, 168, 220, 0.08); }
.gm-card .gm-list li:last-child { border-bottom: none; }
.gm-check { color: var(--mc-green); flex-shrink: 0; }

/* ════════════════ SCROLL REVEAL ════════════════ */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
html.js .reveal.reveal-in, html.js .reveal.active { opacity: 1; transform: none; }
html.js .cards-grid > .reveal:nth-child(2), html.js .modes-grid > .reveal:nth-child(2), html.js .features-grid > .reveal:nth-child(2), html.js .fp-grid > .reveal:nth-child(2), html.js .steps-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
html.js .cards-grid > .reveal:nth-child(3), html.js .modes-grid > .reveal:nth-child(3), html.js .features-grid > .reveal:nth-child(3), html.js .fp-grid > .reveal:nth-child(3), html.js .steps-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
html.js .cards-grid > .reveal:nth-child(4), html.js .modes-grid > .reveal:nth-child(4), html.js .features-grid > .reveal:nth-child(4), html.js .fp-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
html.js .cards-grid > .reveal:nth-child(5), html.js .fp-grid > .reveal:nth-child(5) { transition-delay: 0.32s; }
html.js .fp-grid > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 680px; margin: 0 auto; }
  .hero-desc { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 46px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .stat-item:not(:last-child)::after { display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .network-status { display: none; }
  .back-to-top { bottom: 20px; left: 20px; }
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-panel { animation: none; }
  .feat-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 104px; padding-bottom: 64px; }
  .hero-visual { display: none; }
  .hero-scroll-indicator { display: none; }
  .cards-grid, .modes-grid, .features-grid, .fp-grid, .cat-grid, .dash-grid, .gm-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .floating-chat { bottom: 18px; right: 18px; }
  .chat-btn { width: 50px; height: 50px; font-size: 1.2rem; }
  .hp-meters { grid-template-columns: 1fr; }
  .qr-panel.active { flex-direction: column; align-items: center; }
  .qr-box { width: 200px; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .stats-grid { padding: 22px 18px; }
  .wizard-steps .wstep span:not(.wstep-n) { display: none; }
}

/* Touch devices: keep color feedback, drop motion */
@media (hover: none) {
  .service-card:hover, .why-card:hover, .step-card:hover, .feature-card:hover, .mode-card:hover,
  .fp-card:hover, .cat-card:hover, .btn-primary:hover, .btn-glass:hover, .back-to-top:hover { transform: none !important; }
  .feature-card:hover .card-icon-lg, .mode-card:hover .card-icon-lg, .cat-card:hover .cc-icon { transform: none; }
}

/* Reduced motion: everything readable & static */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero-panel, .premium-orb-core { animation: none !important; }
  .typing-text { border-right-color: transparent; }
}

/* ═══════════════════════════════════════════════════════════════════
   v3.1 — "View Rewards" (product page lightbox)
   ═══════════════════════════════════════════════════════════════════ */
.rewards-cta { margin: 6px 0 18px; }
.rewards-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 13px; font-size: 0.95rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.10), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.28);
  position: relative; overflow: hidden;
}
.rewards-btn:hover { border-color: rgba(34, 211, 238, 0.55); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(34, 211, 238, 0.45); }
.rewards-btn .rewards-hint {
  font-size: 0.72rem; font-weight: 500; color: var(--text-muted);
  padding-left: 12px; border-left: 1px solid var(--border-strong);
}

.rewards-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2, 5, 14, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 20px; opacity: 0; transition: opacity 0.22s var(--ease);
}
.rewards-modal.open { opacity: 1; }
.rewards-modal[hidden] { display: none; }
.rewards-modal-box {
  position: relative; width: min(680px, 100%); max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, #0d1425, #080d1b);
  border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 40px 120px -30px rgba(2, 6, 18, 0.95);
  padding: 26px; transform: translateY(14px) scale(0.98); transition: transform 0.22s var(--ease);
}
.rewards-modal.open .rewards-modal-box { transform: none; }
.rewards-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 11px;
  background: rgba(151, 168, 220, 0.08); border: 1px solid var(--border-strong);
  color: var(--text-secondary); font-size: 1.25rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.rewards-close:hover { color: var(--text-primary); border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.08); }
.rewards-modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-right: 46px; }
.rewards-modal-ic {
  width: 52px; height: 52px; flex: none; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(34, 211, 238, 0.3); color: var(--brand-cyan);
}
.rewards-modal-head h3 { font-size: 1.25rem; }
.rewards-modal-head p { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.rewards-modal-body img {
  display: block; width: 100%; border-radius: 14px;
  border: 1px solid var(--border-strong); cursor: zoom-in;
  background: rgba(151, 168, 220, 0.04);
}
.rewards-modal-list { list-style: none; margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.rewards-modal-list li {
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary);
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 13px;
}
.rewards-modal-list li i { color: var(--brand-cyan); font-size: 0.8rem; }

/* ═══════════════════════════════════════════════════════════════════
   v3.1 — VOTE PAGE
   ═══════════════════════════════════════════════════════════════════ */
.vote-hero .ph-glow { top: -120px; }
.vote-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
  margin: 34px 0 10px;
}
.vote-step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 22px; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.vote-step:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); }
.vote-step-n {
  position: absolute; top: -10px; right: 8px; font-family: var(--font-display);
  font-size: 4.4rem; font-weight: 700; color: rgba(151, 168, 220, 0.08); line-height: 1;
}
.vote-step-ic {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.25); color: var(--brand-cyan);
}
.vote-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.vote-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.vote-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px; overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 16px;
}
.vote-card:hover {
  transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 24px 60px -24px rgba(2, 6, 18, 0.9);
}
.vote-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2.5px;
  background: var(--gradient-brand); opacity: 0; transition: opacity 0.3s;
}
.vote-card:hover::before { opacity: 1; }
.vote-card-top { display: flex; align-items: center; gap: 16px; }
.vote-logo {
  width: 64px; height: 64px; flex: none; border-radius: 17px; overflow: hidden;
  border: 1px solid var(--border-strong); background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px -10px rgba(2, 6, 18, 0.7);
}
.vote-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.vote-logo .vote-logo-fallback { font-size: 1.7rem; font-weight: 800; font-family: var(--font-display); color: #0b1224; }
.vote-card-top h3 { font-size: 1.12rem; word-break: break-word; }
.vote-host { font-size: 0.74rem; color: var(--text-muted); margin-top: 3px; word-break: break-all; }
.vote-card p.vote-desc { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.6; min-height: 2.8em; }
.vote-reward {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 0.78rem; font-weight: 700; color: #ffe3a1;
  background: rgba(245, 196, 81, 0.09); border: 1px solid rgba(245, 196, 81, 0.3);
  border-radius: 999px; padding: 7px 13px;
}
.vote-reward i { font-size: 0.75rem; }
.vote-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vote-timer { font-size: 0.76rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.vote-timer i { color: var(--brand-cyan); font-size: 0.7rem; }
.vote-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem; color: #04121d;
  background: var(--gradient-brand); cursor: pointer; border: 0; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.vote-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(34, 211, 238, 0.55); color: #04121d; }
.vote-btn.voted { opacity: 0.55; transform: scale(0.97); }
.vote-note {
  margin-top: 34px; display: flex; gap: 14px; align-items: flex-start;
  background: rgba(34, 211, 238, 0.05); border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-md); padding: 18px 20px; font-size: 0.87rem; color: var(--text-secondary);
}
.vote-note i { color: var(--brand-cyan); margin-top: 3px; }

@media (max-width: 640px) {
  .vote-grid { grid-template-columns: 1fr; }
  .vote-card-foot { flex-direction: column-reverse; align-items: stretch; }
  .vote-btn { justify-content: center; }
  .vote-timer { justify-content: center; }
}

/* ═══════════════ v3.1.1 CURRENCY SWITCH (navbar INR / NPR) ═══════════════ */
.cur-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(151, 168, 220, 0.05); border: 1px solid var(--border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); flex-shrink: 0;
}
.cur-opt {
  padding: 6px 13px; border: 0; border-radius: 999px; background: transparent;
  color: var(--text-muted); font-family: var(--font-body); font-weight: 800;
  font-size: 0.68rem; letter-spacing: 0.07em; cursor: pointer;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.cur-opt:hover { color: var(--text-secondary); }
html[data-cur="INR"] .cur-opt[data-cur="INR"],
html[data-cur="NPR"] .cur-opt[data-cur="NPR"] {
  background: linear-gradient(115deg, #61e8fa 0%, #54a1ff 48%, #9c75ff 100%);
  color: #030712;
}
/* dual-price wrappers (server renders both, CSS shows only the selected) */
html[data-cur="INR"] .cur-npr { display: none !important; }
html[data-cur="NPR"] .cur-inr { display: none !important; }
@media (max-width: 400px) { .nav-right .cur-switch { display: none; } }

/* ═══════════════ v3.1.2 SOCIAL LOGIN (Discord / Google) ═══════════════ */
.oauth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; color: var(--text-muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }
.oauth-divider::before, .oauth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.oauth-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--border); background: rgba(151, 168, 220, 0.05);
  color: var(--text-primary); font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: all 0.25s var(--ease); text-decoration: none;
}
.oauth-btn:hover { transform: translateY(-2px); border-color: rgba(151, 168, 220, 0.4); color: #fff; }
.oauth-btn i { font-size: 1.05rem; }
.oauth-btn.discord i { color: #5865F2; }
.oauth-btn.discord:hover { border-color: rgba(88, 101, 242, 0.55); background: rgba(88, 101, 242, 0.14); }
.oauth-btn.google i { background: conic-gradient(from -45deg, #EA4335 110deg, #4285F4 110deg 200deg, #34A853 200deg 290deg, #FBBC05 290deg); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oauth-btn.google:hover { border-color: rgba(66, 133, 244, 0.5); background: rgba(66, 133, 244, 0.1); }
.oauth-note, .oauth-email-line { text-align: center; margin-top: 12px; font-size: 0.76rem; color: var(--text-muted); }
.oauth-email-line i { margin-right: 6px; }
.oauth-email-line .mut { color: var(--mc-green); }
/* v3.2.1: copy button inside the oauth mismatch error message */
.oauth-copy-btn {
  display: inline-block; margin-left: 8px; padding: 3px 12px; border-radius: 8px;
  border: 1px solid rgba(151, 168, 220, 0.35); background: rgba(151, 168, 220, 0.12);
  color: var(--accent, #9aa8dc); font-size: 0.72rem; font-weight: 700; cursor: pointer;
  vertical-align: middle;
}
.oauth-copy-btn:hover { background: rgba(151, 168, 220, 0.22); color: #fff; }
.cap-text { text-transform: capitalize; }
@media (max-width: 400px) { .oauth-btns { grid-template-columns: 1fr; } }




/* ═══════════════════════════════════════════════════════════════════
   FOFLARE CLOUD PROMO (home + about)
   ═══════════════════════════════════════════════════════════════════ */

/* small chip in hero trust row */
.ff-hero-chip {
  cursor: pointer; border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07); color: var(--text-primary);
}
.ff-hero-chip:hover { border-color: rgba(34, 211, 238, 0.6); color: var(--brand-cyan); }
.ff-chip-logo { width: 20px; height: 20px; object-fit: contain; display: inline-block; filter: brightness(1.2) saturate(1.25) drop-shadow(0 0 7px rgba(34, 211, 238, 0.5)); }

/* ── big showcase section (home) ── */
.ff-showcase {
  position: relative; padding: clamp(56px, 7vw, 96px) 0;
  overflow: hidden; isolation: isolate;
}
.ff-showcase-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 340px at 18% 30%, rgba(34, 211, 238, 0.12), transparent 65%),
    radial-gradient(700px 340px at 82% 70%, rgba(139, 92, 246, 0.12), transparent 65%);
}
.ff-showcase-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.7; pointer-events: none;
  background-image: linear-gradient(rgba(151, 168, 220, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(151, 168, 220, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 25%, transparent 85%);
  mask-image: radial-gradient(70% 80% at 50% 50%, #000 25%, transparent 85%);
}

/* the promo card itself */
.ff-card {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(13, 20, 37, 0.95), rgba(8, 13, 27, 0.97));
  border: 1px solid rgba(34, 211, 238, 0.3); border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 34px 90px -30px rgba(2, 6, 18, 0.95), 0 28px 70px -40px rgba(34, 211, 238, 0.5);
  overflow: hidden;
}
.ff-card-about { border-color: rgba(139, 92, 246, 0.3); }
.ff-glowline {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), var(--brand-violet), var(--brand-magenta), transparent);
  background-size: 200% auto; animation: gradientShift 5s ease infinite;
}
.ff-corner {
  position: absolute; width: 26px; height: 26px; border: 2px solid rgba(34, 211, 238, 0.55);
  pointer-events: none;
}
.ff-corner-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.ff-corner-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.ff-main { display: flex; gap: clamp(24px, 4vw, 52px); align-items: center; flex-wrap: wrap; }
.ff-brand { display: flex; align-items: center; gap: 22px; flex: 1 1 380px; min-width: 0; }
.ff-logo {
  width: 118px; height: 118px; flex: none; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(130px 130px at 50% 42%, rgba(79, 141, 255, 0.28), rgba(13, 20, 37, 0.92) 72%),
    linear-gradient(180deg, rgba(13, 20, 37, 0.95), rgba(8, 13, 27, 0.97));
  border: 1px solid rgba(79, 141, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 48px -16px rgba(79, 141, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ff-logo:hover { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 26px 56px -16px rgba(79, 141, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.ff-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; filter: brightness(1.14) saturate(1.18) drop-shadow(0 6px 20px rgba(34, 211, 238, 0.4)); }
.ff-logo-fallback { font-size: 2.4rem; color: var(--brand-cyan); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ff-brand-txt { min-width: 0; }
.ff-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-cyan); background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.28); padding: 6px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.ff-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 12px; line-height: 1.15;
}
.ff-sub { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; max-width: 560px; }

/* perk list */
.ff-perks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  flex: 1 1 320px; min-width: 0;
}
.ff-perk {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px;
  background: rgba(151, 168, 220, 0.045); border: 1px solid var(--border);
  border-radius: 14px; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.ff-perk:hover { border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.05); transform: translateY(-3px); }
.ff-perk i {
  width: 38px; height: 38px; flex: none; border-radius: 11px; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.25); color: var(--brand-cyan);
}
.ff-perk b { display: block; color: var(--text-primary); font-size: 0.9rem; margin-bottom: 2px; font-family: var(--font-display); }
.ff-perk span { color: var(--text-muted); font-size: 0.78rem; line-height: 1.5; }

/* action buttons */
.ff-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 3.5vw, 36px); }
.ff-btn-primary {
  flex: 1 1 300px;
  background: linear-gradient(115deg, #22d3ee 0%, #4f8dff 50%, #8b5cf6 100%); color: #030712;
  box-shadow: 0 16px 40px -14px rgba(34, 211, 238, 0.65);
}
.ff-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 48px -14px rgba(34, 211, 238, 0.8); }
.ff-btn-discord { flex: 1 1 220px; }

/* footer line inside CTA cards */
.ff-cta-foot {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted);
}
.ff-cta-foot a { color: var(--text-secondary); transition: color 0.2s; }
.ff-cta-foot a:hover { color: var(--brand-cyan); }
.ff-cta-foot .ff-chip-logo { width: 20px; height: 20px; }

@media (max-width: 720px) {
  .ff-perks { grid-template-columns: 1fr; }
  .ff-brand { flex-direction: column; align-items: flex-start; }
  .ff-actions { flex-direction: column; }
  .ff-btn-primary, .ff-btn-discord { width: 100%; }
}
