/* ============================================================
   CHAMPION TOKENS — Design System (CT Gold Theme)
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg-base:       #020306;
  --bg-surface:    #080b16;
  --bg-card:       rgba(14, 18, 32, 0.94);
  --bg-card-hover: rgba(20, 26, 46, 0.98);
  --border:        rgba(255, 255, 255, 0.12);
  --border-bright: rgba(245, 158, 11, 0.45);

  --gold:          #F59E0B;
  --gold-light:    #FDE68A;
  --gold-bright:   #FBBF24;
  --gold-dark:     #B45309;
  --gold-dim:      rgba(245, 158, 11, 0.15);
  --gold-glow:     rgba(245, 158, 11, 0.4);

  --accent:        #F59E0B;
  --accent-dim:    rgba(245, 158, 11, 0.15);
  --accent-glow:   rgba(245, 158, 11, 0.35);

  --blue:          #38bdf8;
  --blue-dim:      rgba(56, 189, 248, 0.14);
  --purple:        #818cf8;
  --purple-dim:    rgba(129, 140, 248, 0.14);
  --green:         #10b981;
  --green-dim:     rgba(16, 185, 129, 0.14);
  --red:           #ef4444;
  --red-dim:       rgba(239, 68, 68, 0.14);

  --text:          #f8fafc;
  --text-muted:    #cbd5e1;
  --text-faint:    #94a3b8;

  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     34px;
  --radius-2xl:    44px;
  --radius-full:   9999px;

  --shadow-card:   0 18px 50px rgba(0, 0, 0, 0.85);
  --shadow-gold:   0 0 35px var(--gold-glow);

  --nav-h:         70px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:  var(--bg-base);
  color:       var(--text);
  min-height:  100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Premium Dark Atmosphere & Glow ───────────────────────── */
.page-bg {
  position: fixed;
  inset: 0;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 50% -12%, rgba(245, 158, 11, 0.15), transparent 55%),
    radial-gradient(circle at 95% 30%, rgba(56, 189, 248, 0.07), transparent 45%),
    radial-gradient(circle at 5% 75%, rgba(129, 140, 248, 0.06), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Floating animated background icons ────────────────────── */
.floating-icons-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icon-item {
  position: absolute;
  color: var(--gold-bright);
  opacity: 0.18;
  filter: drop-shadow(0 0 14px var(--gold-glow));
  animation: floatDrift ease-in-out infinite alternate;
}

@keyframes floatDrift {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.12;
  }
  50% {
    opacity: 0.22;
  }
  100% {
    transform: translateY(-30px) rotate(14deg) scale(1.1);
    opacity: 0.14;
  }
}

/* ── Custom Theme Range Slider ─────────────────────────────── */
.slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.slider-val-badge {
  color: var(--gold-bright);
  background: var(--gold-dim);
  border: 1px solid var(--border-bright);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}
input[type="range"].ct-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #121624;
  border-radius: var(--radius-full);
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}
input[type="range"].ct-slider:focus {
  border-color: var(--gold-bright);
}
input[type="range"].ct-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 0 0 14px var(--gold-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type="range"].ct-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow: 0 0 22px var(--gold-glow);
}
input[type="range"].ct-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  cursor: pointer;
  border: 2px solid #000;
  box-shadow: 0 0 14px var(--gold-glow);
}

/* ── Navigation ────────────────────────────────────────────── */
.ct-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4, 5, 8, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
}

.ct-nav__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
}

