/* ========================================================
   DIGITAL DELTA GAMING - GLASS UI (2026) - LIGHT BLUE EDITION
   Used by: index.html, store.html  (rules.html keeps ddg.css)
   Awesomium-safe: no CSS vars, prefixed flex + blur, rgba fallbacks
   ======================================================== */

* { margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #05080f;
  color: #e6ecf5;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.font-heading, h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif; letter-spacing: -0.01em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- Ambient background (Soft Light Blue, No Purple) ---------- */
.bg-ambience {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; overflow: hidden;
  background: #05080f;
}
.bg-ambience .orb {
  position: absolute; border-radius: 50%;
  -webkit-filter: blur(110px); filter: blur(110px);
  opacity: 0.32;
}
.orb-a { width: 640px; height: 640px; top: -260px; left: -160px; background: #0ea5e9; }
.orb-b { width: 520px; height: 520px; top: 28%; right: -200px; background: #38bdf8; opacity: 0.22 !important; }
.orb-c { width: 480px; height: 480px; bottom: -220px; left: 28%; background: #0284c7; opacity: 0.2 !important; }
.bg-image {
  position: absolute; top: 0; left: 0; right: 0; height: 860px;
  background-size: cover; background-position: center;
  opacity: 0.16;
  -webkit-mask-image: -webkit-linear-gradient(top, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.bg-grid {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: -webkit-linear-gradient(rgba(125,211,252,0.025) 1px, transparent 1px), -webkit-linear-gradient(left, rgba(125,211,252,0.025) 1px, transparent 1px);
  background-image: linear-gradient(rgba(125,211,252,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(125,211,252,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Glass primitive ---------- */
.glass {
  background: rgba(14, 21, 35, 0.72);
  background: -webkit-linear-gradient(top, rgba(255,255,255,0.065), rgba(255,255,255,0.02));
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02));
  border: 1px solid rgba(186,230,253,0.1);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ---------- Navbar (rendered by ddg-core.js) ---------- */
.navbar { position: -webkit-sticky; position: sticky; top: 14px; z-index: 50; padding: 0 0 6px; }
.navbar .container { padding: 0 16px; }
.navbar-inner {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  padding: 10px 14px 10px 16px;
  background: rgba(11, 17, 29, 0.84);
  border: 1px solid rgba(186,230,253,0.1);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.brand-wrapper { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; margin-right: 10px; }
.brand-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #fff; letter-spacing: 0.04em; }
.brand-title span { color: #38bdf8; }
.brand-subtitle { font-size: 10px; color: #8a99ad; text-transform: uppercase; letter-spacing: 0.14em; }
.nav-links { display: -webkit-box; display: -webkit-flex; display: flex; }
.nav-link {
  font-size: 13px; font-weight: 500; color: #9fb0c7;
  padding: 8px 14px; margin: 0 2px; border-radius: 12px;
  -webkit-transition: all .2s; transition: all .2s;
}
.nav-link i { margin-right: 6px; opacity: 0.8; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active, .nav-link.active-store { color: #fff; background: rgba(56,189,248,0.15); -webkit-box-shadow: inset 0 0 0 1px rgba(56,189,248,0.32); box-shadow: inset 0 0 0 1px rgba(56,189,248,0.32); }
.nav-profile-pill {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px; padding: 4px 6px 4px 4px;
}
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; margin-right: 8px; }
.nav-username { font-size: 12px; font-weight: 600; color: #fff; margin-right: 8px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout-link { width: 26px; height: 26px; border-radius: 50%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; color: #8a99ad; font-size: 11px; }
.nav-logout-link:hover { background: rgba(239,68,68,0.15); color: #f87171; }

/* ---------- Buttons (Clean Light Blue Gradient) ---------- */
.btn {
  display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  font-family: inherit; font-weight: 600; font-size: 13px;
  padding: 11px 20px; border-radius: 14px; border: 1px solid transparent; cursor: pointer;
  -webkit-transition: all .2s ease; transition: all .2s ease;
}
.btn i { margin-right: 8px; }
.btn-primary {
  color: #fff;
  background: #0284c7;
  background: -webkit-linear-gradient(left, #38bdf8, #0284c7);
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  -webkit-box-shadow: 0 8px 28px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255,255,255,0.28);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-primary:hover { -webkit-transform: translateY(-1px); transform: translateY(-1px); -webkit-box-shadow: 0 12px 36px rgba(56,189,248,0.5); box-shadow: 0 12px 36px rgba(56,189,248,0.5); }
.btn-secondary, .btn-ghost {
  color: #e6ecf5; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-secondary:hover, .btn-ghost:hover { background: rgba(255,255,255,0.11); }
.btn-discord { color: #fff; background: rgba(56,189,248,0.12); border-color: rgba(56,189,248,0.32); }
.btn-discord:hover { background: rgba(56,189,248,0.22); }
.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 16px; }

/* ---------- Pills / tags ---------- */
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: #7dd3fc; padding: 6px 14px; border-radius: 40px;
  background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.25);
}
.eyebrow i { margin-right: 6px; }
.grad-text {
  color: #7dd3fc;
  background: -webkit-linear-gradient(left, #e0f2fe, #7dd3fc 50%, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* =========================================================
   LANDING PAGE
   ========================================================= */
.hero { padding: 72px 0 36px; text-align: center; }
.hero h1 { font-size: 72px; line-height: 1.02; font-weight: 700; color: #fff; margin: 18px 0 26px; letter-spacing: -0.03em; }
.hero-actions { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.hero-actions .btn { margin: 6px; }

.status-bar {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-align-items: center; align-items: center;
  max-width: 820px; margin: 36px auto 0; padding: 8px; border-radius: 22px;
}
.status-cell { -webkit-box-flex: 1; -webkit-flex: 1 1 150px; flex: 1 1 150px; padding: 12px 18px; text-align: left; border-right: 1px solid rgba(255,255,255,0.06); }
.status-cell:last-child { border-right: none; }
.status-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: #7d8da3; margin-bottom: 3px; }
.status-value { font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 8px; vertical-align: middle; -webkit-box-shadow: 0 0 12px #34d399; box-shadow: 0 0 12px #34d399; -webkit-animation: pulse 1.8s infinite; animation: pulse 1.8s infinite; }
.live-dot.off { background: #ef4444; -webkit-box-shadow: 0 0 12px #ef4444; box-shadow: 0 0 12px #ef4444; }
.status-cell .btn { width: 100%; padding: 12px 14px; }
@-webkit-keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.section { padding: 64px 0 10px; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 38px; color: #fff; font-weight: 700; margin: 12px 0 6px; letter-spacing: -0.02em; }
.section-head p { color: #8a99ad; font-size: 14px; max-width: 560px; margin: 0 auto; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

/* ---------- Live Server & Steam Group Stats Grid ---------- */
.stats-grid {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap;
  margin: -8px;
}
.stat-col {
  width: 33.333%;
  padding: 8px;
}
.stat-card {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  -webkit-transition: all .22s ease; transition: all .22s ease;
}
.stat-card:hover {
  -webkit-transform: translateY(-2px); transform: translateY(-2px);
  border-color: rgba(125,211,252,0.3);
  -webkit-box-shadow: 0 22px 55px rgba(2,132,199,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
  box-shadow: 0 22px 55px rgba(2,132,199,0.18), inset 0 1px 0 rgba(255,255,255,0.12);
}
.stat-icon-box {
  width: 54px; height: 54px; border-radius: 14px; margin-right: 16px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  font-size: 22px; color: #e0f2fe;
  background: rgba(56,189,248,0.16);
  background: -webkit-linear-gradient(135deg, rgba(56,189,248,0.28), rgba(2,132,199,0.14));
  background: linear-gradient(135deg, rgba(56,189,248,0.28), rgba(2,132,199,0.14));
  border: 1px solid rgba(125,211,252,0.32);
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  -webkit-flex-shrink: 0; flex-shrink: 0;
}
.stat-info { min-width: 0; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700; line-height: 1.1;
  color: #7dd3fc;
  margin-bottom: 3px;
}
.stat-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #cbd5e1;
}

.steam-group-bar {
  margin-top: 16px; padding: 14px 20px; border-radius: 16px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.steam-group-left {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
}
.steam-group-left img {
  width: 38px; height: 38px; border-radius: 10px; margin-right: 12px;
  border: 1px solid rgba(125,211,252,0.3);
}
.steam-group-left h4 { font-size: 14px; font-weight: 700; color: #fff; }
.steam-group-left span { font-size: 12px; color: #8a99ad; }

/* Bento feature grid */
.bento { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: -8px; }
.bento-item { padding: 8px; width: 33.333%; }
.bento-item.wide { width: 66.666%; }
.feature {
  position: relative; overflow: hidden; height: 100%; min-height: 230px; padding: 26px;
  -webkit-transition: -webkit-transform .25s, border-color .25s; transition: transform .25s, border-color .25s;
}
.feature:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); border-color: rgba(125,211,252,0.28); }
.feature .glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -120px; right: -100px; -webkit-filter: blur(60px); filter: blur(60px); opacity: 0.35; }
.feature .f-icon {
  position: relative; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; margin-bottom: 18px;
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center;
  background: rgba(56,189,248,0.08); border: 1px solid rgba(125,211,252,0.18);
}
.feature .f-tag { position: absolute; top: 26px; right: 26px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: #9fb0c7; padding: 4px 10px; border-radius: 30px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.feature h3 { position: relative; font-size: 21px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.feature p { position: relative; color: #9fb0c7; font-size: 14px; line-height: 1.6; max-width: 520px; }
.feature.has-img { padding: 0; }
.feature.has-img .f-img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; opacity: 0.42; }
.feature.has-img .f-shade { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: -webkit-linear-gradient(top, rgba(5,8,15,0.1), rgba(5,8,15,0.92)); background: linear-gradient(180deg, rgba(5,8,15,0.1) 0%, rgba(5,8,15,0.92) 75%); }
.feature.has-img .f-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }

.c-blue { color: #38bdf8; } .bg-blue { background: #0284c7; }
.c-sky { color: #7dd3fc; } .bg-sky { background: #38bdf8; }
.c-red { color: #fb7185; } .bg-red { background: #e11d48; }
.c-gold { color: #fcd34d; } .bg-gold { background: #f59e0b; }
.c-green { color: #6ee7b7; } .bg-green { background: #10b981; }
.c-cyan { color: #67e8f9; } .bg-cyan { background: #06b6d4; }

/* CTA band */
.cta { margin: 72px 0 30px; padding: 46px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: 36px; color: #fff; margin-bottom: 10px; position: relative; }
.cta p { color: #9fb0c7; margin-bottom: 26px; position: relative; }
.cta .hero-actions { position: relative; }

/* Hub links */
.hub { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -8px; }
.hub a { -webkit-box-flex: 1; -webkit-flex: 1 1 280px; flex: 1 1 280px; margin: 8px; padding: 22px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-transition: all .2s; transition: all .2s; }
.hub a:hover { border-color: rgba(125,211,252,0.28); -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.hub .f-icon { width: 46px; height: 46px; border-radius: 14px; margin-right: 16px; font-size: 18px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(56,189,248,0.08); border: 1px solid rgba(125,211,252,0.18); }
.hub h4 { color: #fff; font-size: 15px; font-weight: 600; }
.hub span { color: #8a99ad; font-size: 12px; }
.hub .arrow { margin-left: auto; color: #64748b; }

/* Footer */
.site-footer { margin-top: 60px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: #64748b; }
.site-footer .container { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; }
.site-footer a { color: #8a99ad; margin-left: 18px; }
.site-footer a:hover { color: #fff; }
.site-footer strong { color: #cbd5e1; }

/* =========================================================
   STORE
   ========================================================= */
.store-wrap { padding: 34px 0 20px; }
.store-hero { padding: 26px 28px; margin-bottom: 22px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; position: relative; overflow: hidden; }
.store-hero .glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -80px; top: -150px; background: #0ea5e9; -webkit-filter: blur(75px); filter: blur(75px); opacity: 0.35; }
.store-hero .f-icon { position: relative; width: 56px; height: 56px; border-radius: 16px; font-size: 22px; margin-right: 18px; color: #7dd3fc; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.3); -webkit-flex-shrink: 0; flex-shrink: 0; }
.store-hero h2 { position: relative; font-size: 26px; color: #fff; font-weight: 700; }
.store-hero h2 span { color: #38bdf8; }
.store-hero p { position: relative; color: #9fb0c7; font-size: 14px; }

.store-cols { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; }
.store-col-main { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding: 26px; margin-right: 20px; min-width: 0; }
.store-col-summary { width: 340px; -webkit-flex-shrink: 0; flex-shrink: 0; padding: 24px; position: -webkit-sticky; position: sticky; top: 96px; }

.checkout-steps { display: -webkit-box; display: -webkit-flex; display: flex; margin-bottom: 26px; padding: 5px; border-radius: 14px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.06); }
.step-item { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding: 9px; font-size: 12px; font-weight: 600; border-radius: 10px; color: #64748b; }
.step-item.active { color: #fff; background: rgba(255,255,255,0.07); }
.step-badge { width: 20px; height: 20px; border-radius: 50%; font-size: 11px; margin-right: 8px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(255,255,255,0.08); }
.step-item.active .step-badge { background: #0284c7; background: -webkit-linear-gradient(left, #38bdf8, #0284c7); background: linear-gradient(135deg, #38bdf8, #0284c7); color: #fff; }

.store-section-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: #7d8da3; margin-bottom: 12px; text-transform: uppercase; }

.pill-toggle-group, .freq-group { display: -webkit-box; display: -webkit-flex; display: flex; margin-bottom: 18px; }
.toggle-pill {
  -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-right: 10px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: #9fb0c7; cursor: pointer;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  -webkit-transition: all .2s; transition: all .2s;
}
.toggle-pill:last-child { margin-right: 0; }
.toggle-pill i { margin-right: 6px; }
.toggle-pill:hover { background: rgba(255,255,255,0.08); color: #fff; }
.toggle-pill.active { color: #fff; background: rgba(56,189,248,0.16); border-color: rgba(56,189,248,0.55); -webkit-box-shadow: 0 0 0 3px rgba(56,189,248,0.12); box-shadow: 0 0 0 3px rgba(56,189,248,0.12); }
.badge-sub-bonus { margin-left: 6px; font-size: 10px; font-weight: 700; color: #6ef0b5; background: rgba(16,185,129,0.15); padding: 2px 7px; border-radius: 20px; }

.signedin-user-card {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between;
  padding: 12px 14px; margin-bottom: 26px; border-radius: 16px;
  background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.07);
}
.user-card-left { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.user-card-avatar { width: 40px; height: 40px; border-radius: 12px; margin-right: 12px; }
.user-card-name { font-weight: 600; color: #fff; font-size: 14px; }
.user-card-steamid { font-size: 11px; color: #7d8da3; font-family: Consolas, monospace; }
.signedin-pill { font-size: 11px; font-weight: 600; color: #6ef0b5; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); padding: 5px 11px; border-radius: 30px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.signedin-pill i { margin-right: 5px; }

.gift-box { padding: 14px 16px; margin-bottom: 24px; border-radius: 16px; background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.07); }
.gift-box label { display: block; font-size: 11px; font-weight: 600; color: #7d8da3; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.glass-input { width: 100%; font-family: Consolas, monospace; font-size: 13px; color: #fff; padding: 12px 14px; border-radius: 12px; outline: none; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.1); }
.glass-input:focus { border-color: rgba(56,189,248,0.6); }
.gift-box p { font-size: 11px; color: #64748b; margin-top: 6px; }

.catalog-head { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; margin-bottom: 12px; }
.catalog-head .store-section-label { margin-bottom: 0; }
.seg { display: -webkit-box; display: -webkit-flex; display: flex; padding: 4px; border-radius: 12px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.07); }
.seg button { font-family: inherit; font-size: 11px; font-weight: 600; color: #8a99ad; background: transparent; border: none; padding: 6px 12px; border-radius: 9px; cursor: pointer; }
.seg button.on { color: #fff; background: rgba(56,189,248,0.18); }

/* Pack grid (rendered by store.js) */
.pack-grid-ref { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: -6px -6px 22px; }
.pack-card-col { width: 33.333%; padding: 6px; }
.pack-box {
  position: relative; height: 100%; min-height: 190px; cursor: pointer; padding: 16px;
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-justify-content: space-between; justify-content: space-between;
  border-radius: 18px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08);
  -webkit-transition: all .2s; transition: all .2s;
}
.pack-box:hover { background: rgba(255,255,255,0.06); border-color: rgba(125,211,252,0.22); -webkit-transform: translateY(-2px); transform: translateY(-2px); }
.pack-box.selected {
  background: rgba(14,165,233,0.14);
  background: -webkit-linear-gradient(top, rgba(56,189,248,0.2), rgba(2,132,199,0.08));
  background: linear-gradient(180deg, rgba(56,189,248,0.2), rgba(2,132,199,0.08));
  border-color: rgba(56,189,248,0.7);
  -webkit-box-shadow: 0 0 0 3px rgba(56,189,248,0.15), 0 14px 40px rgba(14,165,233,0.22);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15), 0 14px 40px rgba(14,165,233,0.22);
}
.pack-box-header { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; margin-bottom: 10px; }
.pack-box-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: #9fb0c7; text-transform: uppercase; }
.pack-icon-right { color: #8a99ad; font-size: 13px; }
.pack-badge-pill { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: #fff; padding: 3px 8px; border-radius: 20px; background: #0284c7; background: -webkit-linear-gradient(left, #38bdf8, #0284c7); background: linear-gradient(135deg, #38bdf8, #0284c7); }
.pack-credits-val { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: #fff; line-height: 1; }
.pack-credits-label { font-size: 12px; color: #7d8da3; margin-bottom: 8px; }
.pack-bonus-pill, .pack-monthly-extra { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px; margin: 0 4px 4px 0; }
.pack-bonus-pill { color: #6ef0b5; background: rgba(16,185,129,0.13); }
.pack-monthly-extra { color: #7dd3fc; background: rgba(56,189,248,0.13); }
.pack-bonus-pill i, .pack-monthly-extra i { margin-right: 3px; }
.pack-base-sub { font-size: 11px; color: #64748b; }
.pack-price-tag { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; color: #fff; margin-top: 10px; }
.custom-pack-inp { width: 64px; font-family: inherit; font-size: 13px; font-weight: 600; color: #fff; padding: 5px 8px; border-radius: 9px; outline: none; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); }

.disclaimer { font-size: 11px; color: #64748b; line-height: 1.6; }
.disclaimer strong { color: #9fb0c7; }

/* Summary */
.summary-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.summary-row { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; padding: 8px 0; font-size: 13px; }
.summary-label { color: #7d8da3; }
.summary-val { color: #e6ecf5; text-align: right; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.summary-val img { width: 20px; height: 20px; border-radius: 6px; margin-right: 6px; }
.summary-divider { border-top: 1px dashed rgba(255,255,255,0.1); margin-top: 6px; padding-top: 10px; }
.summary-total-box { margin: 18px 0; padding: 16px; border-radius: 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.07); display: -webkit-box; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; }
.summary-total-label { color: #9fb0c7; font-size: 13px; font-weight: 600; }
.summary-total-price { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #fff; }
.btn-pay-stripe { width: 100%; margin-bottom: 10px; padding: 14px; font-size: 14px; }
.summary-security-note { text-align: center; font-size: 11px; color: #64748b; margin-top: 6px; }
.summary-security-note i { margin-right: 4px; color: #6ef0b5; }

/* Claim banner */
.claim-banner { display: none; padding: 20px 22px; margin-bottom: 22px; -webkit-align-items: center; align-items: center; border-color: rgba(16,185,129,0.45) !important; background: rgba(16,185,129,0.1) !important; }
.claim-banner .f-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 20px; margin-right: 16px; color: #6ef0b5; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); -webkit-flex-shrink: 0; flex-shrink: 0; }
.claim-banner h3 { color: #fff; font-size: 17px; margin-bottom: 2px; }
.claim-banner p { color: #b7c0d3; font-size: 13px; }
.claim-chip { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-left: auto; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(0,0,0,0.35); border: 1px solid rgba(16,185,129,0.4); }
.claim-chip code { font-family: Consolas, monospace; font-size: 16px; font-weight: 700; color: #6ef0b5; margin-right: 10px; }
.btn-claim { color: #04241a; background: #34d399; padding: 8px 14px; font-size: 12px; border-radius: 10px; }

/* Supporters */
.supporters-bar-ref { margin-top: 22px; padding: 22px 24px; }
.supporters-title-ref { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.supporters-title-ref i { color: #38bdf8; margin-right: 6px; }
.supporters-row-ref { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; }
.supporter-ranked-card { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 8px 14px 8px 8px; margin: 0 10px 10px 0; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.rank-badge-num { font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 8px; margin-right: 8px; background: rgba(255,255,255,0.08); color: #cbd5e1; }
.rank-1 { background: rgba(255,176,32,0.18); color: #ffd27a; }
.rank-2 { background: rgba(200,210,230,0.15); color: #e2e8f0; }
.rank-3 { background: rgba(205,127,50,0.18); color: #f0b27a; }
.supporter-avatar-square { width: 32px; height: 32px; border-radius: 10px; margin-right: 10px; }
.supporter-name-text { font-size: 13px; font-weight: 600; color: #fff; }
.supporter-creds-text { font-size: 11px; color: #7d8da3; }
.supporter-unranked-avatar { width: 36px; height: 36px; border-radius: 10px; margin: 0 6px 10px 0; border: 1px solid rgba(255,255,255,0.1); }
.supporter-more-pill { font-size: 11px; font-weight: 700; color: #9fb0c7; padding: 8px 10px; border-radius: 10px; margin-bottom: 10px; background: rgba(255,255,255,0.06); }
.supporter-empty-callout { width: 100%; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 14px; border-radius: 16px; background: rgba(56,189,248,0.06); border: 1px dashed rgba(56,189,248,0.3); }
.supporter-empty-crown { width: 42px; height: 42px; border-radius: 12px; margin-right: 14px; color: #7dd3fc; font-size: 18px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(56,189,248,0.14); -webkit-flex-shrink: 0; flex-shrink: 0; }
.supporter-empty-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-right: 12px; }
.supporter-empty-headline { color: #fff; font-weight: 600; font-size: 14px; }
.supporter-empty-text { color: #8a99ad; font-size: 12px; }

/* ---------- Modals ---------- */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; display: none; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding: 20px; background: rgba(3,5,10,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-overlay.active { display: -webkit-box; display: -webkit-flex; display: flex; }
.modal-box { position: relative; width: 100%; max-width: 460px; padding: 28px; border-radius: 22px; background: rgba(14,20,34,0.95); border: 1px solid rgba(186,230,253,0.12); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); -webkit-box-shadow: 0 30px 80px rgba(0,0,0,0.6); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 10px; border: none; cursor: pointer; font-size: 18px; color: #9fb0c7; background: rgba(255,255,255,0.06); }
.modal-close:hover { color: #fff; background: rgba(255,255,255,0.12); }
.modal-success-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; font-size: 28px; color: #6ef0b5; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); }
.modal-steps { text-align: left; margin: 18px 0; padding: 16px; border-radius: 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.07); }
.modal-steps ol { margin: 0 0 12px 18px; color: #cbd5e1; font-size: 13px; line-height: 1.8; }
.modal-steps kbd { font-family: Consolas, monospace; font-size: 11px; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,0.1); }

/* ---------- Toasts ---------- */
#toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 300; }
.toast { min-width: 260px; max-width: 380px; margin-top: 10px; padding: 13px 16px; font-size: 13px; color: #e6ecf5; border-radius: 14px; background: rgba(14,20,34,0.92); border: 1px solid rgba(186,230,253,0.14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); -webkit-box-shadow: 0 14px 40px rgba(0,0,0,0.45); box-shadow: 0 14px 40px rgba(0,0,0,0.45); }
.toast-success { border-color: rgba(16,185,129,0.45); }
.toast-error { border-color: rgba(239,68,68,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .store-cols { display: block; }
  .store-col-main { margin: 0 0 20px; }
  .store-col-summary { width: 100%; position: static; }
  .bento-item, .bento-item.wide, .stat-col { width: 50%; }
  .hero h1 { font-size: 54px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .bento-item, .bento-item.wide, .pack-card-col, .stat-col { width: 100%; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 40px; }
  .section-head h2 { font-size: 30px; }
  .status-cell { border-right: none; }
  .claim-chip { margin: 12px 0 0; }
  .claim-banner { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
}
