/* ==========================================================================
   GameSense UI — dark esports theme
   Deep navy base · electric purple primary · neon cyan secondary · gaming green highlight
   ========================================================================== */
:root {
  --gs-bg: #060912;
  --gs-bg-2: #0a0f1f;
  --gs-surface: rgba(16, 23, 48, 0.66);
  --gs-surface-2: rgba(24, 33, 68, 0.72);
  --gs-surface-solid: #0f1630;
  --gs-elevated: #141c3a;
  --gs-border: rgba(140, 155, 255, 0.12);
  --gs-border-strong: rgba(140, 155, 255, 0.24);
  --gs-text: #e7eaf6;
  --gs-text-2: #c3c9e3;
  --gs-muted: #8a93b8;
  --gs-purple: #8b5cf6;
  --gs-purple-2: #a78bfa;
  --gs-purple-deep: #6d28d9;
  --gs-cyan: #22d3ee;
  --gs-cyan-2: #67e8f9;
  --gs-green: #2ee59d;
  --gs-amber: #fbbf24;
  --gs-red: #fb4d6d;
  --gs-radius: 18px;
  --gs-radius-md: 14px;
  --gs-radius-sm: 10px;
  --gs-sidebar: 264px;
  --gs-topbar: 68px;
  --gs-bottomnav: 70px;
  --gs-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --gs-display: 'Rajdhani', 'Inter', system-ui, sans-serif;
  --gs-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gs-grad-primary: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 55%, #4c1d95 100%);
  --gs-grad-accent: linear-gradient(90deg, #8b5cf6 0%, #22d3ee 100%);
  --gs-grad-win: linear-gradient(135deg, #2ee59d 0%, #22d3ee 100%);
  --gs-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --gs-glow: 0 0 0 1px rgba(139, 92, 246, 0.45), 0 10px 32px -8px rgba(124, 58, 237, 0.55);

  --bs-body-bg: var(--gs-bg);
  --bs-body-color: var(--gs-text);
  --bs-body-font-family: var(--gs-font);
  --bs-border-color: var(--gs-border);
  --bs-secondary-color: var(--gs-muted);
  --bs-link-color: var(--gs-cyan);
  --bs-link-hover-color: var(--gs-cyan-2);
  --bs-link-color-rgb: 34, 211, 238;
  --bs-emphasis-color: #fff;
  --bs-tertiary-bg: var(--gs-surface-solid);
}

[data-bs-theme=dark] {
  --bs-body-bg: var(--gs-bg);
  --bs-body-color: var(--gs-text);
  --bs-border-color: var(--gs-border);
  --bs-secondary-bg: var(--gs-surface-solid);
  --bs-tertiary-bg: var(--gs-surface-solid);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--gs-font);
  background: var(--gs-bg);
  color: var(--gs-text);
  min-height: 100vh;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background: light leaks + faint tactical grid */
.gs-ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(700px 480px at 105% 12%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(800px 600px at 70% 120%, rgba(46, 229, 157, 0.07), transparent 60%),
    linear-gradient(180deg, #070a14 0%, #060912 100%);
}
.gs-ambient::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 155, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 155, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

a { color: var(--gs-cyan); text-decoration: none; }
a:hover { color: var(--gs-cyan-2); }
h1, h2, h3, h4, h5, .gs-display { font-family: var(--gs-display); font-weight: 700; letter-spacing: 0.01em; color: #fff; }
h1 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); }
.text-muted, .gs-muted { color: var(--gs-muted) !important; }
.text-2 { color: var(--gs-text-2); }
.gs-mono { font-family: var(--gs-mono); font-size: 0.92em; letter-spacing: 0.02em; }
.text-green { color: var(--gs-green) !important; }
.text-cyan { color: var(--gs-cyan) !important; }
.text-purple { color: var(--gs-purple-2) !important; }
.text-amber { color: var(--gs-amber) !important; }
.text-red { color: var(--gs-red) !important; }
.fw-display { font-family: var(--gs-display); font-weight: 700; }
.gs-grad-text { background: var(--gs-grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

/* ---------- App shell ---------- */
.gs-shell { min-height: 100vh; }
.gs-sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--gs-sidebar); z-index: 1030;
  background: linear-gradient(180deg, rgba(12, 17, 36, 0.92), rgba(8, 11, 24, 0.96));
  border-right: 1px solid var(--gs-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: none; flex-direction: column; padding: 18px 14px;
}
.gs-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--gs-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.03em; padding: 4px 8px 18px; }
.gs-brand:hover { color: #fff; }
.gs-brand svg { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.55)); }
.gs-brand small { display: block; font-family: var(--gs-font); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gs-muted); text-transform: uppercase; margin-top: -4px; }
.gs-nav-label { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gs-muted); padding: 14px 12px 6px; font-weight: 600; }
.gs-nav { list-style: none; margin: 0; padding: 0; }
.gs-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--gs-text-2); font-weight: 500; font-size: 0.93rem;
  transition: background .18s, color .18s, transform .18s; position: relative;
}
.gs-nav a i { font-size: 1.12rem; width: 22px; text-align: center; color: var(--gs-muted); transition: color .18s; }
.gs-nav a:hover { background: rgba(139, 92, 246, 0.09); color: #fff; }
.gs-nav a:hover i { color: var(--gs-purple-2); }
.gs-nav a.active { background: linear-gradient(90deg, rgba(139, 92, 246, 0.24), rgba(139, 92, 246, 0.04)); color: #fff; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.25); }
.gs-nav a.active i { color: var(--gs-cyan); }
.gs-nav a.active::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gs-grad-accent); box-shadow: 0 0 12px var(--gs-purple); }
.gs-nav .gs-pill { margin-left: auto; font-size: 0.7rem; background: var(--gs-red); color: #fff; border-radius: 99px; padding: 1px 7px; font-weight: 700; }
.gs-sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gs-border); }