.ct-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
  margin-right: 12px;
}
.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.brand-accent {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 60%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ct-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-link i { width: 16px; height: 16px; }
.nav-link:hover { color: #fff; background: var(--bg-card); }
.nav-link.active {
  color: var(--gold-bright);
  background: var(--gold-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.ct-nav__user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Token pill with + add button */
.ct-nav__token-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.token-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}
.token-pill-coin {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.token-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #000;
  font-weight: 900;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0 12px var(--gold-glow);
}
.token-add-btn i { width: 15px; height: 15px; stroke-width: 3; }
.token-add-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 20px var(--gold-glow);
}

.nav-avatar-wrap {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s;
}
.nav-avatar-wrap:hover { border-color: var(--gold-bright); }
.nav-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.nav-avatar-wrap i { width: 18px; height: 18px; color: var(--text-muted); }

.nav-signout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-signout-btn:hover { color: var(--red); background: var(--red-dim); }
.nav-signout-btn i { width: 18px; height: 18px; }

.ct-nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.ct-nav__hamburger:hover { color: var(--text); background: var(--bg-card); }
.ct-nav__hamburger i { width: 20px; height: 20px; }

.ct-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
}
.ct-nav__mobile .nav-link { padding: 10px 14px; }
.ct-nav__mobile.open { display: flex; }
.mobile-signout {
  margin-top: 8px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
}
.mobile-signout:hover { background: var(--red-dim); }

.ct-nav-spacer { height: var(--nav-h); }

/* ── Layout ────────────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.page-header {
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-header p {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 0.925rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}
.card--glow-gold {
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.15), var(--shadow-card);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
}
.btn i { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary, .btn-gold {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  color: #000;
  box-shadow: 0 4px 18px var(--gold-glow);
}
.btn-primary:hover, .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(245, 158, 11, 0.6);
}
.btn-primary:active, .btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.btn-danger:hover { background: var(--red); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}
.btn-ghost:hover { color: #fff; background: var(--bg-card-hover); border-color: rgba(255, 255, 255, 0.25); }

.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 7px 16px; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-full { width: 100%; justify-content: center; }

.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Discord button */
.btn-discord {
  background: #5865F2;
  color: #fff;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  gap: 12px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(88,101,242,0.45);
}
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88,101,242,0.6);
}
.discord-logo { width: 24px; height: 20px; flex-shrink: 0; }

/* Epic Games button */
.btn-epic {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  gap: 12px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  transition: all 0.2s;
}
.btn-epic:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.epic-logo { width: 22px; height: 22px; flex-shrink: 0; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-select {
  background: rgba(12, 16, 28, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus, .form-select:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold-dim);
}
.form-select option { background: var(--bg-surface); color: var(--text); }

/* Quick wager pills */
.wager-shortcuts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.wager-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--gold-light);
  background: var(--gold-dim);
  cursor: pointer;
  transition: all 0.15s;
}
.wager-pill:hover {
  border-color: var(--gold-bright);
  background: var(--gold);
  color: #000;
  transform: translateY(-1px);
}

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 560px;
  transform: translateY(16px);
  transition: transform 0.2s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 40px rgba(245, 158, 11, 0.15);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.modal-title i { width: 22px; height: 22px; color: var(--gold-bright); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--text); background: var(--bg-card); }
.modal-close i { width: 18px; height: 18px; }

.modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* ── Grid layouts ──────────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }

/* ── Stat Cards ────────────────────────────────────────────── */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.stat-icon i { width: 20px; height: 20px; }
.stat-icon--gold   { background: var(--gold-dim);   color: var(--gold-bright);   }
.stat-icon--accent { background: var(--blue-dim);   color: var(--blue); }
.stat-icon--purple { background: var(--purple-dim); color: var(--purple); }
.stat-icon--green  { background: var(--green-dim);  color: var(--green);  }

.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 1.55rem; font-weight: 800; color: var(--text); }
.stat-value--gold {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Token Balance Hero ────────────────────────────────────── */
.balance-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.12), var(--shadow-card);
}
.balance-card::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}
.balance-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.balance-amount-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px 0;
}
.balance-amount {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FFF9DB 0%, #FDE68A 30%, #F59E0B 80%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.5));
}
.balance-unit { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; }

/* ── Match Cards & Badges ──────────────────────────────────── */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s;
}
.match-card:hover {
  border-color: var(--gold-bright);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(245, 158, 11, 0.12);
}

