:root {
  --fx-bg: #0b0d14;
  --fx-bg-2: #12141d;
  --fx-glass: rgba(255, 255, 255, 0.05);
  --fx-glass-strong: rgba(255, 255, 255, 0.1);
  --fx-glass-border: rgba(255, 255, 255, 0.13);
  --fx-border: rgba(255, 255, 255, 0.08);
  --fx-blue: #0075ff;
  --fx-blue-hover: #095bdb;
  --fx-blue-light: #3b8cff;
  --fx-cyan: #00efff;
  --fx-purple: #7100ff;
  --fx-purple-2: #b173ff;
  --fx-primary: #0075ff;
  --fx-primary-glow: rgba(87, 164, 255, 0.4);
  --fx-accent: #00efff;
  --fx-gold: #ffcc26;
  --fx-gold-glow: rgba(255, 204, 38, 0.32);
  --fx-success: #00b24b;
  --fx-success-glow: rgba(0, 178, 75, 0.32);
  --fx-danger: #ff4d5d;
  --fx-danger-glow: rgba(255, 77, 93, 0.32);
  --fx-text: #f4f6fb;
  --fx-muted: rgba(228, 234, 245, 0.6);
  --fx-radius: 22px;
  --fx-radius-sm: 14px;
  --fx-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  --fx-grad-blue: linear-gradient(135deg, #0075ff, #00c8ff);
  --fx-grad-purple: linear-gradient(135deg, #7100ff, #b173ff);
  --fx-grad-gold: linear-gradient(135deg, #ffcc26, #ff8a00);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse 70% 45% at 15% -10%, rgba(0,117,255,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(113,0,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 8% 95%, rgba(0,239,255,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #080a12 0%, var(--fx-bg) 55%, #0b0d16 100%);
  background-attachment: fixed;
  color: var(--fx-text);
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0,117,255,0.45); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,117,255,0.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,184,255,0.6); }

#fxParticles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ─── Neon Background Orbs (1win style) ─── */
.fx-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fx-orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.fx-orb.o1 {
  width: 520px; height: 520px; top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(0,117,255,0.5), transparent 70%);
  animation: orbDrift1 22s ease-in-out infinite;
}
.fx-orb.o2 {
  width: 460px; height: 460px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(113,0,255,0.42), transparent 70%);
  animation: orbDrift2 26s ease-in-out infinite;
}
.fx-orb.o3 {
  width: 400px; height: 400px; bottom: -120px; left: 22%;
  background: radial-gradient(circle, rgba(0,150,255,0.34), transparent 70%);
  animation: orbDrift3 30s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.12); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 70px) scale(1.08); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.15); }
}

/* ─── Glassmorphism ─── */
.fx-glass,
.fx-stat,
.fx-daily,
.fx-controls,
.fx-game-area,
.fx-auth-card,
.fx-finance-card,
.fx-lb-panel,
.fx-profile-header {
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--fx-border-glass, var(--fx-border));
  border-top-color: rgba(255,255,255,0.16);
  border-left-color: rgba(255,255,255,0.1);
  border-radius: var(--fx-radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    var(--fx-shadow);
}

.fx-glass {
  padding: 1.15rem 1.25rem;
  overflow: hidden;
}
.fx-glass .fx-glass-title { margin-bottom: 0.75rem; }

/* ─── Navbar ─── */
.fx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 1.5rem;
  background: rgba(8,10,18,0.7);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid var(--fx-border);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.fx-logo {
  font-size: 1.4rem; font-weight: 900;
  font-family: 'Unbounded', 'Inter', sans-serif;
  background: linear-gradient(135deg, #00c8ff, #0075ff 55%, #7100ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.fx-logo i { -webkit-text-fill-color: #00efff; font-size: 1.2rem; }
.fx-nav-links { display: flex; align-items: center; gap: 0.45rem; }
.fx-nav-link {
  color: var(--fx-muted); text-decoration: none;
  padding: 0.45rem 0.8rem; border-radius: 14px;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.fx-nav-link:hover, .fx-nav-link.active { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-nav-link i { font-size: 0.9rem; }
.fx-balance {
  background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(0,239,255,0.12));
  border: 1px solid rgba(0,117,255,0.25);
  border-radius: 14px;
  padding: 0.25rem 0.3rem 0.25rem 0.8rem;
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 800;
  color: var(--fx-gold); cursor: default;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.fx-balance-main { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.fx-balance i { color: var(--fx-gold); font-size: 0.9rem; }
.fx-balance-label { color: var(--fx-muted); font-size: 0.55rem; font-weight: 600; margin-right: 2px; }
.fx-balance-plus {
  width: 30px; height: 30px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffcc26, #ff8a00);
  color: #1c1205; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,204,38,0.4);
  transition: all 0.2s;
}
.fx-balance-plus i { color: #1c1205; font-size: 0.95rem; }
.fx-balance-plus:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 20px rgba(255,204,38,0.55); }
.fx-balance-plus:active { transform: scale(0.94); }
.fx-acc-switch { position: relative; display: flex; align-items: center; cursor: pointer; }
.fx-acc-chev { font-size: 0.6rem; color: var(--fx-muted); transition: transform 0.2s; margin: 0 0.3rem 0 0.2rem; }
.fx-acc-switch.open .fx-acc-chev { transform: rotate(180deg); }
.fx-acc-cur { color: var(--fx-gold); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.03em; }
.fx-acc-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  min-width: 250px; max-height: 380px; overflow-y: auto;
  background: rgba(10, 16, 26, 0.97);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 0.6rem;
  opacity: 0; transform: translateY(-6px) scale(0.98);
  pointer-events: none; transition: all 0.18s ease;
  backdrop-filter: blur(14px);
}
.fx-acc-menu.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-acc-menu-title { font-size: 0.65rem; font-weight: 800; color: var(--fx-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.3rem 0.5rem; }
.fx-acc-menu-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0.5rem; }
.fx-acc-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; cursor: pointer;
  transition: all 0.15s; text-align: left;
}
.fx-acc-item:hover { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.35); }
.fx-acc-item.active { background: rgba(0,239,255,0.1); border-color: rgba(0,239,255,0.4); }
.fx-acc-sym {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 0.85rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.15));
  color: var(--fx-gold);
}
.fx-acc-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fx-acc-info .fx-acc-cur { color: var(--fx-text); font-size: 0.72rem; }
.fx-acc-value { color: var(--fx-muted); font-size: 0.62rem; font-weight: 600; }
.fx-acc-check { color: var(--fx-success); font-size: 0.9rem; }
.fx-acc-new {
  width: 100%; padding: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(135deg, rgba(255,204,38,0.18), rgba(255,138,0,0.12));
  border: 1px dashed rgba(255,204,38,0.45);
  border-radius: 12px; color: var(--fx-gold);
  font-size: 0.72rem; font-weight: 800; cursor: pointer;
  transition: all 0.2s;
}
.fx-acc-new:hover { background: linear-gradient(135deg, rgba(255,204,38,0.3), rgba(255,138,0,0.2)); transform: translateY(-1px); }
.fx-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(5,8,14,0.75); backdrop-filter: blur(8px); }
.fx-modal.show { display: flex; }
.fx-modal-box {
  width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto;
  background: rgba(10,16,26,0.98);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
  padding: 1.2rem;
}
.fx-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.fx-modal-title { font-size: 1rem; font-weight: 800; color: var(--fx-text); font-family: 'Unbounded', sans-serif; }
.fx-modal-sub { font-size: 0.66rem; color: var(--fx-muted); margin-top: 3px; }
.fx-modal-close {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: none; border-radius: 10px;
  color: var(--fx-muted); font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.fx-modal-close:hover { background: rgba(255,77,93,0.2); color: var(--fx-danger); transform: rotate(90deg); }
.fx-cur-list { display: flex; flex-direction: column; gap: 6px; }
.fx-cur-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 0.65rem 0.8rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; cursor: pointer; transition: all 0.15s; text-align: left;
}
.fx-cur-item:hover:not(:disabled) { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.4); transform: translateX(3px); }
.fx-cur-item.taken { opacity: 0.45; cursor: not-allowed; }
.fx-cur-sym {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 1rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.12));
  color: var(--fx-gold);
}
.fx-cur-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fx-cur-name { font-size: 0.74rem; font-weight: 700; color: var(--fx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-cur-kind { font-size: 0.58rem; color: var(--fx-muted); font-weight: 600; }
.fx-cur-action { font-size: 0.66rem; font-weight: 800; color: var(--fx-gold); flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.fx-cur-item:disabled .fx-cur-action { color: var(--fx-muted); }
.fx-btn {
  padding: 0.5rem 1.3rem; border-radius: 14px;
  font-size: 0.8rem; font-weight: 800;
  border: none; cursor: pointer;
  transition: all 0.25s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  white-space: nowrap;
}
.fx-btn-primary { background: var(--fx-grad-blue); color: #fff; box-shadow: 0 8px 26px var(--fx-primary-glow); }
.fx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--fx-primary-glow); }
.fx-btn-success { background: linear-gradient(135deg, #00b24b, #00d96a); color: #05281c; box-shadow: 0 8px 26px var(--fx-success-glow); }
.fx-btn-success:hover { transform: translateY(-2px); }
.fx-btn-accent { background: var(--fx-grad-purple); color: #fff; box-shadow: 0 8px 26px rgba(113,0,255,0.4); }
.fx-btn-accent:hover { transform: translateY(-2px); }
.fx-btn-gold { background: var(--fx-grad-gold); color: #1c1205; box-shadow: 0 8px 26px var(--fx-gold-glow); }
.fx-btn-gold:hover { transform: translateY(-2px); }
.fx-btn-ghost { background: var(--fx-glass-strong); color: var(--fx-text); border: 1px solid var(--fx-border); }
.fx-btn-ghost:hover { background: rgba(255,255,255,0.16); }
.fx-btn-sm { padding: 0.32rem 0.9rem; font-size: 0.7rem; }
.fx-btn-lg { padding: 0.7rem 2.2rem; font-size: 0.95rem; border-radius: 16px; }

/* ─── Main ─── */
.fx-main { position: relative; z-index: 1; padding-top: 88px; min-height: 100vh; }
.fx-container { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; }
.fx-section-title {
  font-size: 0.78rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; color: var(--fx-muted);
  margin-bottom: 0.9rem; display: flex; align-items: center; gap: 8px;
}
.fx-section-title i { color: var(--fx-primary); }

/* ─── Hero ─── */
.fx-hero {
  text-align: center; padding: 3rem 1rem 2rem;
  position: relative;
}
.fx-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900;
  font-family: 'Unbounded', 'Inter', sans-serif;
  background: linear-gradient(135deg, #ffffff, #4d9fff 35%, #00efff 65%, #a855ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem; letter-spacing: -1.5px;
  text-shadow: 0 0 50px rgba(0,117,255,0.35);
}
.fx-hero p { color: var(--fx-muted); font-size: clamp(0.82rem, 2vw, 1rem); font-weight: 500; max-width: 540px; margin: 0 auto 1.4rem; }
.fx-hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,117,255,0.14) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}

/* ─── Hero Stats ─── */
.fx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.fx-hero-stat {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; overflow: hidden;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-glass);
  backdrop-filter: blur(18px);
}
.fx-hero-stat-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; font-size: 1.05rem;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.2));
  color: #8ec1ff;
}
.fx-hero-stat-val { font-size: clamp(0.9rem, 1.6vw, 1.15rem); font-weight: 900; color: var(--fx-text); font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.fx-hero-stat-label { font-size: 0.58rem; color: var(--fx-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }

/* ─── Social Panel ─── */
.fx-social-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fx-social-col { min-width: 0; }

/* ─── Jackpot Banner ─── */
.fx-jackpot {
  text-align: center; padding: 1.4rem 1rem; margin-bottom: 1.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,117,255,0.16), transparent 55%),
    radial-gradient(ellipse at 85% 110%, rgba(168,85,255,0.14), transparent 55%),
    linear-gradient(135deg, rgba(255,204,38,0.08), rgba(255,255,255,0.03) 50%, rgba(0,117,255,0.09));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,204,38,0.2);
  border-radius: var(--fx-radius);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.fx-jackpot::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,204,38,0.08), transparent, rgba(0,117,255,0.08), transparent);
  animation: jpSpin 8s linear infinite;
}
@keyframes jpSpin { to { transform: rotate(360deg); } }
.fx-jackpot-inner { position: relative; z-index: 1; }
.fx-jackpot-icon { font-size: 2.2rem; }
.fx-jackpot-amount {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900;
  background: linear-gradient(135deg, #ffe9a3, #ffcc26 40%, #ff8a00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.3rem 0;
  text-shadow: 0 0 40px rgba(255,204,38,0.2);
  font-variant-numeric: tabular-nums;
}
.fx-jackpot-label { color: var(--fx-muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.fx-jackpot-winner { color: var(--fx-muted); font-size: 0.75rem; font-weight: 600; margin-top: 0.4rem; }
.fx-jackpot-winner strong { color: var(--fx-gold); font-weight: 800; }
.fx-jackpot.pulse::before { animation-duration: 1.2s; }
.fx-jackpot.pulse .fx-jackpot-amount { animation: jpPulse 0.5s ease; }
@keyframes jpPulse {
  0% { transform: scale(1); text-shadow: 0 0 20px rgba(255,204,38,0.2); }
  50% { transform: scale(1.05); text-shadow: 0 0 60px rgba(255,204,38,0.9); }
  100% { transform: scale(1); text-shadow: 0 0 40px rgba(255,204,38,0.2); }
}

/* ─── Daily Bonus ─── */
.fx-daily {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--fx-border);
  margin-bottom: 1.5rem; gap: 0.8rem;
}
.fx-daily-left { display: flex; align-items: center; gap: 14px; }
.fx-daily-icon {
  font-size: 2.4rem; line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(255,204,38,0.4));
}
.fx-daily-info h3 { font-size: 1.05rem; font-weight: 900; }
.fx-daily-info p { font-size: 0.75rem; color: var(--fx-muted); font-weight: 500; }
.fx-daily-btn { flex-shrink: 0; min-width: 120px; text-align: center; font-size: 0.85rem; padding: 0.65rem 1.2rem; }

/* ─── Game Cards ─── */
.fx-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 0 1.8rem;
}
.fx-game-card {
  position: relative;
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.16);
  border-left-color: rgba(255,255,255,0.1);
  border-radius: var(--fx-radius);
  padding: 1.6rem 0.8rem 1.3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
  min-height: 160px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 20px rgba(0,0,0,0.2);
}
.fx-game-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(145deg, rgba(0,117,255,0.1) 0%, transparent 50%, rgba(0,239,255,0.06) 100%);
  opacity: 1; transition: opacity 0.3s; border-radius: var(--fx-radius);
  border-radius: var(--fx-radius);
}
.fx-game-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0,117,255,0.5);
  box-shadow: 0 16px 50px var(--fx-primary-glow), inset 0 1px 0 rgba(255,255,255,0.12);
  background: rgba(0,117,255,0.1);
}
.fx-game-icon { font-size: clamp(2.8rem, 4vw, 3.6rem); margin-bottom: 0.6rem; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(0,117,255,0.3)); }
.fx-si { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.fx-si-lg { font-size: 2.4rem; }
.fx-game-icon .fx-si { font-size: 2.8rem; }
.fx-sm .fx-si { font-size: 1rem; }
.fx-sb-game.fx-sb-all { border-color: rgba(0,117,255,0.5); background: linear-gradient(145deg, rgba(0,117,255,0.22), rgba(0,239,255,0.1)); color: #bfe0ff; font-weight: 800; }
.fx-sb-all .fx-bc-ring { width: 24px; height: 24px; border-radius: 8px; background: rgba(0,117,255,0.25); font-size: 0.9rem; }

/* ─── Catalog Page ─── */
.fx-catalog-head { text-align: center; padding: 0.6rem 0 0.4rem; }
.fx-catalog-head h1 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 0.15rem; background: linear-gradient(135deg, #0075ff, #00efff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-catalog-head p { color: var(--fx-muted); font-size: 0.75rem; margin: 0; }
.fx-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; padding: 1.2rem 0 2rem; }
.fx-cat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.4rem 0.9rem 1.1rem; border-radius: 20px; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(0,117,255,0.18), rgba(15,15,28,0.95));
  background: linear-gradient(160deg, color-mix(in srgb, var(--cat-accent) 18%, rgba(15,15,28,0.9)), rgba(15,15,28,0.95));
  border: 1px solid rgba(0,117,255,0.4);
  border-color: color-mix(in srgb, var(--cat-accent) 40%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  min-height: 148px;
}
.fx-cat-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(0,117,255,0.3), transparent 70%); background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--cat-accent) 30%, transparent), transparent 70%); opacity: 0.6; }
.fx-cat-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,117,255,0.45); box-shadow: 0 16px 44px color-mix(in srgb, var(--cat-accent) 45%, transparent); }
.fx-cat-ico { position: relative; z-index: 1; font-size: 3rem; color: #0075ff; color: var(--cat-accent); filter: drop-shadow(0 6px 14px rgba(0,117,255,0.5)); filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--cat-accent) 50%, transparent)); margin-bottom: 0.6rem; }
.fx-cat-ico .fx-si { font-size: 3rem; }
.fx-cat-name { position: relative; z-index: 1; font-weight: 900; color: var(--fx-text); font-size: 1.05rem; margin-bottom: 0.2rem; }
.fx-cat-desc { position: relative; z-index: 1; font-size: 0.66rem; color: var(--fx-muted); font-weight: 600; line-height: 1.35; }
.fx-cat-go { position: absolute; top: 0.6rem; right: 0.7rem; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,117,255,0.3); background: color-mix(in srgb, var(--cat-accent) 30%, transparent); color: #0075ff; color: var(--cat-accent); font-size: 0.75rem; opacity: 0; transition: opacity 0.25s; }
.fx-cat-card:hover .fx-cat-go { opacity: 1; }
@media (max-width: 900px) {
  .fx-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; padding: 1rem 0.7rem 1.4rem; }
  .fx-cat-card { min-height: 122px; padding: 1rem 0.6rem 0.9rem; }
  .fx-cat-ico { font-size: 2.4rem; margin-bottom: 0.4rem; }
  .fx-cat-ico .fx-si { font-size: 2.4rem; }
  .fx-cat-name { font-size: 0.9rem; }
  .fx-cat-desc { font-size: 0.58rem; }
  .fx-cat-go { display: none; }
  .fx-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-social-panel { grid-template-columns: 1fr; }
}
.fx-game-name { font-size: clamp(0.9rem, 1.2vw, 1.05rem); font-weight: 900; color: var(--fx-text); margin-bottom: 0.25rem; position: relative; z-index: 1; letter-spacing: -0.2px; }
.fx-game-desc { font-size: clamp(0.6rem, 0.9vw, 0.7rem); color: var(--fx-muted); font-weight: 600; line-height: 1.3; position: relative; z-index: 1; }
.fx-card-pop { animation: fxCardPop 0.4s cubic-bezier(0.4,0,0.2,1) both; }
@keyframes fxCardPop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.fx-grid-empty { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--fx-muted); font-size: 0.85rem; font-weight: 600; border: 1px dashed var(--fx-border); border-radius: var(--fx-radius); margin-bottom: 1.8rem; }
.fx-grid-empty.show { display: block; }
.fx-grid-empty i { font-size: 2rem; display: block; margin-bottom: 0.5rem; color: var(--fx-primary); }

