:root {
  --bg: #050706;
  --panel: rgba(15, 18, 17, 0.78);
  --panel-strong: rgba(18, 24, 21, 0.95);
  --line: rgba(0, 255, 136, 0.22);
  --neon: #00ff88;
  --neon-soft: rgba(0, 255, 136, 0.22);
  --text: #f4fff9;
  --muted: #98a8a0;
  --danger: #ff4d6d;
  --discord: #5865f2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 10%, rgba(0,255,136,.12), transparent 25%), var(--bg);
  color: var(--text);
  font-family: Poppins, Arial, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  pointer-events: none;
}
#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .4; }
.page-glow { position: fixed; inset: auto -20% -30% -20%; height: 45vh; background: radial-gradient(circle, rgba(0,255,136,.16), transparent 62%); pointer-events: none; }
a { color: inherit; }
.site-header{
    position:sticky;
    top:0;
    z-index:10;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:20px;

    padding:24px;

    background:rgba(5,7,6,.82);
    backdrop-filter:blur(16px);

    border-bottom:1px solid var(--line);
}
.brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-decoration:none;
}
.brand-logo{
    width:112px;
    height:112px;
    object-fit:contain;
}
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--neon); color: #00140b; font-weight: 900; font-size: 25px; box-shadow: 0 0 28px var(--neon-soft); }
.brand h1{
    font-size:32px;
    line-height:1;
    margin:0;
    text-align:center;
}
.brand span{
    display:block;
    margin-top:6px;
    color:var(--muted);
    font-size:14px;
    text-align:center;
}
.nav-tabs{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}
.nav-tabs a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 10px 12px; border-radius: 999px; transition: .2s; }
.nav-tabs a:hover { color: var(--neon); background: var(--neon-soft); }
 .primary-link, .small-btn, .ghost-btn {
  border: 0; cursor: pointer; border-radius: 12px; font-weight: 800; transition: .2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
main { width: min(1180px, calc(100% - 32px)); margin: 28px auto 0; position: relative; z-index: 1; }
.section-card, .podium-card, .leaderboard-row {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
}
.hero { padding: clamp(34px, 6vw, 76px); border-radius: 28px; text-align: center; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: -30% 20% auto; height: 230px; background: radial-gradient(circle, var(--neon-soft), transparent 65%); pointer-events: none; }
.eyebrow { color: var(--neon); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-bottom: 10px; }
.hero h2, .section-heading h2, .section-card h2 { font-size: clamp(32px, 6vw, 68px); line-height: 1; text-shadow: 0 0 25px var(--neon-soft); }
.section-card h2, .section-heading h2 { font-size: clamp(28px, 4vw, 42px); }
.hero-copy, .section-card p { color: var(--muted); margin-top: 14px; }
.countdown-wrap { display: grid; grid-template-columns: repeat(4, minmax(78px, 1fr)); gap: 14px; max-width: 650px; margin: 32px auto; }
.countdown-wrap div { padding: 18px 14px; border-radius: 18px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08); }
.countdown-wrap strong { display: block; color: var(--neon); font-size: clamp(30px, 5vw, 48px); line-height: 1; }
.countdown-wrap span { color: var(--muted); font-size: 12px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.primary-link { background: var(--neon); color: #00140b; padding: 14px 22px; box-shadow: 0 0 24px var(--neon-soft); }
.ghost-btn, .small-btn { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid rgba(255,255,255,.1); padding: 12px 16px; }
.small-btn { padding: 10px 14px; }
.status-message { margin: 20px auto 0; color: var(--muted); font-size: 13px; }
.status-message.good { color: var(--neon); }
.status-message.bad { color: var(--danger); }
.leaderboard-section { margin-top: 38px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.section-heading.compact { margin-top: 32px; }
.podium-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.podium-card { border-radius: 26px; padding: 28px 18px; text-align: center; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.podium-card::before { content: ""; position: absolute; inset: -30% -20% auto; height: 160px; background: radial-gradient(circle, var(--neon-soft), transparent 65%); }
.podium-card.rank-1 { transform: translateY(-16px); border-color: rgba(0,255,136,.62); }
.podium-rank { position: absolute; top: 15px; left: 15px; font-size: 28px; }
.avatar, .avatar-small { border-radius: 50%; border: 2px solid var(--neon); background: rgba(0,255,136,.13); display: grid; place-items: center; color: var(--neon); font-weight: 900; overflow: hidden; }
.avatar { width: 92px; height: 92px; font-size: 34px; margin-bottom: 14px; }
.avatar-small { width: 38px; height: 38px; font-size: 15px; flex: 0 0 auto; }
.avatar img, .avatar-small img { width: 100%; height: 100%; object-fit: cover; }
.podium-card h3 { font-size: 22px; margin-bottom: 8px; }
.wager { font-size: 28px; color: var(--neon); font-weight: 900; }
.deposit-pill, .prize-pill { margin-top: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(0,255,136,.1); color: #bfffe0; font-size: 12px; }
.leaderboard-list { display: grid; gap: 10px; }
.leaderboard-row { display: grid; grid-template-columns: 70px 1.6fr 1fr 1fr 90px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; }
.row-rank { color: var(--neon); font-weight: 900; font-size: 18px; }
.player-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.row-deposit, .row-prize { color: var(--muted); }
.row-wager { color: var(--neon); font-weight: 900; text-align: right; }
.rules-section, .socials-section { margin-top: 38px; border-radius: 28px; padding: clamp(24px, 4vw, 42px); }
.deposit-widget { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 22px; }
.deposit-topline { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.progress-shell { height: 20px; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, #00ff88, #9dffca); border-radius: inherit; box-shadow: 0 0 18px var(--neon-soft); transition: width .5s ease; }
.deposit-note { font-size: 13px; color: var(--muted); }
.rules-grid, .social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.rules-grid article, .social-grid a { background: rgba(0,0,0,.24); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.rules-grid h3 { color: var(--neon); margin-bottom: 8px; }
.social-grid { grid-template-columns: repeat(4, 1fr); }
.social-grid a { text-decoration: none; text-align: center; color: var(--neon); font-weight: 900; transition: .2s; }
.social-grid a:hover { background: var(--neon); color: #00140b; box-shadow: 0 0 22px var(--neon-soft); }
.user-card { margin: 22px auto 0; max-width: 360px; padding: 16px; border-radius: 18px; background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.hidden { display: none !important; }
.loading, .error, .empty-state { grid-column: 1 / -1; padding: 28px; border-radius: 18px; background: rgba(255,255,255,.04); color: var(--muted); text-align: center; }
.error { color: var(--danger); }
footer { width: min(1180px, calc(100% - 32px)); margin: 40px auto 24px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .nav-tabs { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .podium-grid, .rules-grid, .social-grid { grid-template-columns: 1fr; }
  .podium-card.rank-1 { transform: none; }
  .leaderboard-row { grid-template-columns: 48px 1fr; }
  .row-deposit, .row-wager, .row-prize { grid-column: 2; text-align: left; }
  .countdown-wrap { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; text-align: center; }
}
.giveaway-section {
  margin-top: 38px;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.giveaway-total {
  margin-top: 24px;
  font-size: clamp(46px, 8vw, 90px);
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(0,255,136,.55);
}

.giveaway-note {
  margin-top: 14px;
  color: var(--muted);
}
/* ===========================
   Community Stats
=========================== */

.stats-section{
    margin-top:38px;
    padding:40px;
    border-radius:28px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
    margin-top:28px;
}

.stat-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:24px;
    padding:32px 20px;
    text-align:center;
    box-shadow:
        0 18px 60px rgba(0,0,0,.36),
        inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter:blur(16px);
}

.stat-card span{
    display:block;
    color:var(--muted);
    font-size:15px;
    margin-bottom:12px;
}

.stat-card h3{
    font-size:48px;
    color:var(--neon);
    font-weight:900;
    text-shadow:0 0 18px rgba(0,255,136,.45);
}
/* Center all section headers */

.section-heading{
    justify-content:center;
    text-align:center;
}

.section-heading.compact{
    justify-content:center;
    text-align:center;
}

.section-card .eyebrow,
.section-card h2,
.section-card p{
    text-align:center;
}

.rules-section,
.socials-section,
.giveaway-section,
.stats-section{
    text-align:center;
}
.signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    margin: 20px auto;
    background: linear-gradient(135deg, #00ff88, #00c96b);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(0,255,136,.45);
    transition: all .25s ease;
    cursor: pointer;
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(0,255,136,.75);
}

.signup-btn:active {
    transform: translateY(0);
}