.gs-main { min-height: 100vh; padding-bottom: calc(var(--gs-bottomnav) + 24px + env(safe-area-inset-bottom)); }
.gs-topbar {
  position: sticky; top: 0; z-index: 1020; height: var(--gs-topbar);
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(6, 9, 18, 0.72); border-bottom: 1px solid var(--gs-border);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.gs-topbar .gs-brand { padding: 0; font-size: 1.25rem; }
.gs-topbar .gs-brand svg { width: 30px; height: 30px; }
.gs-topbar-title { font-family: var(--gs-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin: 0; display: none; }
.gs-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.gs-content { padding: 18px 14px 28px; max-width: 1360px; margin: 0 auto; }

.gs-wallet-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(46, 229, 157, 0.12), rgba(34, 211, 238, 0.08)); border: 1px solid rgba(46, 229, 157, 0.28);
  color: #fff; font-family: var(--gs-display); font-weight: 700; font-size: 1.02rem; white-space: nowrap;
}
.gs-wallet-chip:hover { color: #fff; border-color: rgba(46, 229, 157, 0.55); }
.gs-wallet-chip i.bi-wallet2 { color: var(--gs-green); }
.gs-wallet-chip .gs-plus { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gs-green); color: #04140d; font-size: 0.95rem; }

.gs-icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--gs-text-2);
  background: var(--gs-surface); border: 1px solid var(--gs-border); font-size: 1.15rem; transition: all .18s;
}
.gs-icon-btn:hover, .gs-icon-btn:focus { color: #fff; border-color: var(--gs-border-strong); background: var(--gs-surface-2); }
.gs-icon-btn .gs-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--gs-red); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--gs-bg); }

.gs-avatar { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; border: 1px solid var(--gs-border-strong); background: var(--gs-elevated); }
.gs-avatar-initials { display: inline-grid; place-items: center; color: #fff; font-family: var(--gs-display); font-weight: 700; background: var(--gs-grad-primary); font-size: 1rem; }
.gs-avatar-lg { width: 92px; height: 92px; border-radius: 24px; font-size: 2rem; }
.gs-avatar-sm { width: 32px; height: 32px; border-radius: 9px; font-size: .8rem; }

/* Bottom navigation (mobile) */
.gs-bottomnav {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1030; height: var(--gs-bottomnav);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(12, 17, 36, 0.86); border: 1px solid var(--gs-border-strong); border-radius: 22px;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
}
.gs-bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--gs-muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; padding: 8px 0; position: relative; }
.gs-bottomnav a i { font-size: 1.32rem; transition: transform .2s; }
.gs-bottomnav a.active { color: #fff; }
.gs-bottomnav a.active i { color: var(--gs-cyan); transform: translateY(-2px); filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.6)); }
.gs-bottomnav a.active::after { content: ''; position: absolute; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--gs-grad-accent); }

@media (min-width: 992px) {
  .gs-sidebar { display: flex; }
  .gs-main { margin-left: var(--gs-sidebar); padding-bottom: 32px; }
  .gs-bottomnav { display: none; }
  .gs-topbar { padding: 0 28px; }
  .gs-topbar .gs-brand { display: none; }
  .gs-topbar-title { display: block; }
  .gs-content { padding: 26px 28px 40px; }
}