/* ─── Glass Card ─── */
.fx-glass-title {
  font-size: 0.75rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; color: var(--fx-muted);
  margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}
.fx-glass-title i { color: var(--fx-primary); }

/* ─── Stat Cards ─── */
.fx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem; margin-bottom: 1.5rem;
}
.fx-stat {
  border: 1px solid var(--fx-border);
  padding: 1rem 0.7rem; text-align: center;
  border-radius: var(--fx-radius-sm);
}
.fx-stat-value { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 900; color: var(--fx-text); font-variant-numeric: tabular-nums; }
.fx-stat-label { font-size: 0.6rem; color: var(--fx-muted); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.15rem; }

/* ─── Live Wins ─── */
.fx-live-wins {
  padding: 0.8rem 1rem;
  max-height: 260px; overflow-y: auto;
  border-radius: var(--fx-radius-sm);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.05);
}
.fx-live-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  animation: slideIn 0.3s ease;
  border-radius: 8px;
  transition: background 0.15s;
  min-width: 0;
}
.fx-live-item:hover { background: var(--fx-glass-strong); }
.fx-live-item:last-child { border-bottom: none; }
.fx-live-item > span:first-child { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; }
.fx-live-user { font-weight: 800; color: var(--fx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-live-game { color: var(--fx-muted); font-size: 0.68rem; font-weight: 600; flex-shrink: 0; }
.fx-live-payout { font-weight: 900; color: var(--fx-success); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.fx-live-time { color: var(--fx-muted); font-size: 0.62rem; font-weight: 600; flex-shrink: 0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* ─── Leaderboard ─── */
.fx-lb-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.fx-lb-tab {
  padding: 0.4rem 0.8rem;
  background: var(--fx-glass-strong);
  border: 1px solid var(--fx-border);
  border-radius: 10px; font-size: 0.65rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer;
  transition: all 0.2s;
}
.fx-lb-tab:hover { color: var(--fx-text); }
.fx-lb-tab.active { background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.15)); border-color: rgba(0,117,255,0.4); color: var(--fx-text); }
.fx-lb-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0.45rem 0.3rem;
  font-size: 0.74rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  transition: background 0.15s;
}
.fx-lb-item:hover { background: var(--fx-glass-strong); }
.fx-lb-rank {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 900;
  background: var(--fx-glass-strong);
  flex-shrink: 0;
}
.fx-lb-1 { background: linear-gradient(135deg, #ffe9a3, #ffcc26); color: #1a1a2e; }
.fx-lb-2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #1a1a2e; }
.fx-lb-3 { background: linear-gradient(135deg, #fcd9a0, #d97706); color: #fff; }
.fx-lb-name { flex: 1; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-lb-val { font-weight: 900; color: var(--fx-gold); font-variant-numeric: tabular-nums; }
.fx-lb-level { color: var(--fx-muted); font-size: 0.62rem; font-weight: 700; }

/* ─── Auth ─── */
.fx-auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1rem; }
.fx-auth-card {
  width: 100%; max-width: 420px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 2.4rem;
  position: relative;
}
.fx-auth-card::before {
  content: ''; position: absolute; top: -1px; left: 15%; right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0075ff, #a855ff, transparent);
  border-radius: 3px;
}
.fx-auth-title { font-size: 1.7rem; font-weight: 900; text-align: center; margin-bottom: 0.3rem; }
.fx-auth-sub { text-align: center; color: var(--fx-muted); font-size: 0.82rem; font-weight: 500; margin-bottom: 1.8rem; }
.fx-form-group { margin-bottom: 1.1rem; }
.fx-form-group label {
  display: block; font-size: 0.7rem; font-weight: 800;
  color: var(--fx-muted); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.fx-input {
  width: 100%; padding: 0.75rem 1.1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  color: var(--fx-text); font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s; outline: none;
}
.fx-input:focus { border-color: rgba(0,117,255,0.6); box-shadow: 0 0 0 3px rgba(0,117,255,0.18); }
.fx-input::placeholder { color: var(--fx-muted); font-size: 0.82rem; font-weight: 400; }
.fx-select {
  width: 100%; padding: 0.65rem 1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm);
  color: var(--fx-text); font-size: 0.85rem; font-weight: 600; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(232,242,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.fx-auth-link { text-align: center; margin-top: 1.2rem; font-size: 0.8rem; font-weight: 500; color: var(--fx-muted); }
.fx-auth-link a { color: #4d9fff; text-decoration: none; font-weight: 800; }
.fx-auth-link a:hover { text-decoration: underline; }

/* ─── Tabs ─── */
.fx-tabs {
  display: flex; gap: 0.4rem; margin-bottom: 1.2rem;
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.35rem;
}
.fx-tab {
  flex: 1; padding: 0.6rem; text-align: center;
  border-radius: 10px; font-size: 0.75rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer; transition: all 0.2s;
  border: none; background: none;
}
.fx-tab:hover { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-tab.active { background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.2)); color: var(--fx-text); }

/* ─── Deposit / Withdraw ─── */
.fx-finance-page { max-width: 640px; margin: 0 auto; padding: 1rem; }
.fx-finance-card {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 1.8rem;
  margin-bottom: 1.2rem;
}
.fx-finance-title { font-size: 1.1rem; font-weight: 900; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.fx-currency-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1.1rem; }
.fx-currency-opt {
  padding: 0.8rem 0.3rem; text-align: center;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.fx-currency-opt:hover { background: var(--fx-glass-strong); transform: translateY(-2px); }
.fx-currency-opt.active { border-color: rgba(0,117,255,0.6); background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.12)); box-shadow: 0 0 20px rgba(0,117,255,0.15); }
.fx-currency-opt .sym { display: block; margin-bottom: 4px; }
.fx-currency-opt .name { font-size: 0.66rem; font-weight: 800; color: var(--fx-text); }
.fx-currency-opt .rate { font-size: 0.58rem; font-weight: 600; color: var(--fx-gold); }
.fx-coin-ico { width: 40px; height: 40px; }
.fx-finance-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,117,255,0.22), rgba(0,239,255,0.1));
  border: 1px solid rgba(0,117,255,0.3);
  box-shadow: 0 6px 18px rgba(0,117,255,0.15);
}
.fx-finance-ico .fx-si { font-size: 1.25rem; color: #fff; }
.fx-finance-ico-plus { background: linear-gradient(135deg, rgba(0,178,75,0.28), rgba(0,117,255,0.12)); border-color: rgba(0,178,75,0.4); box-shadow: 0 6px 18px rgba(0,178,75,0.2); }
.fx-finance-ico-plus .fx-si { color: var(--fx-success); }
.fx-finance-ico-withdraw { background: linear-gradient(135deg, rgba(0,239,255,0.28), rgba(0,117,255,0.12)); border-color: rgba(0,239,255,0.4); box-shadow: 0 6px 18px rgba(0,239,255,0.2); }
.fx-finance-ico-withdraw .fx-si { color: var(--fx-accent); }
.fx-address-ico { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--fx-muted); }
.fx-address-ico .fx-coin-ico-sm { width: 20px; height: 20px; opacity: 0.8; }
.fx-btn-ico { width: 16px; height: 16px; color: currentColor; }
.fx-btn-ico .use-fill { fill: currentColor; }
.fx-deposit-steps {
  max-width: 640px; margin: 0 auto 1.2rem; padding: 0.4rem 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.fx-fin-step {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  padding: 0.8rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.fx-fin-step-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,204,38,0.18), rgba(255,138,0,0.1));
  border: 1px solid rgba(255,204,38,0.35);
}
.fx-fin-step-ico .fx-si { font-size: 1rem; color: var(--fx-gold); }
.fx-fin-step b { display: block; font-size: 0.68rem; color: var(--fx-text); }
.fx-fin-step b + span { font-size: 0.6rem; color: var(--fx-muted); font-weight: 600; display: block; }
.fx-input-wrap { position: relative; }
.fx-input-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; color: var(--fx-muted); pointer-events: none;
}
.fx-input-ico .fx-si { font-size: 0.9rem; color: var(--fx-muted); }
.fx-input-with-ico { padding-left: 38px !important; }
.fx-account-sel { cursor: pointer; }
.fx-quote-box {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0,178,75,0.16), rgba(0,117,255,0.1));
  border: 1px solid rgba(0,178,75,0.35);
  border-radius: var(--fx-radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem; font-weight: 700; color: var(--fx-text);
  margin-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  animation: fxQuoteIn 0.25s ease;
}
.fx-quote-box i { color: var(--fx-success); font-size: 0.9rem; }
.fx-quote-box b { color: var(--fx-gold); }
.fx-quote-acc { font-size: 0.62rem; color: var(--fx-muted); font-weight: 600; }
@keyframes fxQuoteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fx-address-box {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.9rem;
  font-family: monospace; font-size: 0.78rem; font-weight: 600; color: var(--fx-cyan);
  word-break: break-all; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.fx-address-box .copy-btn {
  padding: 0.35rem 0.7rem; background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,117,255,0.15));
  border: 1px solid rgba(0,117,255,0.3); border-radius: 8px; color: #8ec1ff;
  cursor: pointer; font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
  transition: all 0.2s;
}
.fx-address-box .copy-btn:hover { background: rgba(0,117,255,0.35); }
.fx-finance-history { font-size: 0.74rem; }
.fx-finance-history table { width: 100%; border-collapse: collapse; }
.fx-finance-history th { text-align: left; padding: 0.5rem 0.5rem; color: var(--fx-muted); font-weight: 800; font-size: 0.62rem; text-transform: uppercase; border-bottom: 1px solid var(--fx-border); }
.fx-finance-history td { padding: 0.45rem 0.5rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* ─── Game Page ─── */
.fx-game-page { padding: 1rem; max-width: 820px; margin: 0 auto; }
.fx-game-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.fx-game-title { font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.fx-game-back { color: var(--fx-muted); text-decoration: none; padding: 0.5rem 0.8rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; transition: all 0.2s; display: flex; align-items: center; gap: 5px; background: var(--fx-glass); border: 1px solid var(--fx-border); }
.fx-game-back:hover { color: var(--fx-text); background: var(--fx-glass-strong); }

/* ─── Controls ─── */
.fx-controls {
  border: 1px solid var(--fx-border);
  padding: 1.1rem; margin-bottom: 1rem;
  border-radius: var(--fx-radius);
}
.fx-controls-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.fx-controls-row .fx-input { width: auto; flex: 1; min-width: 70px; padding: 0.6rem 0.8rem; font-size: 0.8rem; font-weight: 700; }
.fx-bet-presets { display: flex; gap: 0.35rem; }
.fx-bet-preset {
  padding: 0.4rem 0.6rem;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 8px; font-size: 0.66rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer;
  transition: all 0.2s;
}
.fx-bet-preset:hover, .fx-bet-preset.active { background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.15)); border-color: rgba(0,117,255,0.4); color: var(--fx-text); }

/* ─── Game Area ─── */
.fx-game-area {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 1.6rem;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* ─── Profile ─── */
.fx-profile {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 2rem 1.8rem;
  margin-bottom: 1.4rem;
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--fx-shadow);
}
.fx-profile-header { display: flex; align-items: center; gap: 1.4rem; }
.fx-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--fx-grad-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 24px var(--fx-primary-glow);
}
.fx-profile-info h2 { font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-profile-info p { color: var(--fx-muted); font-size: 0.78rem; font-weight: 500; }

/* ─── Level Badge ─── */
.fx-level-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.15));
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 20px; padding: 0.25rem 0.75rem;
  font-size: 0.7rem; font-weight: 900; color: #8ec1ff;
}
.fx-level-bar {
  width: 100%; height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden; margin-top: 0.4rem;
}
.fx-level-bar-fill { height: 100%; background: linear-gradient(90deg, #0075ff, #a855ff); border-radius: 3px; transition: width 0.5s; }
.fx-rank-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 0.25rem 0.75rem; font-size: 0.7rem; font-weight: 900; margin-left: 4px; background: rgba(255,255,255,0.06); }

/* ─── Ranks ─── */
.fx-rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; margin-top: 0.5rem; }
.fx-rank-card {
  background: var(--fx-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm);
  padding: 0.8rem 0.6rem; text-align: center; transition: all 0.2s;
  opacity: 0.55; filter: grayscale(0.6);
}
.fx-rank-card:hover { transform: translateY(-2px); }
.fx-rank-card.active { border-color: rgba(0,117,255,0.6); background: linear-gradient(135deg, rgba(0,117,255,0.18), rgba(168,85,255,0.08)); box-shadow: 0 0 20px rgba(0,117,255,0.15); opacity: 1; filter: none; }
.fx-rank-card.closing:not(.active) { border-color: rgba(255, 179, 0, 0.5); background: linear-gradient(135deg, rgba(255,179,0,0.12), rgba(255,117,0,0.05)); opacity: 0.85; filter: none; }
.fx-rank-icon { font-size: 1.4rem; line-height: 1; }
.fx-rank-name { font-size: 0.72rem; font-weight: 900; margin-top: 0.25rem; }
.fx-rank-min { font-size: 0.6rem; font-weight: 700; color: var(--fx-muted); }
.fx-rank-perks { font-size: 0.58rem; font-weight: 600; color: var(--fx-muted); margin-top: 0.15rem; }