.match-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.match-card__title  { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.match-card__host   { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

.badge-group { display: flex; align-items: center; gap: 6px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge i { width: 12px; height: 12px; }

/* Team sizes */
.badge-size-1v1 { background: rgba(56, 189, 248, 0.18); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-size-2v2 { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-size-3v3 { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

/* Game modes */
.badge-mode-realistic  { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-mode-zonewars   { background: rgba(239, 68, 68, 0.15);  color: #f87171; }
.badge-mode-boxfights  { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.badge-waiting    { background: var(--gold-dim);   color: var(--gold-bright); }
.badge-in_progress{ background: var(--green-dim);  color: var(--green); }
.badge-completed  { background: var(--bg-card);    color: var(--text-muted); }

.match-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.825rem;
  color: var(--text-muted);
}
.match-meta-item { display: flex; align-items: center; gap: 5px; }
.match-meta-item i { width: 14px; height: 14px; }
.match-meta-item .gold { color: var(--gold-bright); font-weight: 800; }

.match-card__players {
  display: flex;
  align-items: center;
  gap: 6px;
}
.player-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  border: 2px solid var(--border-bright);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.players-count { font-size: 0.75rem; color: var(--text-muted); margin-left: 4px; }

.match-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8125rem;
  font-family: 'Courier New', monospace;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}
.match-code-badge i { width: 12px; height: 12px; }

/* ── Activity / Transaction Feed ───────────────────────────── */
.tx-list { display: flex; flex-direction: column; gap: 4px; }

.tx-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.tx-item:hover { background: var(--bg-card); }

.tx-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.tx-icon i { width: 16px; height: 16px; }
.tx-icon--credit { background: var(--green-dim); color: var(--green); }
.tx-icon--debit  { background: var(--red-dim);   color: var(--red);   }

.tx-info { flex: 1; min-width: 0; }
.tx-desc { font-size: 0.875rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-time { font-size: 0.75rem; color: var(--text-faint); margin-top: 1px; }

.tx-amount { font-size: 0.925rem; font-weight: 800; white-space: nowrap; }
.tx-amount--credit { color: var(--green); }
.tx-amount--debit  { color: var(--red);   }

/* ── Leaderboard ───────────────────────────────────────────── */
.lb-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.lb-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 16px 8px;
}
.lb-row {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  transition: background 0.15s;
}
.lb-row:hover { background: var(--bg-card-hover); }
.lb-row.current-user { border: 1px solid var(--gold-bright); background: var(--gold-dim); }
.lb-row td { padding: 14px 16px; font-size: 0.9rem; }
.lb-row td:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.lb-row td:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.lb-rank { font-weight: 900; font-size: 1rem; color: var(--text-muted); width: 40px; }
.lb-rank--1 { color: var(--gold-bright); }
.lb-rank--2 { color: #c0c0c0; }
.lb-rank--3 { color: #cd7f32; }

.lb-user { display: flex; align-items: center; gap: 10px; }
.lb-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card-hover);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-name { font-weight: 600; }
.lb-tokens { font-weight: 800; color: var(--gold-bright); }

/* ── Shop Cards ────────────────────────────────────────────── */
.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.shop-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 25px rgba(245, 158, 11, 0.15);
}
.shop-card--featured {
  border-color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}
.shop-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.shop-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.shop-coin-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}
.shop-amount {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold-bright);
}
.shop-price  { font-size: 0.95rem; color: var(--text-muted); }
.shop-price strong { color: #fff; font-size: 1.1rem; }

/* ── Profile ───────────────────────────────────────────────── */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}
.profile-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--bg-card-hover);
  border: 3px solid var(--gold-bright);
  box-shadow: 0 0 20px var(--gold-glow);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar i   { width: 36px; height: 36px; color: var(--text-muted); }
.profile-name  { font-size: 1.45rem; font-weight: 900; }
.profile-email { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.profile-since { font-size: 0.75rem; color: var(--text-faint); margin-top: 6px; }

/* ── Landing Page ──────────────────────────────────────────── */
.landing { min-height: 100vh; display: flex; flex-direction: column; }

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 18, 0.85);
  backdrop-filter: blur(16px);
}
.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 900;
}
.landing-brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 28px;
  position: relative;
}

.hero-logo-large {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 22px var(--gold-glow));
  animation: floatDrift 4s ease-in-out infinite alternate;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}