/* ---------- Cards / surfaces ---------- */
.gs-card {
  background: var(--gs-surface); border: 1px solid var(--gs-border); border-radius: var(--gs-radius);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--gs-shadow); position: relative;
}
.gs-card-body { padding: 18px; }
@media (min-width: 768px) { .gs-card-body { padding: 22px; } }
.gs-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--gs-border); }
.gs-card-head h3, .gs-card-head h2 { margin: 0; font-size: 1.15rem; }
.gs-card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(34, 211, 238, 0.1) 40%, transparent 65%, rgba(46, 229, 157, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.gs-section { margin-bottom: 28px; }
.gs-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gs-section-head h2 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.gs-section-head h2 .gs-tick { width: 6px; height: 22px; border-radius: 3px; background: var(--gs-grad-accent); box-shadow: 0 0 14px rgba(139, 92, 246, 0.7); }
.gs-section-head a { font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.gs-divider { border-top: 1px solid var(--gs-border); margin: 16px 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; letter-spacing: 0.01em; padding: 0.6rem 1.1rem; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 0.8rem 1.4rem; border-radius: 14px; font-size: 1.02rem; }
.btn-sm { padding: 0.38rem 0.75rem; border-radius: 10px; font-size: 0.84rem; }
.btn-gs { color: #fff; border: 0; background: var(--gs-grad-primary); box-shadow: 0 8px 22px -10px rgba(139, 92, 246, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-gs:hover, .btn-gs:focus { color: #fff; box-shadow: var(--gs-glow), inset 0 1px 0 rgba(255, 255, 255, 0.22); background: linear-gradient(135deg, #9d74ff 0%, #7c3aed 55%, #5b21b6 100%); }
.btn-gs:disabled, .btn-gs.disabled { opacity: .55; box-shadow: none; }
.btn-gs-win { color: #04140d; border: 0; background: var(--gs-grad-win); box-shadow: 0 8px 22px -10px rgba(46, 229, 157, 0.9); }
.btn-gs-win:hover { color: #04140d; filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(46, 229, 157, 0.5), 0 10px 28px -8px rgba(46, 229, 157, 0.6); }
.btn-gs-outline { color: #fff; background: rgba(139, 92, 246, 0.06); border: 1px solid rgba(139, 92, 246, 0.45); }
.btn-gs-outline:hover { color: #fff; background: rgba(139, 92, 246, 0.16); border-color: var(--gs-purple); }
.btn-gs-ghost { color: var(--gs-text-2); background: var(--gs-surface); border: 1px solid var(--gs-border); }
.btn-gs-ghost:hover { color: #fff; border-color: var(--gs-border-strong); background: var(--gs-surface-2); }
.btn-gs-danger { color: #fff; background: rgba(251, 77, 109, 0.14); border: 1px solid rgba(251, 77, 109, 0.5); }
.btn-gs-danger:hover { color: #fff; background: rgba(251, 77, 109, 0.28); border-color: var(--gs-red); }
.btn-gs-cyan { color: #031418; background: linear-gradient(135deg, #67e8f9, #22d3ee); border: 0; }
.btn-gs-cyan:hover { color: #031418; filter: brightness(1.06); }

/* ---------- Badges ---------- */
.gs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid transparent; white-space: nowrap; }
.gs-badge-success { color: #7cf5c4; background: rgba(46, 229, 157, 0.12); border-color: rgba(46, 229, 157, 0.35); }
.gs-badge-warning { color: #fcd77a; background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.35); }
.gs-badge-danger { color: #ff9cb0; background: rgba(251, 77, 109, 0.12); border-color: rgba(251, 77, 109, 0.4); }
.gs-badge-info { color: #8beefd; background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.35); }
.gs-badge-muted { color: var(--gs-text-2); background: rgba(140, 155, 255, 0.08); border-color: var(--gs-border-strong); }
.gs-badge-purple { color: #d4c4ff; background: rgba(139, 92, 246, 0.16); border-color: rgba(139, 92, 246, 0.45); }
.gs-badge-live { color: #fff; background: rgba(251, 77, 109, 0.9); border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 18px rgba(251, 77, 109, 0.55); }
.gs-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: gs-pulse 1.4s infinite; }
@keyframes gs-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.gs-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 10px; font-size: 0.8rem; font-weight: 600; color: var(--gs-text-2); background: rgba(140, 155, 255, 0.07); border: 1px solid var(--gs-border); }
.gs-chip i { color: var(--gs-muted); }

/* ---------- Forms ---------- */
.form-label { font-size: 0.84rem; font-weight: 600; color: var(--gs-text-2); margin-bottom: 6px; }
.form-control, .form-select {
  background-color: rgba(8, 12, 28, 0.7); border: 1px solid var(--gs-border-strong); color: #fff; border-radius: 12px; padding: 0.68rem 0.9rem; font-size: 0.96rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.form-control::placeholder { color: #5f6890; }
.form-control:focus, .form-select:focus { background-color: rgba(8, 12, 28, 0.9); color: #fff; border-color: var(--gs-purple); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); }
.form-control:disabled, .form-control[readonly] { background-color: rgba(20, 28, 58, 0.5); color: var(--gs-text-2); }
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238a93b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-select option { background: #0f1630; color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--gs-red); }
.invalid-feedback { color: #ff8fa5; font-size: 0.8rem; }
.form-text { color: var(--gs-muted); font-size: 0.78rem; }
.form-check-input { background-color: rgba(8, 12, 28, 0.8); border-color: var(--gs-border-strong); }
.form-check-input:checked { background-color: var(--gs-purple); border-color: var(--gs-purple); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); border-color: var(--gs-purple); }
.form-switch .form-check-input { width: 2.4em; height: 1.3em; }
.input-group-text { background: rgba(20, 28, 58, 0.8); border: 1px solid var(--gs-border-strong); color: var(--gs-text-2); border-radius: 12px; }
.gs-amount-input { font-family: var(--gs-display); font-size: 2rem !important; font-weight: 700; padding: 0.55rem 0.9rem !important; letter-spacing: 0.02em; }
.gs-otp-input { font-family: var(--gs-display); font-size: 2rem; letter-spacing: 0.6em; text-align: center; font-weight: 700; }
.gs-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-quick button { border-radius: 10px; padding: 6px 14px; font-weight: 700; font-family: var(--gs-display); font-size: 1.02rem; color: var(--gs-text-2); background: rgba(140, 155, 255, 0.06); border: 1px solid var(--gs-border-strong); }
.gs-quick button:hover, .gs-quick button.active { color: #fff; border-color: var(--gs-green); background: rgba(46, 229, 157, 0.1); }
.gs-file-drop { border: 1.5px dashed var(--gs-border-strong); border-radius: 14px; padding: 18px; text-align: center; color: var(--gs-muted); background: rgba(8, 12, 28, 0.45); cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.gs-file-drop:hover { border-color: var(--gs-purple); background: rgba(139, 92, 246, 0.06); }
.gs-file-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gs-file-drop img { max-height: 180px; border-radius: 10px; margin-top: 10px; }

/* ---------- Alerts / toasts ---------- */
.gs-alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--gs-border-strong); background: var(--gs-surface-2); color: var(--gs-text); font-size: 0.92rem; }
.gs-alert i { font-size: 1.15rem; line-height: 1.3; }
.gs-alert-success { border-color: rgba(46, 229, 157, 0.4); background: rgba(46, 229, 157, 0.08); } .gs-alert-success i { color: var(--gs-green); }
.gs-alert-error, .gs-alert-danger { border-color: rgba(251, 77, 109, 0.45); background: rgba(251, 77, 109, 0.08); } .gs-alert-error i, .gs-alert-danger i { color: var(--gs-red); }
.gs-alert-warning { border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.07); } .gs-alert-warning i { color: var(--gs-amber); }
.gs-alert-info { border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.07); } .gs-alert-info i { color: var(--gs-cyan); }
.gs-toasts { position: fixed; z-index: 1090; top: calc(var(--gs-topbar) + 10px); right: 12px; left: 12px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.gs-toasts .gs-alert { pointer-events: auto; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.85); animation: gs-in .35s ease both; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background-color: rgba(15, 22, 48, 0.94); }
.gs-toasts .gs-alert .btn-close { margin-left: auto; }
@media (min-width: 768px) { .gs-toasts { left: auto; width: 420px; } }
@keyframes gs-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.gs-stat { padding: 16px; display: flex; gap: 14px; align-items: center; height: 100%; }
.gs-stat-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--gs-grad-primary); box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.9); }
.gs-stat-icon.cyan { background: linear-gradient(135deg, #22d3ee, #0e7490); box-shadow: 0 8px 20px -8px rgba(34, 211, 238, 0.8); }
.gs-stat-icon.green { background: linear-gradient(135deg, #2ee59d, #059669); box-shadow: 0 8px 20px -8px rgba(46, 229, 157, 0.8); color: #04140d; }
.gs-stat-icon.amber { background: linear-gradient(135deg, #fbbf24, #b45309); box-shadow: 0 8px 20px -8px rgba(251, 191, 36, 0.7); color: #1a1003; }
.gs-stat-icon.red { background: linear-gradient(135deg, #fb4d6d, #9f1239); }
.gs-stat-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gs-muted); font-weight: 600; }
.gs-stat-value { font-family: var(--gs-display); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.1; }
.gs-stat-sub { font-size: 0.78rem; color: var(--gs-muted); }

/* ---------- Wallet card ---------- */
.gs-wallet-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px; color: #fff; min-height: 210px;
  background:
    radial-gradient(380px 220px at 100% 0%, rgba(34, 211, 238, 0.45), transparent 60%),
    radial-gradient(420px 260px at 0% 100%, rgba(46, 229, 157, 0.18), transparent 60%),
    linear-gradient(135deg, #3b1490 0%, #5b21b6 38%, #312e81 70%, #0e2a47 100%);
  box-shadow: 0 24px 60px -24px rgba(124, 58, 237, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.gs-wallet-card::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 14px); pointer-events: none; }
.gs-wallet-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -120px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.gs-wallet-label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.gs-wallet-amount { font-family: var(--gs-display); font-weight: 700; font-size: clamp(2.2rem, 4vw + 1rem, 3.1rem); line-height: 1; margin: 6px 0 14px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.gs-wallet-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.gs-wallet-split div { background: rgba(6, 9, 18, 0.28); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 8px 10px; }
.gs-wallet-split span { display: block; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.gs-wallet-split strong { font-family: var(--gs-display); font-size: 1.12rem; }
.gs-wallet-actions { display: flex; gap: 10px; margin-top: 16px; position: relative; z-index: 1; }
.gs-wallet-actions .btn { flex: 1; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24); backdrop-filter: blur(6px); }
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }

/* ---------- Tournament cards ---------- */
.gs-tcard { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--gs-radius); background: var(--gs-surface); border: 1px solid var(--gs-border); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; color: var(--gs-text); position: relative; }
.gs-tcard:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.45); box-shadow: 0 22px 44px -22px rgba(124, 58, 237, 0.75); color: var(--gs-text); }
.gs-tcard-media { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: #0c1226; }
.gs-tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gs-tcard:hover .gs-tcard-media img { transform: scale(1.05); }
.gs-tcard-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 18, 0) 35%, rgba(6, 9, 18, 0.92) 100%); }
.gs-tcard-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; z-index: 2; gap: 8px; }
.gs-game-tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 99px; background: rgba(6, 9, 18, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.74rem; font-weight: 700; color: #fff; backdrop-filter: blur(8px); }
.gs-game-tag img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.gs-tcard-prize { position: absolute; left: 14px; bottom: 10px; z-index: 2; }
.gs-tcard-prize span { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.gs-tcard-prize strong { font-family: var(--gs-display); font-size: 1.7rem; line-height: 1; color: var(--gs-green); text-shadow: 0 0 22px rgba(46, 229, 157, 0.45); }
.gs-tcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gs-tcard-title { font-family: var(--gs-display); font-weight: 700; font-size: 1.2rem; color: #fff; line-height: 1.15; margin: 0; }
.gs-tcard-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.8rem; color: var(--gs-muted); }
.gs-tcard-meta i { color: var(--gs-purple-2); margin-right: 4px; }
.gs-tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.gs-fee { font-family: var(--gs-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.gs-fee small { display: block; font-family: var(--gs-font); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gs-muted); }
.gs-fee.free { color: var(--gs-cyan); }
.gs-slots { width: 100%; }
.gs-slots-row { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--gs-muted); margin-bottom: 5px; font-weight: 600; }
.gs-slots-row strong { color: var(--gs-text); }
.gs-progress { height: 7px; border-radius: 99px; background: rgba(140, 155, 255, 0.12); overflow: hidden; }
.gs-progress > div { height: 100%; border-radius: inherit; background: var(--gs-grad-accent); box-shadow: 0 0 12px rgba(34, 211, 238, 0.5); transition: width .6s ease; }
.gs-progress.hot > div { background: linear-gradient(90deg, #fbbf24, #fb4d6d); box-shadow: 0 0 12px rgba(251, 77, 109, 0.5); }
.gs-countdown { font-family: var(--gs-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gs-cyan); letter-spacing: 0.02em; }

.gs-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.gs-hscroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .gs-hscroll { grid-auto-columns: minmax(300px, 46%); } }
@media (min-width: 1200px) { .gs-hscroll { grid-auto-columns: minmax(300px, 32%); } }

/* ---------- Game cards ---------- */
.gs-game-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 12px; border-radius: var(--gs-radius); background: var(--gs-surface); border: 1px solid var(--gs-border); color: #fff; transition: transform .2s, border-color .2s, box-shadow .2s; overflow: hidden; height: 100%; }
.gs-game-card::before { content: ''; position: absolute; width: 140px; height: 140px; top: -60px; border-radius: 50%; background: var(--accent, #8b5cf6); opacity: 0.22; filter: blur(30px); transition: opacity .25s; }
.gs-game-card:hover { transform: translateY(-3px); border-color: var(--accent, #8b5cf6); color: #fff; box-shadow: 0 16px 34px -18px var(--accent, #8b5cf6); }
.gs-game-card:hover::before { opacity: 0.4; }
.gs-game-card img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; position: relative; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.8); }
.gs-game-card strong { font-family: var(--gs-display); font-size: 1.05rem; position: relative; line-height: 1.1; }
.gs-game-card small { color: var(--gs-muted); font-size: 0.74rem; position: relative; }
.gs-filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gs-filter-chips::-webkit-scrollbar { display: none; }
.gs-filter-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: var(--gs-surface); border: 1px solid var(--gs-border); color: var(--gs-text-2); font-weight: 600; font-size: 0.86rem; }
.gs-filter-chips a.no-img { padding-left: 14px; }
.gs-filter-chips a img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.gs-filter-chips a.active, .gs-filter-chips a:hover { color: #fff; border-color: var(--gs-purple); background: rgba(139, 92, 246, 0.16); }

.gs-filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gs-filter-form input[type=search] { grid-column: 1 / -1; }
@media (min-width: 992px) { .gs-filter-form { display: flex; } .gs-filter-form select { width: 130px; } .gs-filter-form input[type=search] { width: 190px; } }

/* ---------- Tabs ---------- */
.gs-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(8, 12, 28, 0.6); border: 1px solid var(--gs-border); overflow-x: auto; scrollbar-width: none; }
.gs-tabs::-webkit-scrollbar { display: none; }
.gs-tabs a, .gs-tabs button { flex: 0 0 auto; border: 0; background: transparent; color: var(--gs-muted); font-weight: 600; font-size: 0.88rem; padding: 8px 14px; border-radius: 10px; white-space: nowrap; }
.gs-tabs a.active, .gs-tabs button.active { color: #fff; background: var(--gs-grad-primary); box-shadow: 0 6px 18px -8px rgba(139, 92, 246, 0.95); }
.gs-tabs a:hover:not(.active), .gs-tabs button:hover:not(.active) { color: #fff; }
.gs-tabs .gs-count-badge { margin-left: 6px; font-size: 0.7rem; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.14); }

/* ---------- Hero / banners ---------- */
.gs-hero { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--gs-border-strong); min-height: 260px; background: #0b1026; }
.gs-hero img.gs-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 18, 0.94) 0%, rgba(6, 9, 18, 0.55) 55%, rgba(6, 9, 18, 0.1) 100%); }
.gs-hero-content { position: relative; z-index: 2; padding: 28px 22px; max-width: 640px; }
.gs-hero-content h1, .gs-hero-content h2 { margin-bottom: 8px; }
.gs-hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gs-cyan); margin-bottom: 10px; }
.gs-hero-kicker::before { content: ''; width: 22px; height: 2px; background: var(--gs-cyan); box-shadow: 0 0 10px var(--gs-cyan); }
@media (min-width: 768px) { .gs-hero { min-height: 340px; } .gs-hero-content { padding: 48px 44px; } }
.carousel-indicators [data-bs-target] { width: 22px; height: 4px; border-radius: 4px; background: #fff; }
.gs-hero .carousel-item { min-height: 260px; }
@media (min-width: 768px) { .gs-hero .carousel-item { min-height: 340px; } }

.gs-landing-hero { position: relative; padding: 40px 0 30px; }
.gs-landing-hero h1 { font-size: clamp(2.2rem, 4.5vw + 1rem, 4.1rem); line-height: 1.02; letter-spacing: 0; }
.gs-landing-hero p.lead { color: var(--gs-text-2); font-size: 1.08rem; max-width: 560px; }
.gs-hero-art { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--gs-border-strong); box-shadow: 0 40px 80px -40px rgba(124, 58, 237, 0.8); }
.gs-hero-art img { width: 100%; display: block; }
.gs-floating { position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(10, 15, 31, 0.86); border: 1px solid var(--gs-border-strong); backdrop-filter: blur(10px); font-size: 0.8rem; box-shadow: var(--gs-shadow); }
.gs-floating strong { display: block; font-family: var(--gs-display); font-size: 1.25rem; color: var(--gs-green); }
.gs-step { display: flex; gap: 14px; align-items: flex-start; }
.gs-step-n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--gs-display); font-weight: 700; font-size: 1.2rem; color: #fff; background: var(--gs-grad-primary); box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.9); }

/* ---------- Tournament detail ---------- */
.gs-thero { position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; border: 1px solid var(--gs-border-strong); display: flex; align-items: flex-end; }
.gs-thero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-thero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 18, 0.15) 0%, rgba(6, 9, 18, 0.65) 55%, rgba(6, 9, 18, 0.97) 100%); }
.gs-thero-content { position: relative; z-index: 2; padding: 22px; width: 100%; }
@media (min-width: 768px) { .gs-thero { min-height: 360px; } .gs-thero-content { padding: 32px; } }
.gs-keystats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 576px) { .gs-keystats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gs-keystats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gs-keystat { padding: 12px 14px; border-radius: 14px; background: var(--gs-surface); border: 1px solid var(--gs-border); }
.gs-keystat span { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gs-muted); font-weight: 600; }
.gs-keystat strong { font-family: var(--gs-display); font-size: 1.3rem; color: #fff; }
.gs-keystat.prize { background: linear-gradient(135deg, rgba(46, 229, 157, 0.16), rgba(34, 211, 238, 0.06)); border-color: rgba(46, 229, 157, 0.35); }
.gs-keystat.prize strong { color: var(--gs-green); text-shadow: 0 0 20px rgba(46, 229, 157, 0.35); }
.gs-join-panel { position: sticky; top: calc(var(--gs-topbar) + 16px); }
.gs-mobile-cta { position: fixed; left: 10px; right: 10px; bottom: calc(var(--gs-bottomnav) + 18px + env(safe-area-inset-bottom)); z-index: 1025; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: rgba(12, 17, 36, 0.94); border: 1px solid var(--gs-border-strong); backdrop-filter: blur(16px); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8); }
.gs-cta-spacer { height: 88px; }
@media (min-width: 992px) { .gs-mobile-cta, .gs-cta-spacer { display: none; } }
.gs-prize-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: rgba(140, 155, 255, 0.05); border: 1px solid var(--gs-border); margin-bottom: 8px; }
.gs-rank { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; font-family: var(--gs-display); font-weight: 700; color: #fff; background: rgba(140, 155, 255, 0.12); margin-right: 10px; }
.gs-rank.r1 { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #2b1a00; box-shadow: 0 0 18px rgba(245, 158, 11, 0.5); }
.gs-rank.r2 { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: #111827; }
.gs-rank.r3 { background: linear-gradient(135deg, #fdba74, #c2410c); color: #1c0a00; }
.gs-room { border-radius: 16px; padding: 16px; background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.1)); border: 1px solid rgba(34, 211, 238, 0.35); }
.gs-room-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(6, 9, 18, 0.55); border: 1px solid var(--gs-border-strong); margin-top: 8px; }
.gs-room-field strong { font-family: var(--gs-mono); font-size: 1.15rem; color: #fff; letter-spacing: 0.06em; }
.gs-locked { text-align: center; padding: 22px; border-radius: 16px; border: 1px dashed var(--gs-border-strong); color: var(--gs-muted); }
.gs-locked i { font-size: 2rem; color: var(--gs-purple-2); display: block; margin-bottom: 6px; }
.gs-rules { white-space: pre-line; color: var(--gs-text-2); line-height: 1.65; }
.gs-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.gs-timeline li { position: relative; padding: 0 0 16px 28px; }
.gs-timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gs-purple); box-shadow: 0 0 10px var(--gs-purple); }
.gs-timeline li::after { content: ''; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--gs-border-strong); }
.gs-timeline li:last-child::after { display: none; }
.gs-timeline li.done::before { background: var(--gs-green); box-shadow: 0 0 10px var(--gs-green); }

/* ---------- Lists & tables ---------- */
.gs-list { list-style: none; margin: 0; padding: 0; }
.gs-list > li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gs-border); }
.gs-list > li:last-child { border-bottom: 0; }
.gs-list > li.gs-txn { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
.gs-txn > .collapse, .gs-txn > .collapsing { grid-column: 1 / -1; }
.min-w-0 { min-width: 0; }
@media (max-width: 575.98px) {
  .gs-stat { padding: 12px; gap: 10px; }
  .gs-stat-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 1.1rem; }
  .gs-stat-value { font-size: 1.35rem; }
  .gs-stat-label { font-size: 0.66rem; letter-spacing: 0.08em; }
  .gs-wallet-card { padding: 18px; }
  .gs-wallet-split { gap: 6px; }
  .gs-wallet-split div { padding: 7px 8px; }
  .gs-wallet-split span { font-size: 0.6rem; }
}
.gs-txn-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; background: rgba(140, 155, 255, 0.1); color: var(--gs-text-2); }
.gs-txn-icon.credit { background: rgba(46, 229, 157, 0.12); color: var(--gs-green); }
.gs-txn-icon.debit { background: rgba(251, 77, 109, 0.1); color: #ff8fa5; }
.gs-txn-icon.hold { background: rgba(251, 191, 36, 0.12); color: var(--gs-amber); }
.gs-amt { font-family: var(--gs-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; text-align: right; }
.gs-amt.credit { color: var(--gs-green); }
.gs-amt.debit { color: #fff; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--gs-text); --bs-table-border-color: var(--gs-border); --bs-table-hover-bg: rgba(139, 92, 246, 0.06); --bs-table-hover-color: #fff; --bs-table-striped-bg: rgba(140, 155, 255, 0.03); margin-bottom: 0; }
.table > thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gs-muted); font-weight: 600; border-bottom-color: var(--gs-border-strong); white-space: nowrap; padding: 12px 14px; }
.table > tbody td { padding: 12px 14px; vertical-align: middle; font-size: 0.9rem; }
.gs-empty { text-align: center; padding: 34px 16px; color: var(--gs-muted); }
.gs-empty i { font-size: 2.4rem; display: block; margin-bottom: 8px; background: var(--gs-grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gs-empty h3 { font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.gs-pagination .page-link { background: var(--gs-surface); border-color: var(--gs-border); color: var(--gs-text-2); }
.gs-pagination .page-item.active .page-link { background: var(--gs-purple); border-color: var(--gs-purple); color: #fff; }
.gs-pagination .page-item.disabled .page-link { background: transparent; color: #4b5375; }
.gs-kv { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 8px 14px; font-size: 0.9rem; }
.gs-kv dt { color: var(--gs-muted); font-weight: 500; }
.gs-kv dd { margin: 0; color: #fff; word-break: break-word; }
.gs-copy { cursor: pointer; border: 0; background: rgba(140, 155, 255, 0.1); color: var(--gs-text-2); border-radius: 8px; padding: 3px 8px; font-size: 0.8rem; }
.gs-copy:hover { color: #fff; background: rgba(139, 92, 246, 0.25); }
.gs-copy.copied { color: #04140d; background: var(--gs-green); }

/* ---------- Notifications dropdown ---------- */
.dropdown-menu { background: rgba(14, 20, 42, 0.98); border: 1px solid var(--gs-border-strong); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); padding: 6px; --bs-dropdown-link-color: var(--gs-text-2); --bs-dropdown-link-hover-bg: rgba(139, 92, 246, 0.12); --bs-dropdown-link-hover-color: #fff; --bs-dropdown-divider-bg: var(--gs-border); }
.dropdown-item { border-radius: 10px; padding: 8px 12px; font-size: 0.9rem; }
.gs-notif-menu { width: min(380px, 92vw); max-height: 70vh; overflow-y: auto; }
.gs-notif { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--gs-text-2); }
.gs-notif:hover { background: rgba(139, 92, 246, 0.1); color: #fff; }
.gs-notif.unread { background: rgba(34, 211, 238, 0.06); }
.gs-notif.unread .gs-notif-title::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gs-cyan); margin-left: 6px; vertical-align: middle; box-shadow: 0 0 8px var(--gs-cyan); }
.gs-notif-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(139, 92, 246, 0.14); color: var(--gs-purple-2); }
.gs-notif-title { font-weight: 600; color: #fff; font-size: 0.9rem; }
.gs-notif-msg { font-size: 0.82rem; color: var(--gs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gs-notif-time { font-size: 0.72rem; color: #5f6890; }

/* ---------- Auth ---------- */
.gs-auth { min-height: 100vh; display: grid; }
@media (min-width: 992px) { .gs-auth { grid-template-columns: 1.05fr 1fr; } }
.gs-auth-art { display: none; position: relative; overflow: hidden; border-right: 1px solid var(--gs-border); }
@media (min-width: 992px) { .gs-auth-art { display: flex; flex-direction: column; justify-content: space-between; padding: 44px; } }
.gs-auth-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.gs-auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 9, 18, 0.35), rgba(6, 9, 18, 0.92)); }
.gs-auth-art > * { position: relative; z-index: 2; }
.gs-auth-form { display: flex; align-items: center; justify-content: center; padding: 28px 16px 40px; }
.gs-auth-card { width: 100%; max-width: 470px; }
.gs-auth-card .gs-card-body { padding: 26px 22px; }
@media (min-width: 576px) { .gs-auth-card .gs-card-body { padding: 34px 32px; } }
.gs-feature { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.gs-feature i { font-size: 1.2rem; color: var(--gs-cyan); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 12px; width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; }
.gs-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--gs-muted); padding: 6px; }
.gs-pass-toggle:hover { color: #fff; }

/* ---------- Guest nav / footer ---------- */
.gs-guest-nav { position: sticky; top: 0; z-index: 1030; background: rgba(6, 9, 18, 0.72); border-bottom: 1px solid var(--gs-border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gs-guest-nav .container { display: flex; align-items: center; gap: 14px; height: 68px; }
.gs-guest-nav .gs-brand { padding: 0; font-size: 1.3rem; }
.gs-guest-nav .gs-brand svg { width: 32px; height: 32px; }
.gs-guest-links { display: none; gap: 22px; margin-left: 26px; }
.gs-guest-links a { color: var(--gs-text-2); font-weight: 500; font-size: 0.92rem; }
.gs-guest-links a:hover { color: #fff; }
@media (min-width: 992px) { .gs-guest-links { display: flex; } }
.gs-footer { border-top: 1px solid var(--gs-border); margin-top: 40px; padding: 30px 0 calc(110px + env(safe-area-inset-bottom)); color: var(--gs-muted); font-size: 0.86rem; }
@media (min-width: 992px) { .gs-footer { padding-bottom: 30px; } }
.gs-footer a { color: var(--gs-text-2); }
.gs-footer a:hover { color: #fff; }
.gs-footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.gs-disclaimer { font-size: 0.76rem; color: #6c759c; line-height: 1.55; }

/* ---------- Misc ---------- */
.gs-announce { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.06)); border: 1px solid rgba(139, 92, 246, 0.35); }
.gs-announce i { font-size: 1.3rem; color: var(--gs-cyan); }
.gs-announce.warning { background: linear-gradient(90deg, rgba(251, 191, 36, 0.16), rgba(251, 191, 36, 0.03)); border-color: rgba(251, 191, 36, 0.4); } .gs-announce.warning i { color: var(--gs-amber); }
.gs-announce.danger { background: linear-gradient(90deg, rgba(251, 77, 109, 0.18), rgba(251, 77, 109, 0.03)); border-color: rgba(251, 77, 109, 0.4); } .gs-announce.danger i { color: var(--gs-red); }
.gs-announce.success { background: linear-gradient(90deg, rgba(46, 229, 157, 0.16), rgba(46, 229, 157, 0.03)); border-color: rgba(46, 229, 157, 0.4); } .gs-announce.success i { color: var(--gs-green); }
.gs-qr { background: #fff; padding: 12px; border-radius: 16px; display: inline-block; box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.18), 0 20px 40px -20px rgba(34, 211, 238, 0.7); }
.gs-qr img { width: 220px; height: 220px; object-fit: contain; display: block; }
.gs-stepper { display: flex; gap: 8px; margin-bottom: 18px; }
.gs-stepper div { flex: 1; height: 4px; border-radius: 4px; background: rgba(140, 155, 255, 0.14); }
.gs-stepper div.on { background: var(--gs-grad-accent); box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); }
.gs-step-title { display: flex; align-items: center; gap: 10px; font-family: var(--gs-display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 12px; }
.gs-step-title span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--gs-grad-primary); font-size: 0.95rem; }
.gs-method { display: block; cursor: pointer; }
.gs-method input { position: absolute; opacity: 0; pointer-events: none; }
.gs-method .gs-method-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--gs-border-strong); background: rgba(8, 12, 28, 0.5); transition: all .18s; }
.gs-method .gs-method-box i { font-size: 1.4rem; color: var(--gs-purple-2); }
.gs-method input:checked + .gs-method-box { border-color: var(--gs-purple); background: rgba(139, 92, 246, 0.14); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.gs-method input:focus-visible + .gs-method-box { outline: 2px solid var(--gs-cyan); }
.gs-success-burst { width: 86px; height: 86px; border-radius: 26px; display: grid; place-items: center; margin: 0 auto 14px; font-size: 2.6rem; color: #04140d; background: var(--gs-grad-win); box-shadow: 0 0 0 10px rgba(46, 229, 157, 0.12), 0 0 60px rgba(46, 229, 157, 0.55); animation: gs-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes gs-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.gs-member { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(140, 155, 255, 0.05); border: 1px solid var(--gs-border); }
.gs-member + .gs-member { margin-top: 8px; }
.gs-member.selectable { cursor: pointer; }
.gs-member.selectable:has(input:checked) { border-color: var(--gs-purple); background: rgba(139, 92, 246, 0.12); }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--gs-border); --bs-accordion-btn-color: #fff; --bs-accordion-active-bg: rgba(139, 92, 246, 0.12); --bs-accordion-active-color: #fff; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25); --bs-accordion-color: var(--gs-text-2); }
.accordion-button { font-weight: 600; }
.accordion-button::after { filter: invert(1) brightness(1.4); }
.gs-page-content { color: var(--gs-text-2); line-height: 1.75; }
.gs-page-content h2, .gs-page-content h3 { margin-top: 1.4em; }
.gs-page-content a { text-decoration: underline; }
.modal-content { background: rgba(14, 20, 42, 0.98); border: 1px solid var(--gs-border-strong); border-radius: 20px; }
.modal-header, .modal-footer { border-color: var(--gs-border); }
.btn-close { filter: invert(1) grayscale(1) brightness(2); }
.gs-skeleton { background: linear-gradient(90deg, rgba(140, 155, 255, 0.06), rgba(140, 155, 255, 0.14), rgba(140, 155, 255, 0.06)); background-size: 200% 100%; animation: gs-shimmer 1.4s infinite; border-radius: 8px; }
@keyframes gs-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.gs-reveal { animation: gs-in .45s ease both; }
.gs-install { display: none; }
.gs-install.show { display: flex; }
.gs-badge-verified { color: var(--gs-cyan); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