/* ─── Achievements ─── */
.fx-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.6rem; }
.fx-ach-item {
  background: var(--fx-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.9rem 0.6rem; text-align: center;
  transition: all 0.2s;
}
.fx-ach-item:hover { transform: translateY(-2px); }
.fx-ach-item.unlocked { border-color: rgba(0,117,255,0.5); background: linear-gradient(135deg, rgba(0,117,255,0.15), rgba(168,85,255,0.08)); box-shadow: 0 0 20px rgba(0,117,255,0.1); }
.fx-ach-item.locked { opacity: 0.4; filter: grayscale(0.8); }
.fx-ach-icon { font-size: 1.8rem; display: block; margin-bottom: 0.25rem; }
.fx-ach-name { font-size: 0.68rem; font-weight: 900; }
.fx-ach-desc { font-size: 0.58rem; font-weight: 600; color: var(--fx-muted); }

/* ─── History Table ─── */
.fx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-table { width: 100%; border-collapse: collapse; font-size: clamp(0.66rem, 1.5vw, 0.78rem); }
.fx-table th { text-align: left; padding: 0.55rem 0.5rem; color: var(--fx-muted); font-weight: 800; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.8px; border-bottom: 1px solid var(--fx-border); white-space: nowrap; }
.fx-table td { padding: 0.55rem 0.5rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; }
.fx-table tr:hover td { background: var(--fx-glass-strong); }

/* ─── Badge ─── */
.fx-badge { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.fx-badge-win { background: rgba(0,178,75,0.15); color: var(--fx-success); border: 1px solid rgba(0,178,75,0.25); }
.fx-badge-lose { background: rgba(255,77,93,0.15); color: var(--fx-danger); border: 1px solid rgba(255,77,93,0.25); }
.fx-badge-vip { background: linear-gradient(135deg, #ffcc26, #ff4d5d); color: #fff; }
.fx-badge-pending { background: rgba(255,204,38,0.15); color: var(--fx-gold); border: 1px solid rgba(255,204,38,0.25); }
.fx-badge-completed { background: rgba(0,178,75,0.15); color: var(--fx-success); border: 1px solid rgba(0,178,75,0.25); }
.fx-badge-rejected { background: rgba(255,77,93,0.15); color: var(--fx-danger); border: 1px solid rgba(255,77,93,0.25); }

/* ─── Toasts ─── */
.fx-toast-container { position: fixed; top: 78px; right: 1rem; z-index: 999; display: flex; flex-direction: column; gap: 0.6rem; }
.fx-toast {
  padding: 0.8rem 1.1rem; border-radius: var(--fx-radius-sm);
  font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  animation: toastSlide 0.3s ease;
  max-width: 350px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.fx-toast-info { background: rgba(0,117,255,0.3); color: #8ec1ff; }
.fx-toast-success { background: rgba(0,178,75,0.25); color: var(--fx-success); }
.fx-toast-error { background: rgba(255,77,93,0.25); color: var(--fx-danger); }
.fx-toast-win { background: rgba(255,204,38,0.25); color: var(--fx-gold); }
@keyframes toastSlide { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── Loading ─── */
.fx-loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(8,10,18,0.75); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 200; }
.fx-loading.show { display: flex; }
.fx-loader { width: 46px; height: 46px; border: 4px solid rgba(255,255,255,0.1); border-top-color: #0075ff; border-radius: 50%; animation: spin 0.8s linear infinite; box-shadow: 0 0 30px rgba(0,117,255,0.2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Animations ─── */
.anim-fade { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.anim-fade.visible { opacity: 1; transform: translateY(0); }
.anim-stagger > * { opacity: 0; transform: translateY(18px); transition: all 0.45s cubic-bezier(0.4,0,0.2,1); }
.anim-stagger.visible > * { opacity: 1; transform: translateY(0); }
.anim-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.anim-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.anim-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.anim-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.anim-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.anim-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.anim-stagger.visible > *:nth-child(7) { transition-delay: 0.36s; }
.anim-stagger.visible > *:nth-child(8) { transition-delay: 0.42s; }
.anim-stagger.visible > * > * { opacity: 1; transform: translateY(0); }

/* ─── Mobile Bottom Nav ─── */
.fx-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,10,23,0.7); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border-top: 1px solid rgba(255,255,255,0.08); z-index: 100; padding: 0.4rem 0.2rem env(safe-area-inset-bottom, 0.4rem); }
.fx-bottom-nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 0.1rem; }
.fx-bottom-link { color: var(--fx-muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0.25rem 0.4rem; font-size: 0.55rem; font-weight: 800; transition: all 0.2s; }
.fx-bottom-link i { font-size: 1.2rem; }
.fx-bottom-link.active, .fx-bottom-link:hover { color: #4d9fff; }

/* ─── Sound toggle ─── */
.fx-sound-btn {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  color: var(--fx-muted);
  font-size: 1.15rem; cursor: pointer; padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.2s;
}
.fx-sound-btn:hover { color: var(--fx-text); background: var(--fx-glass-strong); }

/* ─── Copy flash ─── */
@keyframes copyFlash { 0%,100% { background: rgba(0,117,255,0.25); } 50% { background: rgba(0,178,75,0.35); } }
.fx-copied { animation: copyFlash 0.6s ease; }

/* ─── Two column sections ─── */
.fx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

/* ─── Responsive ─── */
@media (min-width: 769px) {
  .fx-nav-link span { display: inline; }
  .fx-main { padding-bottom: 1rem; }
}
@media (max-width: 768px) {
  html, body { height: 100%; overflow: hidden; }
  .fx-nav { padding: 0 0.8rem; height: 60px; }
  .fx-logo { font-size: 1.15rem; }
  .fx-logo i { font-size: 1rem; }
  .fx-nav-link { padding: 0.35rem 0.45rem; font-size: 0.68rem; }
  .fx-nav-link span { display: none; }
  .fx-nav-link i { font-size: 1.05rem; }
  .fx-balance { font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 12px; }
  .fx-balance-label { display: none; }
  .fx-main {
    padding-top: 0px; padding-bottom: 0px;
    margin-top: 60px;
    min-height: 0;
    height: calc(100vh - 60px - env(safe-area-inset-bottom, 0px) - 78px);
    height: calc(100dvh - 60px - env(safe-area-inset-bottom, 0px) - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .fx-container { padding-bottom: 1.2rem; }
  .fx-finance-page { padding-bottom: 1.2rem; }
  .fx-game-page { padding-bottom: 1.2rem; }
  .fx-auth-page { min-height: 100%; align-items: flex-start; padding-top: 1.5rem; }
  .fx-auth-card { margin-bottom: 1rem; }
  .fx-container { padding: 0 0.7rem; }
  .fx-games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .fx-game-card { padding: 1.2rem 0.4rem; min-height: 125px; border-radius: 18px; }
  .fx-game-icon { font-size: 2.2rem; margin-bottom: 0.4rem; }
  .fx-game-name { font-size: 0.78rem; }
  .fx-game-desc { display: none; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .fx-stat { padding: 0.7rem 0.5rem; }
  .fx-stat-value { font-size: 1rem; }
  .fx-stat-label { font-size: 0.52rem; }
  .fx-hero { padding: 0.8rem 0.5rem 0.6rem; }
  .fx-hero h1 { font-size: 1.5rem; }
  .fx-hero p { font-size: 0.72rem; margin-bottom: 0.8rem; }
  .fx-hero-stats { gap: 0.5rem; }
  .fx-hero-stat { padding: 0.55rem 0.6rem; gap: 8px; }
  .fx-hero-stat-ico { width: 28px; height: 28px; border-radius: 8px; font-size: 0.9rem; }
  .fx-hero-stat-val { font-size: 0.82rem; }
  .fx-hero-stat-label { font-size: 0.5rem; letter-spacing: 0.3px; }
  .fx-hero-glow { width: 340px; height: 340px; }
  .fx-cols { grid-template-columns: 1fr; gap: 0.7rem; }
  .fx-glass-title { font-size: 0.66rem; }
  .fx-auth-card { padding: 1.8rem 1.4rem; }
  .fx-auth-title { font-size: 1.4rem; }
  .fx-input { padding: 0.65rem 0.9rem; font-size: 0.85rem; }
  .fx-game-page { padding: 0.4rem; }
  .fx-game-header { margin-bottom: 0.6rem; }
  .fx-game-title { font-size: 1.05rem; }
  .fx-controls { padding: 0.75rem; margin-bottom: 0.7rem; border-radius: 16px; }
  .fx-controls-row { gap: 0.4rem; }
  .fx-controls-row .fx-input { font-size: 0.74rem; padding: 0.5rem 0.6rem; min-width: 85px; }
  .fx-bet-preset { padding: 0.3rem 0.45rem; font-size: 0.62rem; }
  .fx-game-area { min-height: 200px; padding: 1rem; border-radius: 16px; }
  .fx-bottom-nav { display: block; }
  .fx-btn { padding: 0.45rem 1rem; font-size: 0.73rem; }
  .fx-btn-sm { padding: 0.3rem 0.7rem; font-size: 0.65rem; }
  .fx-currency-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .fx-finance-page { padding: 0.4rem; }
  .fx-finance-card { padding: 1rem 0.9rem; margin-bottom: 0.8rem; }
  .fx-finance-title { font-size: 0.95rem; margin-bottom: 0.9rem; }
  .fx-jackpot { padding: 0.9rem 0.8rem; margin-bottom: 0.9rem; }
  .fx-jackpot-amount { font-size: 1.8rem; }
  .fx-jackpot-icon { font-size: 1.6rem; }
  .fx-daily { flex-direction: column; text-align: center; gap: 0.6rem; padding: 0.9rem 1rem; margin-bottom: 0.9rem; }
  .fx-daily-left { flex-direction: column; justify-content: center; gap: 8px; }
  .fx-daily-info h3 { font-size: 0.95rem; justify-content: center; }
  .fx-daily-info p { text-align: center; }
  .fx-daily-icon { font-size: 1.9rem; }
  .fx-daily-btn { min-width: 110px; padding: 0.55rem 1rem; }
  .fx-ach-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .fx-profile-header { gap: 1rem; }
  .fx-profile { padding: 1.4rem 1.1rem; }
  .fx-avatar { width: 54px; height: 54px; font-size: 1.4rem; }
  .fx-profile-info h2 { font-size: 1.1rem; flex-direction: column; align-items: flex-start; gap: 4px; }
  .fx-prof-exp { display: block; }
  .fx-live-wins { max-height: 180px; padding: 0.5rem 0.7rem; }
  .fx-live-item { padding: 0.45rem 0.3rem; font-size: 0.74rem; }
  .fx-glass { padding: 0.9rem 0.95rem; }
  .fx-table th, .fx-table td { padding: 0.45rem 0.4rem; }
  .fx-lb-item { padding: 0.4rem 0.3rem; font-size: 0.7rem; }
}
@media (min-width: 401px) and (max-width: 768px) {
  .fx-ach-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .fx-games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-ach-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-currency-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-game-title { font-size: 1rem; }
  .fx-deposit-steps { grid-template-columns: 1fr; gap: 0.5rem; }
}
/* ─── Sidebar ─────────────────────────────────────────────────────── */
.fx-burger {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
  font-size: 1.3rem;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.fx-burger:hover { background: var(--fx-glass-strong); border-color: rgba(0,117,255,0.5); }
.fx-nav .fx-logo { margin-left: 0.8rem; margin-right: auto; }

.fx-sidebar-overlay {
  position: fixed; inset: 0; background: rgba(5,5,15,0.6);
  backdrop-filter: blur(4px); z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.fx-sidebar-overlay.show { opacity: 1; pointer-events: auto; }

.fx-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px;
  background: rgba(13,15,24,0.97);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border-right: 1px solid var(--fx-border);
  z-index: 250;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 20px 0 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.fx-sidebar.show { transform: translateX(0); }
.fx-sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(0,117,255,0.06), transparent);
}
.fx-sidebar-head .fx-logo { font-size: 1.3rem; }
.fx-sidebar-close {
  background: var(--fx-glass); border: 1px solid var(--fx-border);
  color: var(--fx-muted); width: 34px; height: 34px; border-radius: 10px;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.fx-sidebar-close:hover { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-sidebar-section { padding: 1rem 1.1rem 0.2rem; }
.fx-sidebar-caption {
  font-size: 0.62rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--fx-muted); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 7px;
}
.fx-sidebar-caption i { color: var(--fx-primary); }
.fx-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--fx-muted); text-decoration: none;
  padding: 0.6rem 0.8rem; border-radius: 12px;
  font-size: 0.8rem; font-weight: 700; transition: all 0.2s;
  margin-bottom: 3px;
}
.fx-sidebar-link:hover { background: var(--fx-glass); color: var(--fx-text); }
.fx-sidebar-link.active {
  background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.1));
  color: var(--fx-text); border: 1px solid rgba(0,117,255,0.3);
}
.fx-sidebar-link.out { color: var(--fx-danger); }
.fx-sidebar-link.out:hover { background: rgba(255,77,93,0.12); }
.fx-sidebar-btn {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font: inherit; -webkit-appearance: none; appearance: none;
}
.fx-sidebar-btn:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: -2px; }
.fx-sb-games { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.fx-sb-game {
  display: flex; align-items: center; gap: 8px;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 12px; padding: 0.5rem 0.6rem;
  color: var(--fx-text); text-decoration: none;
  font-size: 0.72rem; font-weight: 800; transition: all 0.2s;
}
.fx-sb-game span { font-size: 1rem; }
.fx-sb-game:hover { border-color: rgba(0,117,255,0.5); background: rgba(0,117,255,0.1); transform: translateY(-1px); }
.fx-sidebar-foot {
  padding: 1rem 1.1rem; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.fx-wager-mini { }

/* ─── Mobile Bottom Catalog Button ────────────────────────────────── */
.fx-bottom-nav .fx-bottom-nav-inner { position: relative; }
.fx-bottom-catalog {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; color: var(--fx-muted);
  font-size: 0.55rem; font-weight: 800; cursor: pointer;
  transform: translateY(-18px); flex-shrink: 0; padding: 0;
  outline: none;
}
.fx-bc-ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #0075ff, #00c8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 8px 28px var(--fx-primary-glow), 0 0 0 6px rgba(8,10,18,0.9);
  transition: all 0.25s; border: 3px solid #080a12;
}
.fx-bottom-catalog:hover .fx-bc-ring,
.fx-bottom-catalog.active .fx-bc-ring {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 10px 34px var(--fx-primary-glow), 0 0 24px rgba(0,200,255,0.45), 0 0 0 6px rgba(8,10,18,0.6);
}
.fx-bottom-catalog.active { color: #fff; }

@media (max-width: 480px) {
  .fx-sidebar { width: 84vw; }
}

/* ─── Hero & Features (marketing) ─────────────────────────────────── */
.fx-hero-badges {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.fx-h-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,117,255,0.12);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 30px; padding: 0.35rem 0.8rem;
  font-size: 0.66rem; font-weight: 800; color: #8ec1ff;
  backdrop-filter: blur(10px);
}
.fx-h-badge:nth-child(2) { background: rgba(255,204,38,0.1); border-color: rgba(255,204,38,0.25); color: #ffe9a3; }
.fx-h-badge:nth-child(3) { background: rgba(168,85,255,0.1); border-color: rgba(168,85,255,0.25); color: #d8b4fe; }
.fx-hero h1 span {
  background: linear-gradient(135deg, #00c8ff, #0075ff 40%, #a855ff 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fx-hero-sub { color: var(--fx-muted); font-size: clamp(0.82rem, 2vw, 1rem); font-weight: 500; max-width: 560px; margin: 0 auto 1.4rem; }
.fx-hero-cta { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.fx-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
}
.fx-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,117,255,0.5); }

.fx-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem; margin-bottom: 1.4rem;
}
.fx-feature {
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.12);
  border-radius: 18px; padding: 1.1rem 0.8rem; text-align: center;
  transition: all 0.25s;
}
.fx-feature:hover { transform: translateY(-3px); border-color: rgba(0,117,255,0.4); box-shadow: 0 12px 30px var(--fx-primary-glow); }
.fx-feature-icon {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 0.6rem;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.12));
  border: 1px solid rgba(0,117,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #4d9fff;
}
.fx-feature:nth-child(2) .fx-feature-icon { background: linear-gradient(135deg, rgba(255,204,38,0.2), rgba(168,85,255,0.15)); border-color: rgba(255,204,38,0.3); color: #ffcc26; }
.fx-feature:nth-child(3) .fx-feature-icon { background: linear-gradient(135deg, rgba(0,178,75,0.2), rgba(0,239,255,0.15)); border-color: rgba(0,178,75,0.3); color: #00b24b; }
.fx-feature:nth-child(4) .fx-feature-icon { background: linear-gradient(135deg, rgba(168,85,255,0.2), rgba(0,117,255,0.15)); border-color: rgba(168,85,255,0.3); color: #a855ff; }
.fx-feature-name { font-size: 0.8rem; font-weight: 900; color: var(--fx-text); margin-bottom: 0.2rem; }
.fx-feature-desc { font-size: 0.62rem; font-weight: 600; color: var(--fx-muted); line-height: 1.35; }

.fx-catalog-link {
  margin-left: auto; font-size: 0.62rem; font-weight: 800; color: #4d9fff;
  text-decoration: none; text-transform: none; letter-spacing: 0;
  padding: 0.3rem 0.7rem; border-radius: 10px;
  background: rgba(0,117,255,0.1); border: 1px solid rgba(0,117,255,0.3);
}
.fx-slot-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(56,217,245,0.2), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(255,204,38,0.12), transparent 55%),
    linear-gradient(135deg, #0a2c44, #06202f);
  border: 2px solid rgba(56,217,245,0.35); border-radius: var(--fx-radius);
  text-decoration: none; color: var(--fx-text);
  transition: all 0.25s; position: relative; overflow: hidden;
}
.fx-slot-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,0.5); border-color: rgba(56,217,245,0.7); }
.fx-slot-card .fx-slot-emoji { font-size: 2.4rem; filter: drop-shadow(0 4px 12px rgba(56,217,245,0.4)); }
.fx-slot-card .fx-slot-info { flex: 1; min-width: 0; }
.fx-slot-card .fx-slot-name { font-family: 'Unbounded', sans-serif; font-size: 1.05rem; font-weight: 800; }
.fx-slot-card .fx-slot-desc { font-size: 0.72rem; color: var(--fx-muted); margin-top: 0.2rem; line-height: 1.4; }
.fx-slot-badge {
  flex-shrink: 0; padding: 0.35rem 0.8rem; border-radius: 20px;
  background: linear-gradient(135deg, #ffcc26, #ff8a00); color: #1c1205;
  font-size: 0.62rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(255,204,38,0.4); animation: fxPulseBadge 1.8s ease infinite;
}
@keyframes fxPulseBadge { 0%,100% { box-shadow: 0 6px 18px rgba(255,204,38,0.3); } 50% { box-shadow: 0 6px 26px rgba(255,204,38,0.65); } }
.fx-slot-go { flex-shrink: 0; font-size: 1.3rem; color: var(--fx-cyan); }
.fx-line-strip { display: flex; gap: 0.7rem; overflow-x: auto; padding: 0.3rem 0.2rem 0.8rem; scroll-snap-type: x proximity; }
.fx-line-strip::-webkit-scrollbar { height: 6px; }
.fx-line-strip::-webkit-scrollbar-thumb { background: var(--fx-border); border-radius: 6px; }
.fx-line-strip::-webkit-scrollbar-thumb:hover { background: var(--fx-muted); }
.fx-line-card {
  scroll-snap-align: start; flex-shrink: 0; width: 150px;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center;
  padding: 1rem 0.8rem; border-radius: 14px; text-decoration: none; color: var(--fx-text);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--fx-border); transition: all 0.2s;
}
.fx-line-card:hover { transform: translateY(-3px); border-color: var(--card-c, var(--fx-border)); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.fx-line-card .fx-line-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.fx-line-card .fx-line-name { font-size: 0.78rem; font-weight: 800; }
.fx-line-card .fx-line-desc { font-size: 0.6rem; color: var(--fx-muted); line-height: 1.3; min-height: 2.3em; }
.fx-catalog-link:hover { background: rgba(0,117,255,0.2); color: #8ec1ff; }

@media (max-width: 480px) {
  .fx-hero-badges { gap: 0.35rem; margin-bottom: 0.9rem; }
  .fx-h-badge { font-size: 0.58rem; padding: 0.28rem 0.6rem; }
  .fx-features { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ─── Welcome Bonus Banner ────────────────────────────────────────── */
.fx-welcome {
  position: relative; overflow: hidden;
  border-radius: var(--fx-radius);
  border: 1px solid rgba(0,117,255,0.25);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(0,117,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(113,0,255,0.15), transparent 60%),
    rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  margin-bottom: 1.6rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.fx-welcome-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.4rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.fx-welcome-ico { font-size: 2.6rem; filter: drop-shadow(0 6px 16px rgba(255,204,38,0.45)); flex-shrink: 0; }
.fx-welcome-info { flex: 1; min-width: 220px; }
.fx-welcome-title { font-size: 0.98rem; font-weight: 900; }
.fx-welcome-title b { color: var(--fx-gold); }
.fx-welcome-desc { font-size: 0.72rem; color: var(--fx-muted); font-weight: 500; margin-top: 0.15rem; line-height: 1.45; }
.fx-welcome-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
@media (max-width: 520px) {
  .fx-welcome-inner { flex-direction: column; text-align: center; padding: 1.2rem 1rem; }
  .fx-welcome-actions { width: 100%; justify-content: center; }
  .fx-welcome-actions .fx-btn { flex: 1; justify-content: center; }
}

/* ─── Steps ───────────────────────────────────────────────────────── */
.fx-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.fx-step {
  position: relative; text-align: left;
  padding: 1.2rem 1.1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
}
.fx-step-num {
  position: absolute; top: -14px; right: 6px;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 3.4rem; font-weight: 900; line-height: 1;
  color: rgba(0,117,255,0.12); pointer-events: none;
}
.fx-step-ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  background: var(--fx-grad-blue);
  box-shadow: 0 6px 18px var(--fx-primary-glow);
  margin-bottom: 0.7rem;
}
.fx-step:nth-child(2) .fx-step-ico { background: var(--fx-grad-gold); color: #1c1205; box-shadow: 0 6px 18px var(--fx-gold-glow); }
.fx-step:nth-child(3) .fx-step-ico { background: var(--fx-grad-purple); box-shadow: 0 6px 18px rgba(113,0,255,0.4); }
.fx-step-name { font-size: 0.85rem; font-weight: 900; margin-bottom: 0.2rem; position: relative; z-index: 1; }
.fx-step-desc { font-size: 0.68rem; color: var(--fx-muted); font-weight: 500; line-height: 1.4; position: relative; z-index: 1; }
@media (max-width: 640px) {
  .fx-steps { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ─── Footer (1win style) ─────────────────────────────────────────── */
.fx-footer {
  position: relative;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(ellipse 60% 80% at 50% 130%, rgba(0,117,255,0.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(12,14,22,0.6) 0%, #0a0c14 100%);
  backdrop-filter: blur(10px);
}
.fx-footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,117,255,0.4), rgba(0,239,255,0.3), transparent);
}
.fx-footer .fx-container { padding-top: 2rem; padding-bottom: 1.2rem; }
.fx-f-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.fx-f-brand .fx-logo { font-size: 1.5rem; margin-bottom: 0.7rem; }
.fx-f-tag { font-size: 0.72rem; line-height: 1.6; color: var(--fx-muted); font-weight: 500; margin-bottom: 0.9rem; max-width: 260px; }
.fx-f-social { display: flex; gap: 0.5rem; margin-bottom: 0.9rem; }
.fx-so {
  width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--fx-border);
  color: var(--fx-muted); font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
}
.fx-so:hover {
  color: #fff; background: var(--fx-grad-blue);
  border-color: transparent;
  box-shadow: 0 6px 18px var(--fx-primary-glow);
  transform: translateY(-2px);
}
.fx-f-18 {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 800; color: var(--fx-muted);
  border: 1px solid rgba(255,77,93,0.35);
  background: rgba(255,77,93,0.08);
  color: #ff8d97;
  padding: 0.3rem 0.7rem; border-radius: 20px;
}
.fx-f-col { min-width: 0; }
.fx-f-title {
  font-size: 0.68rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--fx-text);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 7px;
}
.fx-f-title i { color: var(--fx-primary); }
.fx-f-link {
  display: block; padding: 0.3rem 0;
  font-size: 0.74rem; font-weight: 600; color: var(--fx-muted);
  text-decoration: none; transition: all 0.15s;
}
.fx-f-link:hover { color: #fff; transform: translateX(3px); }
.fx-payments {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  padding: 1rem 0; margin-bottom: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fx-pay-label { font-size: 0.66rem; font-weight: 800; color: var(--fx-muted); text-transform: uppercase; letter-spacing: 1px; margin-right: 0.4rem; }
.fx-pay-badge {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 0.6px;
  color: var(--fx-muted);
  padding: 0.32rem 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--fx-border);
  font-family: 'Inter', sans-serif;
}
.fx-pay-badge:hover { border-color: rgba(0,117,255,0.4); color: var(--fx-text); }
.fx-f-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  font-size: 0.66rem; font-weight: 600; color: rgba(228,234,245,0.4);
}
.fx-f-bottom-ages {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 900;
  background: rgba(255,77,93,0.12);
  border: 1px solid rgba(255,77,93,0.35);
  color: #ff8d97;
}

@media (max-width: 900px) {
  .fx-f-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .fx-f-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .fx-footer .fx-container { padding-top: 1.4rem; }
  .fx-f-grid { gap: 1rem; }
  .fx-f-bottom { flex-direction: column; text-align: center; }
}

/* ─── Game art images (1:1) ─────────────────────────────────────────── */
.fx-sb-img {
  width: 26px; height: 26px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}
.fx-game-img {
  width: 3.6rem; height: 3.6rem; border-radius: 16px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,117,255,0.22);
  margin-bottom: 0.7rem; position: relative; z-index: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.fx-game-card:hover .fx-game-img { transform: scale(1.1) rotate(-2deg); }
.fx-cat-img {
  width: 3.4rem; height: 3.4rem; border-radius: 14px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.5), 0 0 0 1px color-mix(in srgb, var(--cat-accent) 45%, transparent);
  position: relative; z-index: 1; margin-bottom: 0.6rem;
  transition: transform 0.3s;
}
.fx-cat-card:hover .fx-cat-img { transform: scale(1.08) rotate(2deg); }

/* ─── Jackpot Panel ─── */
.fx-jackpot {
  position: relative; overflow: hidden; text-align: center;
  padding: 1.4rem 1rem; border-radius: var(--fx-radius);
  margin-bottom: 1.5rem; border: 1px solid rgba(240,185,11,0.35);
  background: linear-gradient(160deg, rgba(240,185,11,0.12), rgba(15,15,28,0.9) 65%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 60px rgba(240,185,11,0.08);
}
.fx-jackpot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(240,185,11,0.25), transparent 65%); pointer-events: none; }
.fx-jackpot-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--fx-muted); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.fx-jackpot-val {
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  background: linear-gradient(135deg, #ffd54a, #f0b90b 55%, #ff8c00);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(240,185,11,0.35);
  line-height: 1.25; white-space: nowrap;
}
.fx-jackpot-sub { font-size: 0.72rem; color: var(--fx-muted); margin-top: 0.2rem; }

/* ─── Live Wins Ticker ─── */
.fx-ticker {
  position: relative; overflow: hidden; border-radius: var(--fx-radius-sm);
  border: 1px solid var(--fx-border); background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  margin-bottom: 1.5rem; display: flex; align-items: center;
}
.fx-ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  padding: 0.55rem 0.9rem; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  color: #10b981; border-right: 1px solid var(--fx-border);
  background: rgba(16,185,129,0.08);
}
.fx-ticker-track { overflow: hidden; flex: 1; padding: 0.55rem 0.2rem; }
.fx-ticker-inner { display: inline-flex; gap: 2.4rem; white-space: nowrap; animation: fxTicker 38s linear infinite; padding-left: 100%; }
.fx-ticker:hover .fx-ticker-inner { animation-play-state: paused; }
.fx-ticker-item { font-size: 0.74rem; color: var(--fx-muted); font-weight: 600; }
.fx-ticker-item b { color: var(--fx-text); font-weight: 800; }
.fx-ticker-item .fx-t-win { color: #10b981; font-weight: 900; }
.fx-ticker-item .fx-t-game { color: var(--fx-primary); font-weight: 700; }
@keyframes fxTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ─── Lobby Controls (search + filters) ─── */
.fx-lobby-controls { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.1rem; }
.fx-search {
  flex: 1 1 220px; display: flex; align-items: center; gap: 8px;
  background: var(--fx-glass); border: 1px solid var(--fx-border);
  border-radius: 12px; padding: 0.55rem 0.8rem; color: var(--fx-muted);
}
.fx-search input {
  flex: 1; background: none; border: none; outline: none; color: var(--fx-text);
  font-size: 0.82rem; font-weight: 600;
}
.fx-search input::placeholder { color: var(--fx-muted); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; flex: 1 1 100%; }
.fx-chip {
  border: 1px solid var(--fx-border); background: var(--fx-glass); color: var(--fx-muted);
  font-size: 0.72rem; font-weight: 700; padding: 0.38rem 0.85rem; border-radius: 999px;
  cursor: pointer; transition: all 0.2s; user-select: none;
}
.fx-chip:hover { border-color: rgba(0,117,255,0.5); color: var(--fx-text); }
.fx-chip.on { background: rgba(0,117,255,0.18); border-color: var(--fx-primary); color: #bfe0ff; }
.fx-grid-note { font-size: 0.7rem; color: var(--fx-muted); margin: -0.4rem 0 0.9rem; }
.fx-game-card.hidden-card { display: none; }
.fx-game-ico-fallback { position: relative; z-index: 1; margin-bottom: 0.4rem; line-height: 1; filter: drop-shadow(0 6px 16px rgba(0,117,255,0.3)); }

.fx-bonus-tag{display:inline-block;margin-left:6px;font-size:0.55rem;font-weight:800;color:#f0b90b;background:rgba(240,185,11,.12);border:1px solid rgba(240,185,11,.35);padding:2px 9px;border-radius:20px;letter-spacing:0.3px;vertical-align:middle;line-height:1.4;}
@media (max-width:768px){.fx-bonus-tag{font-size:0.5rem;padding:1px 7px;}}

/* ─── Notifications ─────────────────────────────────────────────── */
.fx-notif-wrap { position: relative; display: flex; align-items: center; }
.fx-notif-btn {
  position: relative;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fx-glass);
  border: 1px solid var(--fx-glass-border);
  border-radius: 10px;
  color: var(--fx-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.fx-notif-btn:hover { color: var(--fx-text); background: var(--fx-glass-strong); border-color: rgba(0,239,255,0.35); transform: translateY(-1px); }
.fx-notif-btn i { font-size: 1rem; }
.fx-notif-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff4d5d, #ff8a00);
  color: #fff;
  font-size: 0.58rem; font-weight: 900;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(255,77,93,0.5);
}
.fx-notif-badge.pulse { animation: fxNotifPulse 0.6s ease; }
@keyframes fxNotifPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.fx-notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  width: 340px; max-height: 440px;
  display: flex; flex-direction: column;
  background: rgba(10, 16, 26, 0.97);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(-6px) scale(0.98);
  pointer-events: none; transition: all 0.18s ease;
}
.fx-notif-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.8rem 0.55rem;
}
.fx-notif-title { font-size: 0.75rem; font-weight: 800; color: var(--fx-text); text-transform: uppercase; letter-spacing: 0.06em; }
.fx-notif-readall {
  background: none; border: none; cursor: pointer;
  color: var(--fx-accent); font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.4rem; border-radius: 8px;
  transition: all 0.15s;
}
.fx-notif-readall:hover { background: rgba(0,239,255,0.1); }
.fx-notif-readall.hidden { visibility: hidden; }
.fx-notif-list {
  overflow-y: auto; padding: 0 0.55rem 0.6rem;
  display: flex; flex-direction: column; gap: 4px;
}
.fx-notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%; padding: 0.55rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  cursor: pointer; text-align: left;
  transition: all 0.15s;
}
.fx-notif-item:hover { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.35); }
.fx-notif-item.unread { background: rgba(0,239,255,0.07); border-color: rgba(0,239,255,0.3); }
.fx-notif-ico {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.15));
  color: var(--fx-gold); font-size: 0.85rem;
}
.fx-notif-body { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.fx-notif-msg { font-size: 0.72rem; font-weight: 700; color: var(--fx-text); line-height: 1.3; }
.fx-notif-sub { display: block; font-size: 0.66rem; font-weight: 500; color: var(--fx-muted); margin-top: 1px; }
.fx-notif-time { font-size: 0.6rem; color: var(--fx-muted); opacity: 0.8; margin-top: 2px; }
.fx-notif-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 2.2rem 1rem; color: var(--fx-muted);
  font-size: 0.72rem; font-weight: 600;
}
.fx-notif-empty i { font-size: 1.6rem; opacity: 0.5; }
@media (max-width: 480px) {
  .fx-notif-panel { width: calc(100vw - 24px); right: -12px; }
}
:root {
  --fx-bg: #0b0d14;
  --fx-bg-2: #12141d;
  --fx-glass: rgba(255, 255, 255, 0.05);
  --fx-glass-strong: rgba(255, 255, 255, 0.1);
  --fx-glass-border: rgba(255, 255, 255, 0.13);
  --fx-border: rgba(255, 255, 255, 0.08);
  --fx-blue: #0075ff;
  --fx-blue-hover: #095bdb;
  --fx-blue-light: #3b8cff;
  --fx-cyan: #00efff;
  --fx-purple: #7100ff;
  --fx-purple-2: #b173ff;
  --fx-primary: #0075ff;
  --fx-primary-glow: rgba(87, 164, 255, 0.4);
  --fx-accent: #00efff;
  --fx-gold: #ffcc26;
  --fx-gold-glow: rgba(255, 204, 38, 0.32);
  --fx-success: #00b24b;
  --fx-success-glow: rgba(0, 178, 75, 0.32);
  --fx-danger: #ff4d5d;
  --fx-danger-glow: rgba(255, 77, 93, 0.32);
  --fx-text: #f4f6fb;
  --fx-muted: rgba(228, 234, 245, 0.6);
  --fx-radius: 22px;
  --fx-radius-sm: 14px;
  --fx-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  --fx-grad-blue: linear-gradient(135deg, #0075ff, #00c8ff);
  --fx-grad-purple: linear-gradient(135deg, #7100ff, #b173ff);
  --fx-grad-gold: linear-gradient(135deg, #ffcc26, #ff8a00);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(ellipse 70% 45% at 15% -10%, rgba(0,117,255,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(113,0,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 8% 95%, rgba(0,239,255,0.05) 0%, transparent 60%),
    linear-gradient(180deg, #080a12 0%, var(--fx-bg) 55%, #0b0d16 100%);
  background-attachment: fixed;
  color: var(--fx-text);
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0,117,255,0.45); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,117,255,0.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,184,255,0.6); }

#fxParticles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* ─── Neon Background Orbs (1win style) ─── */
.fx-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fx-orb {
  position: fixed; border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.fx-orb.o1 {
  width: 520px; height: 520px; top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(0,117,255,0.5), transparent 70%);
  animation: orbDrift1 22s ease-in-out infinite;
}
.fx-orb.o2 {
  width: 460px; height: 460px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(113,0,255,0.42), transparent 70%);
  animation: orbDrift2 26s ease-in-out infinite;
}
.fx-orb.o3 {
  width: 400px; height: 400px; bottom: -120px; left: 22%;
  background: radial-gradient(circle, rgba(0,150,255,0.34), transparent 70%);
  animation: orbDrift3 30s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 50px) scale(1.12); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 70px) scale(1.08); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.15); }
}

/* ─── Glassmorphism ─── */
.fx-glass,
.fx-stat,
.fx-daily,
.fx-controls,
.fx-game-area,
.fx-auth-card,
.fx-finance-card,
.fx-lb-panel,
.fx-profile-header {
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--fx-border-glass, var(--fx-border));
  border-top-color: rgba(255,255,255,0.16);
  border-left-color: rgba(255,255,255,0.1);
  border-radius: var(--fx-radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    var(--fx-shadow);
}

.fx-glass {
  padding: 1.15rem 1.25rem;
  overflow: hidden;
}
.fx-glass .fx-glass-title { margin-bottom: 0.75rem; }

/* ─── Navbar ─── */
.fx-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 1.5rem;
  background: rgba(8,10,18,0.7);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid var(--fx-border);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.fx-logo {
  font-size: 1.4rem; font-weight: 900;
  font-family: 'Unbounded', 'Inter', sans-serif;
  background: linear-gradient(135deg, #00c8ff, #0075ff 55%, #7100ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.fx-logo i { -webkit-text-fill-color: #00efff; font-size: 1.2rem; }
.fx-nav-links { display: flex; align-items: center; gap: 0.45rem; }
.fx-nav-link {
  color: var(--fx-muted); text-decoration: none;
  padding: 0.45rem 0.8rem; border-radius: 14px;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.fx-nav-link:hover, .fx-nav-link.active { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-nav-link i { font-size: 0.9rem; }
.fx-balance {
  background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(0,239,255,0.12));
  border: 1px solid rgba(0,117,255,0.25);
  border-radius: 14px;
  padding: 0.25rem 0.3rem 0.25rem 0.8rem;
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 800;
  color: var(--fx-gold); cursor: default;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.fx-balance-main { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.fx-balance i { color: var(--fx-gold); font-size: 0.9rem; }
.fx-balance-label { color: var(--fx-muted); font-size: 0.55rem; font-weight: 600; margin-right: 2px; }
.fx-balance-plus {
  width: 30px; height: 30px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffcc26, #ff8a00);
  color: #1c1205; text-decoration: none;
  box-shadow: 0 4px 14px rgba(255,204,38,0.4);
  transition: all 0.2s;
}
.fx-balance-plus i { color: #1c1205; font-size: 0.95rem; }
.fx-balance-plus:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 20px rgba(255,204,38,0.55); }
.fx-balance-plus:active { transform: scale(0.94); }
.fx-acc-switch { position: relative; display: flex; align-items: center; cursor: pointer; }
.fx-acc-chev { font-size: 0.6rem; color: var(--fx-muted); transition: transform 0.2s; margin: 0 0.3rem 0 0.2rem; }
.fx-acc-switch.open .fx-acc-chev { transform: rotate(180deg); }
.fx-acc-cur { color: var(--fx-gold); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.03em; }
.fx-acc-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  min-width: 250px; max-height: 380px; overflow-y: auto;
  background: rgba(10, 16, 26, 0.97);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 0.6rem;
  opacity: 0; transform: translateY(-6px) scale(0.98);
  pointer-events: none; transition: all 0.18s ease;
  backdrop-filter: blur(14px);
}
.fx-acc-menu.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-acc-menu-title { font-size: 0.65rem; font-weight: 800; color: var(--fx-muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.3rem 0.5rem; }
.fx-acc-menu-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0.5rem; }
.fx-acc-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; cursor: pointer;
  transition: all 0.15s; text-align: left;
}
.fx-acc-item:hover { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.35); }
.fx-acc-item.active { background: rgba(0,239,255,0.1); border-color: rgba(0,239,255,0.4); }
.fx-acc-sym {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 0.85rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.15));
  color: var(--fx-gold);
}
.fx-acc-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fx-acc-info .fx-acc-cur { color: var(--fx-text); font-size: 0.72rem; }
.fx-acc-value { color: var(--fx-muted); font-size: 0.62rem; font-weight: 600; }
.fx-acc-check { color: var(--fx-success); font-size: 0.9rem; }
.fx-acc-new {
  width: 100%; padding: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: linear-gradient(135deg, rgba(255,204,38,0.18), rgba(255,138,0,0.12));
  border: 1px dashed rgba(255,204,38,0.45);
  border-radius: 12px; color: var(--fx-gold);
  font-size: 0.72rem; font-weight: 800; cursor: pointer;
  transition: all 0.2s;
}
.fx-acc-new:hover { background: linear-gradient(135deg, rgba(255,204,38,0.3), rgba(255,138,0,0.2)); transform: translateY(-1px); }
.fx-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(5,8,14,0.75); backdrop-filter: blur(8px); }
.fx-modal.show { display: flex; }
.fx-modal-box {
  width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto;
  background: rgba(10,16,26,0.98);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
  padding: 1.2rem;
}
.fx-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.fx-modal-title { font-size: 1rem; font-weight: 800; color: var(--fx-text); font-family: 'Unbounded', sans-serif; }
.fx-modal-sub { font-size: 0.66rem; color: var(--fx-muted); margin-top: 3px; }
.fx-modal-close {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: none; border-radius: 10px;
  color: var(--fx-muted); font-size: 0.85rem; cursor: pointer; transition: all 0.2s;
}
.fx-modal-close:hover { background: rgba(255,77,93,0.2); color: var(--fx-danger); transform: rotate(90deg); }
.fx-cur-list { display: flex; flex-direction: column; gap: 6px; }
.fx-cur-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 0.65rem 0.8rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; cursor: pointer; transition: all 0.15s; text-align: left;
}
.fx-cur-item:hover:not(:disabled) { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.4); transform: translateX(3px); }
.fx-cur-item.taken { opacity: 0.45; cursor: not-allowed; }
.fx-cur-sym {
  width: 40px; height: 40px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 1rem; font-weight: 800;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.12));
  color: var(--fx-gold);
}
.fx-cur-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fx-cur-name { font-size: 0.74rem; font-weight: 700; color: var(--fx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-cur-kind { font-size: 0.58rem; color: var(--fx-muted); font-weight: 600; }
.fx-cur-action { font-size: 0.66rem; font-weight: 800; color: var(--fx-gold); flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.fx-cur-item:disabled .fx-cur-action { color: var(--fx-muted); }
.fx-btn {
  padding: 0.5rem 1.3rem; border-radius: 14px;
  font-size: 0.8rem; font-weight: 800;
  border: none; cursor: pointer;
  transition: all 0.25s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  white-space: nowrap;
}
.fx-btn-primary { background: var(--fx-grad-blue); color: #fff; box-shadow: 0 8px 26px var(--fx-primary-glow); }
.fx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--fx-primary-glow); }
.fx-btn-success { background: linear-gradient(135deg, #00b24b, #00d96a); color: #05281c; box-shadow: 0 8px 26px var(--fx-success-glow); }
.fx-btn-success:hover { transform: translateY(-2px); }
.fx-btn-accent { background: var(--fx-grad-purple); color: #fff; box-shadow: 0 8px 26px rgba(113,0,255,0.4); }
.fx-btn-accent:hover { transform: translateY(-2px); }
.fx-btn-gold { background: var(--fx-grad-gold); color: #1c1205; box-shadow: 0 8px 26px var(--fx-gold-glow); }
.fx-btn-gold:hover { transform: translateY(-2px); }
.fx-btn-ghost { background: var(--fx-glass-strong); color: var(--fx-text); border: 1px solid var(--fx-border); }
.fx-btn-ghost:hover { background: rgba(255,255,255,0.16); }
.fx-btn-sm { padding: 0.32rem 0.9rem; font-size: 0.7rem; }
.fx-btn-lg { padding: 0.7rem 2.2rem; font-size: 0.95rem; border-radius: 16px; }

/* ─── Main ─── */
.fx-main { position: relative; z-index: 1; padding-top: 88px; min-height: 100vh; }
.fx-container { max-width: 1200px; margin: 0 auto; padding: 0 1.2rem; }
.fx-section-title {
  font-size: 0.78rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; color: var(--fx-muted);
  margin-bottom: 0.9rem; display: flex; align-items: center; gap: 8px;
}
.fx-section-title i { color: var(--fx-primary); }

/* ─── Hero ─── */
.fx-hero {
  text-align: center; padding: 3rem 1rem 2rem;
  position: relative;
}
.fx-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900;
  font-family: 'Unbounded', 'Inter', sans-serif;
  background: linear-gradient(135deg, #ffffff, #4d9fff 35%, #00efff 65%, #a855ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem; letter-spacing: -1.5px;
  text-shadow: 0 0 50px rgba(0,117,255,0.35);
}
.fx-hero p { color: var(--fx-muted); font-size: clamp(0.82rem, 2vw, 1rem); font-weight: 500; max-width: 540px; margin: 0 auto 1.4rem; }
.fx-hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,117,255,0.14) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}

/* ─── Hero Stats ─── */
.fx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.fx-hero-stat {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; overflow: hidden;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-glass);
  backdrop-filter: blur(18px);
}
.fx-hero-stat-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px; font-size: 1.05rem;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.2));
  color: #8ec1ff;
}
.fx-hero-stat-val { font-size: clamp(0.9rem, 1.6vw, 1.15rem); font-weight: 900; color: var(--fx-text); font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.fx-hero-stat-label { font-size: 0.58rem; color: var(--fx-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }

/* ─── Social Panel ─── */
.fx-social-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fx-social-col { min-width: 0; }

/* ─── Jackpot Banner ─── */
.fx-jackpot {
  text-align: center; padding: 1.4rem 1rem; margin-bottom: 1.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,117,255,0.16), transparent 55%),
    radial-gradient(ellipse at 85% 110%, rgba(168,85,255,0.14), transparent 55%),
    linear-gradient(135deg, rgba(255,204,38,0.08), rgba(255,255,255,0.03) 50%, rgba(0,117,255,0.09));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,204,38,0.2);
  border-radius: var(--fx-radius);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.fx-jackpot::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,204,38,0.08), transparent, rgba(0,117,255,0.08), transparent);
  animation: jpSpin 8s linear infinite;
}
@keyframes jpSpin { to { transform: rotate(360deg); } }
.fx-jackpot-inner { position: relative; z-index: 1; }
.fx-jackpot-icon { font-size: 2.2rem; }
.fx-jackpot-amount {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900;
  background: linear-gradient(135deg, #ffe9a3, #ffcc26 40%, #ff8a00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0.3rem 0;
  text-shadow: 0 0 40px rgba(255,204,38,0.2);
  font-variant-numeric: tabular-nums;
}
.fx-jackpot-label { color: var(--fx-muted); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.fx-jackpot-winner { color: var(--fx-muted); font-size: 0.75rem; font-weight: 600; margin-top: 0.4rem; }
.fx-jackpot-winner strong { color: var(--fx-gold); font-weight: 800; }
.fx-jackpot.pulse::before { animation-duration: 1.2s; }
.fx-jackpot.pulse .fx-jackpot-amount { animation: jpPulse 0.5s ease; }
@keyframes jpPulse {
  0% { transform: scale(1); text-shadow: 0 0 20px rgba(255,204,38,0.2); }
  50% { transform: scale(1.05); text-shadow: 0 0 60px rgba(255,204,38,0.9); }
  100% { transform: scale(1); text-shadow: 0 0 40px rgba(255,204,38,0.2); }
}

/* ─── Daily Bonus ─── */
.fx-daily {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--fx-border);
  margin-bottom: 1.5rem; gap: 0.8rem;
}
.fx-daily-left { display: flex; align-items: center; gap: 14px; }
.fx-daily-icon {
  font-size: 2.4rem; line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(255,204,38,0.4));
}
.fx-daily-info h3 { font-size: 1.05rem; font-weight: 900; }
.fx-daily-info p { font-size: 0.75rem; color: var(--fx-muted); font-weight: 500; }
.fx-daily-btn { flex-shrink: 0; min-width: 120px; text-align: center; font-size: 0.85rem; padding: 0.65rem 1.2rem; }