.hero-eyebrow i { width: 14px; height: 14px; }

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
}
.hero-title .gold-gradient {
  background: linear-gradient(135deg, #FFF9DB 0%, #FDE68A 30%, #F59E0B 80%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(245, 158, 11, 0.4));
}

.hero-sub {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.65;
}

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-modes-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.mode-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 24, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.mode-tag i { width: 15px; height: 15px; color: var(--gold-bright); }

.features {
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.features-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 36px;
  color: #ffffff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature-card {
  background: linear-gradient(135deg, rgba(20, 26, 48, 0.96) 0%, rgba(10, 13, 26, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 20px rgba(245, 158, 11, 0.08);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(26, 34, 62, 0.98) 0%, rgba(14, 18, 36, 1) 100%);
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.8), 0 0 30px rgba(245, 158, 11, 0.22);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
}
.feature-icon i { width: 26px; height: 26px; }
.feature-icon--gold   { background: rgba(245, 158, 11, 0.2);  color: var(--gold-bright); border-color: rgba(245, 158, 11, 0.4); }
.feature-icon--blue   { background: rgba(56, 189, 248, 0.2);  color: var(--blue);        border-color: rgba(56, 189, 248, 0.4); }
.feature-icon--purple { background: rgba(129, 140, 248, 0.2); color: var(--purple);      border-color: rgba(129, 140, 248, 0.4); }
.feature-icon--green  { background: rgba(16, 185, 129, 0.2);  color: var(--green);       border-color: rgba(16, 185, 129, 0.4); }
.feature-title { font-size: 1.25rem; font-weight: 800; color: #ffffff; margin-bottom: 10px; }
.feature-desc  { font-size: 0.925rem; color: #cbd5e1; line-height: 1.65; font-weight: 500; }

.footer {
  text-align: center;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ── Section / Utility ─────────────────────────────────────── */
.section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title i { width: 18px; height: 18px; color: var(--gold-bright); }

.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state i { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.4; }
.empty-state p { font-size: 0.9rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.chip-success { background: var(--green-dim); color: var(--green); }
.chip-warn    { background: var(--gold-dim);  color: var(--gold-bright);  }
.chip-muted   { background: var(--bg-card);   color: var(--text-muted); }

/* ── Toast ─────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.ct-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  pointer-events: all;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 340px;
}
.ct-toast.show { opacity: 1; transform: translateY(0); }
.ct-toast i { width: 18px; height: 18px; flex-shrink: 0; }
.ct-toast--success { border-color: rgba(16,185,129,0.4); color: var(--green); }
.ct-toast--error   { border-color: rgba(239,68,68,0.4);   color: var(--red);   }
.ct-toast--info    { border-color: rgba(245,158,11,0.4);  color: var(--gold-bright); }
.ct-toast--warning { border-color: rgba(245,158,11,0.4);  color: var(--gold-bright); }

/* ── Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--border-bright);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Loading Screen ────────────────────────────────────────── */
.page-loading {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  z-index: 500;
}
.page-loading.hidden { display: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .ct-nav__links    { display: none; }
  .ct-nav__user     { display: none; }
  .ct-nav__hamburger{ display: flex; }
  .grid-4, .grid-3  { grid-template-columns: repeat(2, 1fr); }
  .grid-2           { grid-template-columns: 1fr; }
  .balance-amount   { font-size: 2.8rem; }
  .landing-nav      { padding: 16px 20px; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .page-wrap { padding: 20px 16px 48px; }
}

/* ── Premium Pass & Staff Badges ───────────────────────────── */
.username-premium {
  background: linear-gradient(90deg, #FDE68A 0%, #F59E0B 35%, #FFFBEB 50%, #F59E0B 70%, #FDE68A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
  font-weight: 900 !important;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}
@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.badge-staff {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.15) 100%);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: var(--gold-bright);
  border-radius: var(--radius-sm);
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Click to Copy Epic Tag Chip */
.epic-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-top: 4px;
}
.epic-copy-chip:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* Chat System Announcement Message */
.chat-system-announcement {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(13, 16, 26, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin: 6px 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fde68a;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ── Player Titles & Tags ──────────────────────────────────── */
.player-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.title-goated {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #FBBF24;
  box-shadow: 0 0 10px var(--gold-glow);
}
.title-average {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}
.title-the-boss {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(180, 83, 9, 0.25) 100%);
  border: 1px solid rgba(253, 230, 138, 0.7);
  color: #FFFBEB;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
  animation: bossShimmer 3s ease-in-out infinite alternate;
}
@keyframes bossShimmer {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.03); filter: brightness(1.25); }
}

/* ── Profile & Arena Match Banners ─────────────────────────── */
.profile-hero-card.banner-obsidian-flame,
.player-slot-box.banner-obsidian-flame,
.modal-header-banner.banner-obsidian-flame {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24) 0%, rgba(245, 158, 11, 0.14) 50%, rgba(13, 16, 26, 0.95) 100%) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.2) !important;
}
.profile-hero-card.banner-cyber-matrix,
.player-slot-box.banner-cyber-matrix,
.modal-header-banner.banner-cyber-matrix {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24) 0%, rgba(129, 140, 248, 0.14) 50%, rgba(13, 16, 26, 0.95) 100%) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2) !important;
}
.profile-hero-card.banner-golden-royale,
.player-slot-box.banner-golden-royale,
.modal-header-banner.banner-golden-royale {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.32) 0%, rgba(253, 230, 138, 0.18) 50%, rgba(13, 16, 26, 0.95) 100%) !important;
  border-color: rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.28) !important;
}