/* ─── Game Cards ─── */
.fx-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 0 1.8rem;
}
.fx-game-card {
  position: relative;
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.16);
  border-left-color: rgba(255,255,255,0.1);
  border-radius: var(--fx-radius);
  padding: 1.6rem 0.8rem 1.3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
  min-height: 160px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 20px rgba(0,0,0,0.2);
}
.fx-game-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(145deg, rgba(0,117,255,0.1) 0%, transparent 50%, rgba(0,239,255,0.06) 100%);
  opacity: 1; transition: opacity 0.3s; border-radius: var(--fx-radius);
  border-radius: var(--fx-radius);
}
.fx-game-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0,117,255,0.5);
  box-shadow: 0 16px 50px var(--fx-primary-glow), inset 0 1px 0 rgba(255,255,255,0.12);
  background: rgba(0,117,255,0.1);
}
.fx-game-icon { font-size: clamp(2.8rem, 4vw, 3.6rem); margin-bottom: 0.6rem; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(0,117,255,0.3)); }
.fx-si { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.fx-si-lg { font-size: 2.4rem; }
.fx-game-icon .fx-si { font-size: 2.8rem; }
.fx-sm .fx-si { font-size: 1rem; }
.fx-sb-game.fx-sb-all { border-color: rgba(0,117,255,0.5); background: linear-gradient(145deg, rgba(0,117,255,0.22), rgba(0,239,255,0.1)); color: #bfe0ff; font-weight: 800; }
.fx-sb-all .fx-bc-ring { width: 24px; height: 24px; border-radius: 8px; background: rgba(0,117,255,0.25); font-size: 0.9rem; }

/* ─── Catalog Page ─── */
.fx-catalog-head { text-align: center; padding: 0.6rem 0 0.4rem; }
.fx-catalog-head h1 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 0.15rem; background: linear-gradient(135deg, #0075ff, #00efff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-catalog-head p { color: var(--fx-muted); font-size: 0.75rem; margin: 0; }
.fx-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; padding: 1.2rem 0 2rem; }
.fx-cat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.4rem 0.9rem 1.1rem; border-radius: 20px; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(0,117,255,0.18), rgba(15,15,28,0.95));
  background: linear-gradient(160deg, color-mix(in srgb, var(--cat-accent) 18%, rgba(15,15,28,0.9)), rgba(15,15,28,0.95));
  border: 1px solid rgba(0,117,255,0.4);
  border-color: color-mix(in srgb, var(--cat-accent) 40%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  min-height: 148px;
}
.fx-cat-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(0,117,255,0.3), transparent 70%); background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--cat-accent) 30%, transparent), transparent 70%); opacity: 0.6; }
.fx-cat-card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,117,255,0.45); box-shadow: 0 16px 44px color-mix(in srgb, var(--cat-accent) 45%, transparent); }
.fx-cat-ico { position: relative; z-index: 1; font-size: 3rem; color: #0075ff; color: var(--cat-accent); filter: drop-shadow(0 6px 14px rgba(0,117,255,0.5)); filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--cat-accent) 50%, transparent)); margin-bottom: 0.6rem; }
.fx-cat-ico .fx-si { font-size: 3rem; }
.fx-cat-name { position: relative; z-index: 1; font-weight: 900; color: var(--fx-text); font-size: 1.05rem; margin-bottom: 0.2rem; }
.fx-cat-desc { position: relative; z-index: 1; font-size: 0.66rem; color: var(--fx-muted); font-weight: 600; line-height: 1.35; }
.fx-cat-go { position: absolute; top: 0.6rem; right: 0.7rem; z-index: 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,117,255,0.3); background: color-mix(in srgb, var(--cat-accent) 30%, transparent); color: #0075ff; color: var(--cat-accent); font-size: 0.75rem; opacity: 0; transition: opacity 0.25s; }
.fx-cat-card:hover .fx-cat-go { opacity: 1; }
@media (max-width: 900px) {
  .fx-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; padding: 1rem 0.7rem 1.4rem; }
  .fx-cat-card { min-height: 122px; padding: 1rem 0.6rem 0.9rem; }
  .fx-cat-ico { font-size: 2.4rem; margin-bottom: 0.4rem; }
  .fx-cat-ico .fx-si { font-size: 2.4rem; }
  .fx-cat-name { font-size: 0.9rem; }
  .fx-cat-desc { font-size: 0.58rem; }
  .fx-cat-go { display: none; }
  .fx-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-social-panel { grid-template-columns: 1fr; }
}
.fx-game-name { font-size: clamp(0.9rem, 1.2vw, 1.05rem); font-weight: 900; color: var(--fx-text); margin-bottom: 0.25rem; position: relative; z-index: 1; letter-spacing: -0.2px; }
.fx-game-desc { font-size: clamp(0.6rem, 0.9vw, 0.7rem); color: var(--fx-muted); font-weight: 600; line-height: 1.3; position: relative; z-index: 1; }
.fx-card-pop { animation: fxCardPop 0.4s cubic-bezier(0.4,0,0.2,1) both; }
@keyframes fxCardPop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.fx-grid-empty { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--fx-muted); font-size: 0.85rem; font-weight: 600; border: 1px dashed var(--fx-border); border-radius: var(--fx-radius); margin-bottom: 1.8rem; }
.fx-grid-empty.show { display: block; }
.fx-grid-empty i { font-size: 2rem; display: block; margin-bottom: 0.5rem; color: var(--fx-primary); }

/* ─── Glass Card ─── */
.fx-glass-title {
  font-size: 0.75rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; color: var(--fx-muted);
  margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 8px;
}
.fx-glass-title i { color: var(--fx-primary); }

/* ─── Stat Cards ─── */
.fx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem; margin-bottom: 1.5rem;
}
.fx-stat {
  border: 1px solid var(--fx-border);
  padding: 1rem 0.7rem; text-align: center;
  border-radius: var(--fx-radius-sm);
}
.fx-stat-value { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 900; color: var(--fx-text); font-variant-numeric: tabular-nums; }
.fx-stat-label { font-size: 0.6rem; color: var(--fx-muted); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.15rem; }

/* ─── Live Wins ─── */
.fx-live-wins {
  padding: 0.8rem 1rem;
  max-height: 260px; overflow-y: auto;
  border-radius: var(--fx-radius-sm);
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.05);
}
.fx-live-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  animation: slideIn 0.3s ease;
  border-radius: 8px;
  transition: background 0.15s;
  min-width: 0;
}
.fx-live-item:hover { background: var(--fx-glass-strong); }
.fx-live-item:last-child { border-bottom: none; }
.fx-live-item > span:first-child { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1; }
.fx-live-user { font-weight: 800; color: var(--fx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-live-game { color: var(--fx-muted); font-size: 0.68rem; font-weight: 600; flex-shrink: 0; }
.fx-live-payout { font-weight: 900; color: var(--fx-success); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.fx-live-time { color: var(--fx-muted); font-size: 0.62rem; font-weight: 600; flex-shrink: 0; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* ─── Leaderboard ─── */
.fx-lb-tabs { display: flex; gap: 0.4rem; margin-bottom: 0.9rem; }
.fx-lb-tab {
  padding: 0.4rem 0.8rem;
  background: var(--fx-glass-strong);
  border: 1px solid var(--fx-border);
  border-radius: 10px; font-size: 0.65rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer;
  transition: all 0.2s;
}
.fx-lb-tab:hover { color: var(--fx-text); }
.fx-lb-tab.active { background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.15)); border-color: rgba(0,117,255,0.4); color: var(--fx-text); }
.fx-lb-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0.45rem 0.3rem;
  font-size: 0.74rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  transition: background 0.15s;
}
.fx-lb-item:hover { background: var(--fx-glass-strong); }
.fx-lb-rank {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 900;
  background: var(--fx-glass-strong);
  flex-shrink: 0;
}
.fx-lb-1 { background: linear-gradient(135deg, #ffe9a3, #ffcc26); color: #1a1a2e; }
.fx-lb-2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #1a1a2e; }
.fx-lb-3 { background: linear-gradient(135deg, #fcd9a0, #d97706); color: #fff; }
.fx-lb-name { flex: 1; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-lb-val { font-weight: 900; color: var(--fx-gold); font-variant-numeric: tabular-nums; }
.fx-lb-level { color: var(--fx-muted); font-size: 0.62rem; font-weight: 700; }

/* ─── Auth ─── */
.fx-auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1rem; }
.fx-auth-card {
  width: 100%; max-width: 420px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 2.4rem;
  position: relative;
}
.fx-auth-card::before {
  content: ''; position: absolute; top: -1px; left: 15%; right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0075ff, #a855ff, transparent);
  border-radius: 3px;
}
.fx-auth-title { font-size: 1.7rem; font-weight: 900; text-align: center; margin-bottom: 0.3rem; }
.fx-auth-sub { text-align: center; color: var(--fx-muted); font-size: 0.82rem; font-weight: 500; margin-bottom: 1.8rem; }
.fx-form-group { margin-bottom: 1.1rem; }
.fx-form-group label {
  display: block; font-size: 0.7rem; font-weight: 800;
  color: var(--fx-muted); margin-bottom: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.fx-input {
  width: 100%; padding: 0.75rem 1.1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  color: var(--fx-text); font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s; outline: none;
}
.fx-input:focus { border-color: rgba(0,117,255,0.6); box-shadow: 0 0 0 3px rgba(0,117,255,0.18); }
.fx-input::placeholder { color: var(--fx-muted); font-size: 0.82rem; font-weight: 400; }
.fx-select {
  width: 100%; padding: 0.65rem 1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm);
  color: var(--fx-text); font-size: 0.85rem; font-weight: 600; outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(232,242,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.fx-auth-link { text-align: center; margin-top: 1.2rem; font-size: 0.8rem; font-weight: 500; color: var(--fx-muted); }
.fx-auth-link a { color: #4d9fff; text-decoration: none; font-weight: 800; }
.fx-auth-link a:hover { text-decoration: underline; }

/* ─── Tabs ─── */
.fx-tabs {
  display: flex; gap: 0.4rem; margin-bottom: 1.2rem;
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.35rem;
}
.fx-tab {
  flex: 1; padding: 0.6rem; text-align: center;
  border-radius: 10px; font-size: 0.75rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer; transition: all 0.2s;
  border: none; background: none;
}
.fx-tab:hover { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-tab.active { background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.2)); color: var(--fx-text); }

/* ─── Deposit / Withdraw ─── */
.fx-finance-page { max-width: 640px; margin: 0 auto; padding: 1rem; }
.fx-finance-card {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 1.8rem;
  margin-bottom: 1.2rem;
}
.fx-finance-title { font-size: 1.1rem; font-weight: 900; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 10px; }
.fx-currency-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-bottom: 1.1rem; }
.fx-currency-opt {
  padding: 0.8rem 0.3rem; text-align: center;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.fx-currency-opt:hover { background: var(--fx-glass-strong); transform: translateY(-2px); }
.fx-currency-opt.active { border-color: rgba(0,117,255,0.6); background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.12)); box-shadow: 0 0 20px rgba(0,117,255,0.15); }
.fx-currency-opt .sym { display: block; margin-bottom: 4px; }
.fx-currency-opt .name { font-size: 0.66rem; font-weight: 800; color: var(--fx-text); }
.fx-currency-opt .rate { font-size: 0.58rem; font-weight: 600; color: var(--fx-gold); }
.fx-coin-ico { width: 40px; height: 40px; }
.fx-finance-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,117,255,0.22), rgba(0,239,255,0.1));
  border: 1px solid rgba(0,117,255,0.3);
  box-shadow: 0 6px 18px rgba(0,117,255,0.15);
}
.fx-finance-ico .fx-si { font-size: 1.25rem; color: #fff; }
.fx-finance-ico-plus { background: linear-gradient(135deg, rgba(0,178,75,0.28), rgba(0,117,255,0.12)); border-color: rgba(0,178,75,0.4); box-shadow: 0 6px 18px rgba(0,178,75,0.2); }
.fx-finance-ico-plus .fx-si { color: var(--fx-success); }
.fx-finance-ico-withdraw { background: linear-gradient(135deg, rgba(0,239,255,0.28), rgba(0,117,255,0.12)); border-color: rgba(0,239,255,0.4); box-shadow: 0 6px 18px rgba(0,239,255,0.2); }
.fx-finance-ico-withdraw .fx-si { color: var(--fx-accent); }
.fx-address-ico { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--fx-muted); }
.fx-address-ico .fx-coin-ico-sm { width: 20px; height: 20px; opacity: 0.8; }
.fx-btn-ico { width: 16px; height: 16px; color: currentColor; }
.fx-btn-ico .use-fill { fill: currentColor; }
.fx-deposit-steps {
  max-width: 640px; margin: 0 auto 1.2rem; padding: 0.4rem 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.fx-fin-step {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  padding: 0.8rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.fx-fin-step-ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,204,38,0.18), rgba(255,138,0,0.1));
  border: 1px solid rgba(255,204,38,0.35);
}
.fx-fin-step-ico .fx-si { font-size: 1rem; color: var(--fx-gold); }
.fx-fin-step b { display: block; font-size: 0.68rem; color: var(--fx-text); }
.fx-fin-step b + span { font-size: 0.6rem; color: var(--fx-muted); font-weight: 600; display: block; }
.fx-input-wrap { position: relative; }
.fx-input-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; color: var(--fx-muted); pointer-events: none;
}
.fx-input-ico .fx-si { font-size: 0.9rem; color: var(--fx-muted); }
.fx-input-with-ico { padding-left: 38px !important; }
.fx-account-sel { cursor: pointer; }
.fx-quote-box {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(0,178,75,0.16), rgba(0,117,255,0.1));
  border: 1px solid rgba(0,178,75,0.35);
  border-radius: var(--fx-radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem; font-weight: 700; color: var(--fx-text);
  margin-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  animation: fxQuoteIn 0.25s ease;
}
.fx-quote-box i { color: var(--fx-success); font-size: 0.9rem; }
.fx-quote-box b { color: var(--fx-gold); }
.fx-quote-acc { font-size: 0.62rem; color: var(--fx-muted); font-weight: 600; }
@keyframes fxQuoteIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fx-address-box {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.9rem;
  font-family: monospace; font-size: 0.78rem; font-weight: 600; color: var(--fx-cyan);
  word-break: break-all; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.fx-address-box .copy-btn {
  padding: 0.35rem 0.7rem; background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,117,255,0.15));
  border: 1px solid rgba(0,117,255,0.3); border-radius: 8px; color: #8ec1ff;
  cursor: pointer; font-size: 0.7rem; font-weight: 800; flex-shrink: 0;
  transition: all 0.2s;
}
.fx-address-box .copy-btn:hover { background: rgba(0,117,255,0.35); }
.fx-finance-history { font-size: 0.74rem; }
.fx-finance-history table { width: 100%; border-collapse: collapse; }
.fx-finance-history th { text-align: left; padding: 0.5rem 0.5rem; color: var(--fx-muted); font-weight: 800; font-size: 0.62rem; text-transform: uppercase; border-bottom: 1px solid var(--fx-border); }
.fx-finance-history td { padding: 0.45rem 0.5rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* ─── Game Page ─── */
.fx-game-page { padding: 1rem; max-width: 820px; margin: 0 auto; }
.fx-game-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.fx-game-title { font-size: 1.3rem; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.fx-game-back { color: var(--fx-muted); text-decoration: none; padding: 0.5rem 0.8rem; border-radius: 12px; font-size: 0.75rem; font-weight: 700; transition: all 0.2s; display: flex; align-items: center; gap: 5px; background: var(--fx-glass); border: 1px solid var(--fx-border); }
.fx-game-back:hover { color: var(--fx-text); background: var(--fx-glass-strong); }

/* ─── Controls ─── */
.fx-controls {
  border: 1px solid var(--fx-border);
  padding: 1.1rem; margin-bottom: 1rem;
  border-radius: var(--fx-radius);
}
.fx-controls-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.fx-controls-row .fx-input { width: auto; flex: 1; min-width: 70px; padding: 0.6rem 0.8rem; font-size: 0.8rem; font-weight: 700; }
.fx-bet-presets { display: flex; gap: 0.35rem; }
.fx-bet-preset {
  padding: 0.4rem 0.6rem;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 8px; font-size: 0.66rem; font-weight: 800;
  color: var(--fx-muted); cursor: pointer;
  transition: all 0.2s;
}
.fx-bet-preset:hover, .fx-bet-preset.active { background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.15)); border-color: rgba(0,117,255,0.4); color: var(--fx-text); }