/* ── Custom Username Colors ────────────────────────────────── */
.usercolor-gold    { color: #FBBF24 !important; }
.usercolor-blue    { color: #38bdf8 !important; }
.usercolor-purple  { color: #c084fc !important; }
.usercolor-green   { color: #34d399 !important; }
.usercolor-red     { color: #f87171 !important; }
.usercolor-rainbow {
  background: linear-gradient(90deg, #f87171, #fbbf24, #34d399, #38bdf8, #c084fc, #f87171);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowScroll 4s linear infinite;
}
@keyframes rainbowScroll {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ── Custom Username Animations ────────────────────────────── */
.anim-shimmer {
  background: linear-gradient(90deg, #FDE68A 0%, #F59E0B 35%, #FFFBEB 50%, #F59E0B 70%, #FDE68A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}
.anim-pulse {
  animation: namePulse 2s ease-in-out infinite alternate;
}
@keyframes namePulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px currentColor); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 10px currentColor); }
}
.anim-glow {
  text-shadow: 0 0 14px currentColor, 0 0 28px currentColor;
}
.anim-glitch {
  animation: nameGlitch 3s infinite;
}
@keyframes nameGlitch {
  0%, 90%, 100% { transform: translate(0,0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, -1px); }
}

/* ── Leaderboard Rank Badges ───────────────────────────────── */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 800;
}
.rank-badge-1 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.2) 100%);
  border: 1px solid #F59E0B;
  color: #FDE68A;
  box-shadow: 0 0 14px var(--gold-glow);
}
.rank-badge-top {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}
.rank-badge-normal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── Shop Chests ───────────────────────────────────────────── */
.chest-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.chest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.7), 0 0 25px rgba(245, 158, 11, 0.2);
  border-color: var(--gold-bright);
}
.chest-icon-glow {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid var(--border-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  margin-bottom: 4px;
}
.timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: monospace;
  color: var(--gold-bright);
}

/* Suppress Netlify floating badges and collaborative drawers */
#netlify-drawer,
[data-netlify-drawer],
.netlify-badge,
iframe[src*="netlify"],
div[class*="netlify-drawer"],
#netlify-identity-widget {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  z-index: -9999 !important;
}