/* ─── Game Area ─── */
.fx-game-area {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 1.6rem;
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* ─── Profile ─── */
.fx-profile {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 2rem 1.8rem;
  margin-bottom: 1.4rem;
  background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), var(--fx-shadow);
}
.fx-profile-header { display: flex; align-items: center; gap: 1.4rem; }
.fx-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--fx-grad-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 24px var(--fx-primary-glow);
}
.fx-profile-info h2 { font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-profile-info p { color: var(--fx-muted); font-size: 0.78rem; font-weight: 500; }

/* ─── Level Badge ─── */
.fx-level-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(168,85,255,0.15));
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 20px; padding: 0.25rem 0.75rem;
  font-size: 0.7rem; font-weight: 900; color: #8ec1ff;
}
.fx-level-bar {
  width: 100%; height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden; margin-top: 0.4rem;
}
.fx-level-bar-fill { height: 100%; background: linear-gradient(90deg, #0075ff, #a855ff); border-radius: 3px; transition: width 0.5s; }
.fx-rank-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 0.25rem 0.75rem; font-size: 0.7rem; font-weight: 900; margin-left: 4px; background: rgba(255,255,255,0.06); }

/* ─── Ranks ─── */
.fx-rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; margin-top: 0.5rem; }
.fx-rank-card {
  background: var(--fx-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm);
  padding: 0.8rem 0.6rem; text-align: center; transition: all 0.2s;
  opacity: 0.55; filter: grayscale(0.6);
}
.fx-rank-card:hover { transform: translateY(-2px); }
.fx-rank-card.active { border-color: rgba(0,117,255,0.6); background: linear-gradient(135deg, rgba(0,117,255,0.18), rgba(168,85,255,0.08)); box-shadow: 0 0 20px rgba(0,117,255,0.15); opacity: 1; filter: none; }
.fx-rank-card.closing:not(.active) { border-color: rgba(255, 179, 0, 0.5); background: linear-gradient(135deg, rgba(255,179,0,0.12), rgba(255,117,0,0.05)); opacity: 0.85; filter: none; }
.fx-rank-icon { font-size: 1.4rem; line-height: 1; }
.fx-rank-name { font-size: 0.72rem; font-weight: 900; margin-top: 0.25rem; }
.fx-rank-min { font-size: 0.6rem; font-weight: 700; color: var(--fx-muted); }
.fx-rank-perks { font-size: 0.58rem; font-weight: 600; color: var(--fx-muted); margin-top: 0.15rem; }

/* ─── Achievements ─── */
.fx-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.6rem; }
.fx-ach-item {
  background: var(--fx-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm); padding: 0.9rem 0.6rem; text-align: center;
  transition: all 0.2s;
}
.fx-ach-item:hover { transform: translateY(-2px); }
.fx-ach-item.unlocked { border-color: rgba(0,117,255,0.5); background: linear-gradient(135deg, rgba(0,117,255,0.15), rgba(168,85,255,0.08)); box-shadow: 0 0 20px rgba(0,117,255,0.1); }
.fx-ach-item.locked { opacity: 0.4; filter: grayscale(0.8); }
.fx-ach-icon { font-size: 1.8rem; display: block; margin-bottom: 0.25rem; }
.fx-ach-name { font-size: 0.68rem; font-weight: 900; }
.fx-ach-desc { font-size: 0.58rem; font-weight: 600; color: var(--fx-muted); }

/* ─── History Table ─── */
.fx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-table { width: 100%; border-collapse: collapse; font-size: clamp(0.66rem, 1.5vw, 0.78rem); }
.fx-table th { text-align: left; padding: 0.55rem 0.5rem; color: var(--fx-muted); font-weight: 800; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.8px; border-bottom: 1px solid var(--fx-border); white-space: nowrap; }
.fx-table td { padding: 0.55rem 0.5rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.04); white-space: nowrap; }
.fx-table tr:hover td { background: var(--fx-glass-strong); }

/* ─── Badge ─── */
.fx-badge { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.fx-badge-win { background: rgba(0,178,75,0.15); color: var(--fx-success); border: 1px solid rgba(0,178,75,0.25); }
.fx-badge-lose { background: rgba(255,77,93,0.15); color: var(--fx-danger); border: 1px solid rgba(255,77,93,0.25); }
.fx-badge-vip { background: linear-gradient(135deg, #ffcc26, #ff4d5d); color: #fff; }
.fx-badge-pending { background: rgba(255,204,38,0.15); color: var(--fx-gold); border: 1px solid rgba(255,204,38,0.25); }
.fx-badge-completed { background: rgba(0,178,75,0.15); color: var(--fx-success); border: 1px solid rgba(0,178,75,0.25); }
.fx-badge-rejected { background: rgba(255,77,93,0.15); color: var(--fx-danger); border: 1px solid rgba(255,77,93,0.25); }

/* ─── Toasts ─── */
.fx-toast-container { position: fixed; top: 78px; right: 1rem; z-index: 999; display: flex; flex-direction: column; gap: 0.6rem; }
.fx-toast {
  padding: 0.8rem 1.1rem; border-radius: var(--fx-radius-sm);
  font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  animation: toastSlide 0.3s ease;
  max-width: 350px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.fx-toast-info { background: rgba(0,117,255,0.3); color: #8ec1ff; }
.fx-toast-success { background: rgba(0,178,75,0.25); color: var(--fx-success); }
.fx-toast-error { background: rgba(255,77,93,0.25); color: var(--fx-danger); }
.fx-toast-win { background: rgba(255,204,38,0.25); color: var(--fx-gold); }
@keyframes toastSlide { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ─── Loading ─── */
.fx-loading { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(8,10,18,0.75); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 200; }
.fx-loading.show { display: flex; }
.fx-loader { width: 46px; height: 46px; border: 4px solid rgba(255,255,255,0.1); border-top-color: #0075ff; border-radius: 50%; animation: spin 0.8s linear infinite; box-shadow: 0 0 30px rgba(0,117,255,0.2); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Animations ─── */
.anim-fade { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.anim-fade.visible { opacity: 1; transform: translateY(0); }
.anim-stagger > * { opacity: 0; transform: translateY(18px); transition: all 0.45s cubic-bezier(0.4,0,0.2,1); }
.anim-stagger.visible > * { opacity: 1; transform: translateY(0); }
.anim-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.anim-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.anim-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.anim-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.anim-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.anim-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.anim-stagger.visible > *:nth-child(7) { transition-delay: 0.36s; }
.anim-stagger.visible > *:nth-child(8) { transition-delay: 0.42s; }
.anim-stagger.visible > * > * { opacity: 1; transform: translateY(0); }

/* ─── Mobile Bottom Nav ─── */
.fx-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,10,23,0.7); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border-top: 1px solid rgba(255,255,255,0.08); z-index: 100; padding: 0.4rem 0.2rem env(safe-area-inset-bottom, 0.4rem); }
.fx-bottom-nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 0.1rem; }
.fx-bottom-link { color: var(--fx-muted); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0.25rem 0.4rem; font-size: 0.55rem; font-weight: 800; transition: all 0.2s; }
.fx-bottom-link i { font-size: 1.2rem; }
.fx-bottom-link.active, .fx-bottom-link:hover { color: #4d9fff; }

/* ─── Sound toggle ─── */
.fx-sound-btn {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  color: var(--fx-muted);
  font-size: 1.15rem; cursor: pointer; padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.2s;
}
.fx-sound-btn:hover { color: var(--fx-text); background: var(--fx-glass-strong); }

/* ─── Copy flash ─── */
@keyframes copyFlash { 0%,100% { background: rgba(0,117,255,0.25); } 50% { background: rgba(0,178,75,0.35); } }
.fx-copied { animation: copyFlash 0.6s ease; }

/* ─── Two column sections ─── */
.fx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

/* ─── Responsive ─── */
@media (min-width: 769px) {
  .fx-nav-link span { display: inline; }
  .fx-main { padding-bottom: 1rem; }
}
@media (max-width: 768px) {
  html, body { height: 100%; overflow: hidden; }
  .fx-nav { padding: 0 0.8rem; height: 60px; }
  .fx-logo { font-size: 1.15rem; }
  .fx-logo i { font-size: 1rem; }
  .fx-nav-link { padding: 0.35rem 0.45rem; font-size: 0.68rem; }
  .fx-nav-link span { display: none; }
  .fx-nav-link i { font-size: 1.05rem; }
  .fx-balance { font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 12px; }
  .fx-balance-label { display: none; }
  .fx-main {
    padding-top: 0px; padding-bottom: 0px;
    margin-top: 60px;
    min-height: 0;
    height: calc(100vh - 60px - env(safe-area-inset-bottom, 0px) - 78px);
    height: calc(100dvh - 60px - env(safe-area-inset-bottom, 0px) - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .fx-container { padding-bottom: 1.2rem; }
  .fx-finance-page { padding-bottom: 1.2rem; }
  .fx-game-page { padding-bottom: 1.2rem; }
  .fx-auth-page { min-height: 100%; align-items: flex-start; padding-top: 1.5rem; }
  .fx-auth-card { margin-bottom: 1rem; }
  .fx-container { padding: 0 0.7rem; }
  .fx-games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .fx-game-card { padding: 1.2rem 0.4rem; min-height: 125px; border-radius: 18px; }
  .fx-game-icon { font-size: 2.2rem; margin-bottom: 0.4rem; }
  .fx-game-name { font-size: 0.78rem; }
  .fx-game-desc { display: none; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .fx-stat { padding: 0.7rem 0.5rem; }
  .fx-stat-value { font-size: 1rem; }
  .fx-stat-label { font-size: 0.52rem; }
  .fx-hero { padding: 0.8rem 0.5rem 0.6rem; }
  .fx-hero h1 { font-size: 1.5rem; }
  .fx-hero p { font-size: 0.72rem; margin-bottom: 0.8rem; }
  .fx-hero-stats { gap: 0.5rem; }
  .fx-hero-stat { padding: 0.55rem 0.6rem; gap: 8px; }
  .fx-hero-stat-ico { width: 28px; height: 28px; border-radius: 8px; font-size: 0.9rem; }
  .fx-hero-stat-val { font-size: 0.82rem; }
  .fx-hero-stat-label { font-size: 0.5rem; letter-spacing: 0.3px; }
  .fx-hero-glow { width: 340px; height: 340px; }
  .fx-cols { grid-template-columns: 1fr; gap: 0.7rem; }
  .fx-glass-title { font-size: 0.66rem; }
  .fx-auth-card { padding: 1.8rem 1.4rem; }
  .fx-auth-title { font-size: 1.4rem; }
  .fx-input { padding: 0.65rem 0.9rem; font-size: 0.85rem; }
  .fx-game-page { padding: 0.4rem; }
  .fx-game-header { margin-bottom: 0.6rem; }
  .fx-game-title { font-size: 1.05rem; }
  .fx-controls { padding: 0.75rem; margin-bottom: 0.7rem; border-radius: 16px; }
  .fx-controls-row { gap: 0.4rem; }
  .fx-controls-row .fx-input { font-size: 0.74rem; padding: 0.5rem 0.6rem; min-width: 85px; }
  .fx-bet-preset { padding: 0.3rem 0.45rem; font-size: 0.62rem; }
  .fx-game-area { min-height: 200px; padding: 1rem; border-radius: 16px; }
  .fx-bottom-nav { display: block; }
  .fx-btn { padding: 0.45rem 1rem; font-size: 0.73rem; }
  .fx-btn-sm { padding: 0.3rem 0.7rem; font-size: 0.65rem; }
  .fx-currency-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .fx-finance-page { padding: 0.4rem; }
  .fx-finance-card { padding: 1rem 0.9rem; margin-bottom: 0.8rem; }
  .fx-finance-title { font-size: 0.95rem; margin-bottom: 0.9rem; }
  .fx-jackpot { padding: 0.9rem 0.8rem; margin-bottom: 0.9rem; }
  .fx-jackpot-amount { font-size: 1.8rem; }
  .fx-jackpot-icon { font-size: 1.6rem; }
  .fx-daily { flex-direction: column; text-align: center; gap: 0.6rem; padding: 0.9rem 1rem; margin-bottom: 0.9rem; }
  .fx-daily-left { flex-direction: column; justify-content: center; gap: 8px; }
  .fx-daily-info h3 { font-size: 0.95rem; justify-content: center; }
  .fx-daily-info p { text-align: center; }
  .fx-daily-icon { font-size: 1.9rem; }
  .fx-daily-btn { min-width: 110px; padding: 0.55rem 1rem; }
  .fx-ach-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .fx-profile-header { gap: 1rem; }
  .fx-profile { padding: 1.4rem 1.1rem; }
  .fx-avatar { width: 54px; height: 54px; font-size: 1.4rem; }
  .fx-profile-info h2 { font-size: 1.1rem; flex-direction: column; align-items: flex-start; gap: 4px; }
  .fx-prof-exp { display: block; }
  .fx-live-wins { max-height: 180px; padding: 0.5rem 0.7rem; }
  .fx-live-item { padding: 0.45rem 0.3rem; font-size: 0.74rem; }
  .fx-glass { padding: 0.9rem 0.95rem; }
  .fx-table th, .fx-table td { padding: 0.45rem 0.4rem; }
  .fx-lb-item { padding: 0.4rem 0.3rem; font-size: 0.7rem; }
}
@media (min-width: 401px) and (max-width: 768px) {
  .fx-ach-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) {
  .fx-games-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-ach-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-currency-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-game-title { font-size: 1rem; }
  .fx-deposit-steps { grid-template-columns: 1fr; gap: 0.5rem; }
}
/* ─── Sidebar ─────────────────────────────────────────────────────── */
.fx-burger {
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
  font-size: 1.3rem;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.fx-burger:hover { background: var(--fx-glass-strong); border-color: rgba(0,117,255,0.5); }
.fx-nav .fx-logo { margin-left: 0.8rem; margin-right: auto; }

.fx-sidebar-overlay {
  position: fixed; inset: 0; background: rgba(5,5,15,0.6);
  backdrop-filter: blur(4px); z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.fx-sidebar-overlay.show { opacity: 1; pointer-events: auto; }

.fx-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px;
  background: rgba(13,15,24,0.97);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border-right: 1px solid var(--fx-border);
  z-index: 250;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 20px 0 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.fx-sidebar.show { transform: translateX(0); }
.fx-sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(0,117,255,0.06), transparent);
}
.fx-sidebar-head .fx-logo { font-size: 1.3rem; }
.fx-sidebar-close {
  background: var(--fx-glass); border: 1px solid var(--fx-border);
  color: var(--fx-muted); width: 34px; height: 34px; border-radius: 10px;
  font-size: 0.9rem; cursor: pointer; transition: all 0.2s;
}
.fx-sidebar-close:hover { color: var(--fx-text); background: var(--fx-glass-strong); }
.fx-sidebar-section { padding: 1rem 1.1rem 0.2rem; }
.fx-sidebar-caption {
  font-size: 0.62rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--fx-muted); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 7px;
}
.fx-sidebar-caption i { color: var(--fx-primary); }
.fx-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--fx-muted); text-decoration: none;
  padding: 0.6rem 0.8rem; border-radius: 12px;
  font-size: 0.8rem; font-weight: 700; transition: all 0.2s;
  margin-bottom: 3px;
}
.fx-sidebar-link:hover { background: var(--fx-glass); color: var(--fx-text); }
.fx-sidebar-link.active {
  background: linear-gradient(135deg, rgba(0,117,255,0.2), rgba(168,85,255,0.1));
  color: var(--fx-text); border: 1px solid rgba(0,117,255,0.3);
}
.fx-sidebar-link.out { color: var(--fx-danger); }
.fx-sidebar-link.out:hover { background: rgba(255,77,93,0.12); }
.fx-sidebar-btn {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font: inherit; -webkit-appearance: none; appearance: none;
}
.fx-sidebar-btn:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: -2px; }
.fx-sb-games { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.fx-sb-game {
  display: flex; align-items: center; gap: 8px;
  background: var(--fx-glass);
  border: 1px solid var(--fx-border);
  border-radius: 12px; padding: 0.5rem 0.6rem;
  color: var(--fx-text); text-decoration: none;
  font-size: 0.72rem; font-weight: 800; transition: all 0.2s;
}
.fx-sb-game span { font-size: 1rem; }
.fx-sb-game:hover { border-color: rgba(0,117,255,0.5); background: rgba(0,117,255,0.1); transform: translateY(-1px); }
.fx-sidebar-foot {
  padding: 1rem 1.1rem; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.fx-wager-mini { }

/* ─── Mobile Bottom Catalog Button ────────────────────────────────── */
.fx-bottom-nav .fx-bottom-nav-inner { position: relative; }
.fx-bottom-catalog {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; color: var(--fx-muted);
  font-size: 0.55rem; font-weight: 800; cursor: pointer;
  transform: translateY(-18px); flex-shrink: 0; padding: 0;
  outline: none;
}
.fx-bc-ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #0075ff, #00c8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 8px 28px var(--fx-primary-glow), 0 0 0 6px rgba(8,10,18,0.9);
  transition: all 0.25s; border: 3px solid #080a12;
}
.fx-bottom-catalog:hover .fx-bc-ring,
.fx-bottom-catalog.active .fx-bc-ring {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 10px 34px var(--fx-primary-glow), 0 0 24px rgba(0,200,255,0.45), 0 0 0 6px rgba(8,10,18,0.6);
}
.fx-bottom-catalog.active { color: #fff; }

@media (max-width: 480px) {
  .fx-sidebar { width: 84vw; }
}

/* ─── Hero & Features (marketing) ─────────────────────────────────── */
.fx-hero-badges {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.fx-h-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,117,255,0.12);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 30px; padding: 0.35rem 0.8rem;
  font-size: 0.66rem; font-weight: 800; color: #8ec1ff;
  backdrop-filter: blur(10px);
}
.fx-h-badge:nth-child(2) { background: rgba(255,204,38,0.1); border-color: rgba(255,204,38,0.25); color: #ffe9a3; }
.fx-h-badge:nth-child(3) { background: rgba(168,85,255,0.1); border-color: rgba(168,85,255,0.25); color: #d8b4fe; }
.fx-hero h1 span {
  background: linear-gradient(135deg, #00c8ff, #0075ff 40%, #a855ff 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fx-hero-sub { color: var(--fx-muted); font-size: clamp(0.82rem, 2vw, 1rem); font-weight: 500; max-width: 560px; margin: 0 auto 1.4rem; }
.fx-hero-cta { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.fx-btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
}
.fx-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,117,255,0.5); }

.fx-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem; margin-bottom: 1.4rem;
}
.fx-feature {
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.12);
  border-radius: 18px; padding: 1.1rem 0.8rem; text-align: center;
  transition: all 0.25s;
}
.fx-feature:hover { transform: translateY(-3px); border-color: rgba(0,117,255,0.4); box-shadow: 0 12px 30px var(--fx-primary-glow); }
.fx-feature-icon {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 0.6rem;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.12));
  border: 1px solid rgba(0,117,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #4d9fff;
}
.fx-feature:nth-child(2) .fx-feature-icon { background: linear-gradient(135deg, rgba(255,204,38,0.2), rgba(168,85,255,0.15)); border-color: rgba(255,204,38,0.3); color: #ffcc26; }
.fx-feature:nth-child(3) .fx-feature-icon { background: linear-gradient(135deg, rgba(0,178,75,0.2), rgba(0,239,255,0.15)); border-color: rgba(0,178,75,0.3); color: #00b24b; }
.fx-feature:nth-child(4) .fx-feature-icon { background: linear-gradient(135deg, rgba(168,85,255,0.2), rgba(0,117,255,0.15)); border-color: rgba(168,85,255,0.3); color: #a855ff; }
.fx-feature-name { font-size: 0.8rem; font-weight: 900; color: var(--fx-text); margin-bottom: 0.2rem; }
.fx-feature-desc { font-size: 0.62rem; font-weight: 600; color: var(--fx-muted); line-height: 1.35; }

.fx-catalog-link {
  margin-left: auto; font-size: 0.62rem; font-weight: 800; color: #4d9fff;
  text-decoration: none; text-transform: none; letter-spacing: 0;
  padding: 0.3rem 0.7rem; border-radius: 10px;
  background: rgba(0,117,255,0.1); border: 1px solid rgba(0,117,255,0.3);
}
.fx-slot-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(56,217,245,0.2), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(255,204,38,0.12), transparent 55%),
    linear-gradient(135deg, #0a2c44, #06202f);
  border: 2px solid rgba(56,217,245,0.35); border-radius: var(--fx-radius);
  text-decoration: none; color: var(--fx-text);
  transition: all 0.25s; position: relative; overflow: hidden;
}
.fx-slot-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,0.5); border-color: rgba(56,217,245,0.7); }
.fx-slot-card .fx-slot-emoji { font-size: 2.4rem; filter: drop-shadow(0 4px 12px rgba(56,217,245,0.4)); }
.fx-slot-card .fx-slot-info { flex: 1; min-width: 0; }
.fx-slot-card .fx-slot-name { font-family: 'Unbounded', sans-serif; font-size: 1.05rem; font-weight: 800; }
.fx-slot-card .fx-slot-desc { font-size: 0.72rem; color: var(--fx-muted); margin-top: 0.2rem; line-height: 1.4; }
.fx-slot-badge {
  flex-shrink: 0; padding: 0.35rem 0.8rem; border-radius: 20px;
  background: linear-gradient(135deg, #ffcc26, #ff8a00); color: #1c1205;
  font-size: 0.62rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(255,204,38,0.4); animation: fxPulseBadge 1.8s ease infinite;
}
@keyframes fxPulseBadge { 0%,100% { box-shadow: 0 6px 18px rgba(255,204,38,0.3); } 50% { box-shadow: 0 6px 26px rgba(255,204,38,0.65); } }
.fx-slot-go { flex-shrink: 0; font-size: 1.3rem; color: var(--fx-cyan); }
.fx-line-strip { display: flex; gap: 0.7rem; overflow-x: auto; padding: 0.3rem 0.2rem 0.8rem; scroll-snap-type: x proximity; }
.fx-line-strip::-webkit-scrollbar { height: 6px; }
.fx-line-strip::-webkit-scrollbar-thumb { background: var(--fx-border); border-radius: 6px; }
.fx-line-strip::-webkit-scrollbar-thumb:hover { background: var(--fx-muted); }
.fx-line-card {
  scroll-snap-align: start; flex-shrink: 0; width: 150px;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center;
  padding: 1rem 0.8rem; border-radius: 14px; text-decoration: none; color: var(--fx-text);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--fx-border); transition: all 0.2s;
}
.fx-line-card:hover { transform: translateY(-3px); border-color: var(--card-c, var(--fx-border)); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.fx-line-card .fx-line-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.fx-line-card .fx-line-name { font-size: 0.78rem; font-weight: 800; }
.fx-line-card .fx-line-desc { font-size: 0.6rem; color: var(--fx-muted); line-height: 1.3; min-height: 2.3em; }
.fx-catalog-link:hover { background: rgba(0,117,255,0.2); color: #8ec1ff; }

@media (max-width: 480px) {
  .fx-hero-badges { gap: 0.35rem; margin-bottom: 0.9rem; }
  .fx-h-badge { font-size: 0.58rem; padding: 0.28rem 0.6rem; }
  .fx-features { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* ─── Welcome Bonus Banner ────────────────────────────────────────── */
.fx-welcome {
  position: relative; overflow: hidden;
  border-radius: var(--fx-radius);
  border: 1px solid rgba(0,117,255,0.25);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(0,117,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 120% at 100% 50%, rgba(113,0,255,0.15), transparent 60%),
    rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  margin-bottom: 1.6rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.fx-welcome-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.4rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.fx-welcome-ico { font-size: 2.6rem; filter: drop-shadow(0 6px 16px rgba(255,204,38,0.45)); flex-shrink: 0; }
.fx-welcome-info { flex: 1; min-width: 220px; }
.fx-welcome-title { font-size: 0.98rem; font-weight: 900; }
.fx-welcome-title b { color: var(--fx-gold); }
.fx-welcome-desc { font-size: 0.72rem; color: var(--fx-muted); font-weight: 500; margin-top: 0.15rem; line-height: 1.45; }
.fx-welcome-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
@media (max-width: 520px) {
  .fx-welcome-inner { flex-direction: column; text-align: center; padding: 1.2rem 1rem; }
  .fx-welcome-actions { width: 100%; justify-content: center; }
  .fx-welcome-actions .fx-btn { flex: 1; justify-content: center; }
}

/* ─── Steps ───────────────────────────────────────────────────────── */
.fx-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.fx-step {
  position: relative; text-align: left;
  padding: 1.2rem 1.1rem;
  background: var(--fx-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--fx-border);
  border-top-color: rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: hidden;
}
.fx-step-num {
  position: absolute; top: -14px; right: 6px;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 3.4rem; font-weight: 900; line-height: 1;
  color: rgba(0,117,255,0.12); pointer-events: none;
}
.fx-step-ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  background: var(--fx-grad-blue);
  box-shadow: 0 6px 18px var(--fx-primary-glow);
  margin-bottom: 0.7rem;
}
.fx-step:nth-child(2) .fx-step-ico { background: var(--fx-grad-gold); color: #1c1205; box-shadow: 0 6px 18px var(--fx-gold-glow); }
.fx-step:nth-child(3) .fx-step-ico { background: var(--fx-grad-purple); box-shadow: 0 6px 18px rgba(113,0,255,0.4); }
.fx-step-name { font-size: 0.85rem; font-weight: 900; margin-bottom: 0.2rem; position: relative; z-index: 1; }
.fx-step-desc { font-size: 0.68rem; color: var(--fx-muted); font-weight: 500; line-height: 1.4; position: relative; z-index: 1; }
@media (max-width: 640px) {
  .fx-steps { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ─── Footer (1win style) ─────────────────────────────────────────── */
.fx-footer {
  position: relative;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(ellipse 60% 80% at 50% 130%, rgba(0,117,255,0.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(12,14,22,0.6) 0%, #0a0c14 100%);
  backdrop-filter: blur(10px);
}
.fx-footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,117,255,0.4), rgba(0,239,255,0.3), transparent);
}
.fx-footer .fx-container { padding-top: 2rem; padding-bottom: 1.2rem; }
.fx-f-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
.fx-f-brand .fx-logo { font-size: 1.5rem; margin-bottom: 0.7rem; }
.fx-f-tag { font-size: 0.72rem; line-height: 1.6; color: var(--fx-muted); font-weight: 500; margin-bottom: 0.9rem; max-width: 260px; }
.fx-f-social { display: flex; gap: 0.5rem; margin-bottom: 0.9rem; }
.fx-so {
  width: 36px; height: 36px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--fx-border);
  color: var(--fx-muted); font-size: 1rem;
  text-decoration: none; transition: all 0.2s;
}
.fx-so:hover {
  color: #fff; background: var(--fx-grad-blue);
  border-color: transparent;
  box-shadow: 0 6px 18px var(--fx-primary-glow);
  transform: translateY(-2px);
}
.fx-f-18 {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 800; color: var(--fx-muted);
  border: 1px solid rgba(255,77,93,0.35);
  background: rgba(255,77,93,0.08);
  color: #ff8d97;
  padding: 0.3rem 0.7rem; border-radius: 20px;
}
.fx-f-col { min-width: 0; }
.fx-f-title {
  font-size: 0.68rem; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--fx-text);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 7px;
}
.fx-f-title i { color: var(--fx-primary); }
.fx-f-link {
  display: block; padding: 0.3rem 0;
  font-size: 0.74rem; font-weight: 600; color: var(--fx-muted);
  text-decoration: none; transition: all 0.15s;
}
.fx-f-link:hover { color: #fff; transform: translateX(3px); }
.fx-payments {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  padding: 1rem 0; margin-bottom: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fx-pay-label { font-size: 0.66rem; font-weight: 800; color: var(--fx-muted); text-transform: uppercase; letter-spacing: 1px; margin-right: 0.4rem; }
.fx-pay-badge {
  font-size: 0.6rem; font-weight: 900; letter-spacing: 0.6px;
  color: var(--fx-muted);
  padding: 0.32rem 0.75rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--fx-border);
  font-family: 'Inter', sans-serif;
}
.fx-pay-badge:hover { border-color: rgba(0,117,255,0.4); color: var(--fx-text); }
.fx-f-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  font-size: 0.66rem; font-weight: 600; color: rgba(228,234,245,0.4);
}
.fx-f-bottom-ages {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 900;
  background: rgba(255,77,93,0.12);
  border: 1px solid rgba(255,77,93,0.35);
  color: #ff8d97;
}

@media (max-width: 900px) {
  .fx-f-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .fx-f-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .fx-footer .fx-container { padding-top: 1.4rem; }
  .fx-f-grid { gap: 1rem; }
  .fx-f-bottom { flex-direction: column; text-align: center; }
}

/* ─── Game art images (1:1) ─────────────────────────────────────────── */
.fx-sb-img {
  width: 26px; height: 26px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}
.fx-game-img {
  width: 3.6rem; height: 3.6rem; border-radius: 16px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,117,255,0.22);
  margin-bottom: 0.7rem; position: relative; z-index: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.fx-game-card:hover .fx-game-img { transform: scale(1.1) rotate(-2deg); }
.fx-cat-img {
  width: 3.4rem; height: 3.4rem; border-radius: 14px; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.5), 0 0 0 1px color-mix(in srgb, var(--cat-accent) 45%, transparent);
  position: relative; z-index: 1; margin-bottom: 0.6rem;
  transition: transform 0.3s;
}
.fx-cat-card:hover .fx-cat-img { transform: scale(1.08) rotate(2deg); }

/* ─── Jackpot Panel ─── */
.fx-jackpot {
  position: relative; overflow: hidden; text-align: center;
  padding: 1.4rem 1rem; border-radius: var(--fx-radius);
  margin-bottom: 1.5rem; border: 1px solid rgba(240,185,11,0.35);
  background: linear-gradient(160deg, rgba(240,185,11,0.12), rgba(15,15,28,0.9) 65%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 60px rgba(240,185,11,0.08);
}
.fx-jackpot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(240,185,11,0.25), transparent 65%); pointer-events: none; }
.fx-jackpot-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--fx-muted); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.fx-jackpot-val {
  font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  background: linear-gradient(135deg, #ffd54a, #f0b90b 55%, #ff8c00);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(240,185,11,0.35);
  line-height: 1.25; white-space: nowrap;
}
.fx-jackpot-sub { font-size: 0.72rem; color: var(--fx-muted); margin-top: 0.2rem; }

/* ─── Live Wins Ticker ─── */
.fx-ticker {
  position: relative; overflow: hidden; border-radius: var(--fx-radius-sm);
  border: 1px solid var(--fx-border); background: var(--fx-glass);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  margin-bottom: 1.5rem; display: flex; align-items: center;
}
.fx-ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  padding: 0.55rem 0.9rem; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em;
  color: #10b981; border-right: 1px solid var(--fx-border);
  background: rgba(16,185,129,0.08);
}
.fx-ticker-track { overflow: hidden; flex: 1; padding: 0.55rem 0.2rem; }
.fx-ticker-inner { display: inline-flex; gap: 2.4rem; white-space: nowrap; animation: fxTicker 38s linear infinite; padding-left: 100%; }
.fx-ticker:hover .fx-ticker-inner { animation-play-state: paused; }
.fx-ticker-item { font-size: 0.74rem; color: var(--fx-muted); font-weight: 600; }
.fx-ticker-item b { color: var(--fx-text); font-weight: 800; }
.fx-ticker-item .fx-t-win { color: #10b981; font-weight: 900; }
.fx-ticker-item .fx-t-game { color: var(--fx-primary); font-weight: 700; }
@keyframes fxTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ─── Lobby Controls (search + filters) ─── */
.fx-lobby-controls { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.1rem; }
.fx-search {
  flex: 1 1 220px; display: flex; align-items: center; gap: 8px;
  background: var(--fx-glass); border: 1px solid var(--fx-border);
  border-radius: 12px; padding: 0.55rem 0.8rem; color: var(--fx-muted);
}
.fx-search input {
  flex: 1; background: none; border: none; outline: none; color: var(--fx-text);
  font-size: 0.82rem; font-weight: 600;
}
.fx-search input::placeholder { color: var(--fx-muted); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; flex: 1 1 100%; }
.fx-chip {
  border: 1px solid var(--fx-border); background: var(--fx-glass); color: var(--fx-muted);
  font-size: 0.72rem; font-weight: 700; padding: 0.38rem 0.85rem; border-radius: 999px;
  cursor: pointer; transition: all 0.2s; user-select: none;
}
.fx-chip:hover { border-color: rgba(0,117,255,0.5); color: var(--fx-text); }
.fx-chip.on { background: rgba(0,117,255,0.18); border-color: var(--fx-primary); color: #bfe0ff; }
.fx-grid-note { font-size: 0.7rem; color: var(--fx-muted); margin: -0.4rem 0 0.9rem; }
.fx-game-card.hidden-card { display: none; }
.fx-game-ico-fallback { position: relative; z-index: 1; margin-bottom: 0.4rem; line-height: 1; filter: drop-shadow(0 6px 16px rgba(0,117,255,0.3)); }

.fx-bonus-tag{display:inline-block;margin-left:6px;font-size:0.55rem;font-weight:800;color:#f0b90b;background:rgba(240,185,11,.12);border:1px solid rgba(240,185,11,.35);padding:2px 9px;border-radius:20px;letter-spacing:0.3px;vertical-align:middle;line-height:1.4;}
@media (max-width:768px){.fx-bonus-tag{font-size:0.5rem;padding:1px 7px;}}

/* ─── Notifications ─────────────────────────────────────────────── */
.fx-notif-wrap { position: relative; display: flex; align-items: center; }
.fx-notif-btn {
  position: relative;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fx-glass);
  border: 1px solid var(--fx-glass-border);
  border-radius: 10px;
  color: var(--fx-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.fx-notif-btn:hover { color: var(--fx-text); background: var(--fx-glass-strong); border-color: rgba(0,239,255,0.35); transform: translateY(-1px); }
.fx-notif-btn i { font-size: 1rem; }
.fx-notif-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff4d5d, #ff8a00);
  color: #fff;
  font-size: 0.58rem; font-weight: 900;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(255,77,93,0.5);
}
.fx-notif-badge.pulse { animation: fxNotifPulse 0.6s ease; }
@keyframes fxNotifPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.fx-notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  width: 340px; max-height: 440px;
  display: flex; flex-direction: column;
  background: rgba(10, 16, 26, 0.97);
  border: 1px solid rgba(0,117,255,0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(-6px) scale(0.98);
  pointer-events: none; transition: all 0.18s ease;
}
.fx-notif-panel.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-notif-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.8rem 0.55rem;
}
.fx-notif-title { font-size: 0.75rem; font-weight: 800; color: var(--fx-text); text-transform: uppercase; letter-spacing: 0.06em; }
.fx-notif-readall {
  background: none; border: none; cursor: pointer;
  color: var(--fx-accent); font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.4rem; border-radius: 8px;
  transition: all 0.15s;
}
.fx-notif-readall:hover { background: rgba(0,239,255,0.1); }
.fx-notif-readall.hidden { visibility: hidden; }
.fx-notif-list {
  overflow-y: auto; padding: 0 0.55rem 0.6rem;
  display: flex; flex-direction: column; gap: 4px;
}
.fx-notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%; padding: 0.55rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  cursor: pointer; text-align: left;
  transition: all 0.15s;
}
.fx-notif-item:hover { background: rgba(0,117,255,0.15); border-color: rgba(0,117,255,0.35); }
.fx-notif-item.unread { background: rgba(0,239,255,0.07); border-color: rgba(0,239,255,0.3); }
.fx-notif-ico {
  width: 32px; height: 32px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.15));
  color: var(--fx-gold); font-size: 0.85rem;
}
.fx-notif-body { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.fx-notif-msg { font-size: 0.72rem; font-weight: 700; color: var(--fx-text); line-height: 1.3; }
.fx-notif-sub { display: block; font-size: 0.66rem; font-weight: 500; color: var(--fx-muted); margin-top: 1px; }
.fx-notif-time { font-size: 0.6rem; color: var(--fx-muted); opacity: 0.8; margin-top: 2px; }
.fx-notif-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 2.2rem 1rem; color: var(--fx-muted);
  font-size: 0.72rem; font-weight: 600;
}
.fx-notif-empty i { font-size: 1.6rem; opacity: 0.5; }
@media (max-width: 480px) {
  .fx-notif-panel { width: calc(100vw - 24px); right: -12px; }
}
.fx-notif-sub img, .fx-notif-msg img.fx-notif-img {
  display: block; max-width: 100%; border-radius: 10px; margin: 6px 0; border: 1px solid rgba(255,255,255,0.08);
}
.fx-notif-sub a, .fx-notif-msg a { color: #00c8ff; }
.fx-notif-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.fx-notif-btn-inline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 12px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(0,117,255,0.25), rgba(0,239,255,0.15));
  border: 1px solid rgba(0,117,255,0.4);
  color: #fff; font-size: 0.66rem; font-weight: 800;
  text-decoration: none; transition: all 0.15s;
}
.fx-notif-btn-inline:hover { background: linear-gradient(135deg, rgba(0,117,255,0.4), rgba(0,239,255,0.3)); color: #fff; }

/* ===== Header auth buttons ===== */
.fx-nav-auth { padding: 0.42rem 0.95rem; border-radius: 12px; font-size: 0.78rem; font-weight: 800; letter-spacing: .01em; }
.fx-nav-auth i { font-size: 0.85rem; }
.fx-nav-auth.fx-btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.fx-nav-auth.fx-btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.fx-nav-auth.fx-btn-primary { box-shadow: 0 6px 18px var(--fx-primary-glow); }
.fx-nav-auth.fx-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--fx-primary-glow); }
@media (max-width: 720px) {
  .fx-nav-auth { padding: 0.4rem 0.7rem; font-size: 0.72rem; }
  .fx-nav-auth span { display: none; }
}
