@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg: #090b12;
  --surface: #111522;
  --surface-2: #181e30;
  --border: #26304a;
  --text: #f3f6ff;
  --muted: #9ba6c4;
  --white: #ffffff;
  --t-mythic: #f43f5e;
  --primary-dark: #be123c;
  --t-legendary: #f59e0b;
  --gold: #fbbf24;
  --t-epic: #a855f7;
  --t-rare: #3b82f6;
  --t-uncommon: #22c55e;
  --t-common: #94a3b8;
  --accent: rgb(34, 211, 238);
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

html, body {
  margin: 0; padding: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 35% at 50% -10%, rgba(251, 191, 36, 0.05), transparent 65%);
  color: var(--text); font-family: var(--font-sans); line-height: 1.6;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: clip;
}
h1, h2, h3 { letter-spacing: -0.022em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 18px; }
.narrow-prose { max-width: 820px; }
.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(9, 11, 18, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.12); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-text small { font-size: 12px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--muted); flex-shrink: 0; }
.site-nav a:hover { color: var(--white); text-decoration: none; }

/* Hero & Arcade Cabinet */
.hero-arcade { padding: 18px 0 16px; }
.hero-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-title-block { max-width: 680px; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 8px;
}
.hero-title-block h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.02em; }
.hero-sub { margin: 0; color: var(--muted); font-size: 15px; }
.hero-metrics { display: flex; gap: 10px; flex-wrap: wrap; }
.metric-chip { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 13px; display: flex; flex-direction: column; line-height: 1.2; }
.metric-chip strong { font-family: var(--font-mono); font-size: 15px; color: var(--gold); }
.metric-chip span { font-size: 12px; color: var(--muted); }

.arcade-cabinet {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--border); border-radius: 18px; padding: 12px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.65), 0 0 48px rgba(244, 63, 94, 0.14);
}
.stage-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 540px;
  background: var(--bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
}
html[data-gf-playing] .stage-frame { aspect-ratio: auto; min-height: 680px; }
.stage-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage-cover { position: absolute; inset: 0; z-index: 3; }
.stage-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,11,18,0.2) 0%, rgba(9,11,18,0.55) 55%, rgba(9,11,18,0.88) 100%);
  display: grid; place-items: center; padding: 18px;
}
.cover-cta-panel {
  display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center;
  background: rgba(9, 11, 18, 0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; padding: 20px 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
}
.cta-kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); }
.play-cta {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px; padding: 13px 26px;
  background-color: var(--primary-dark);
  background-image: linear-gradient(135deg, var(--primary-dark), var(--t-mythic));
  color: var(--white); font-family: var(--font-display); font-size: 18px; font-weight: 800;
  text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 30px rgba(244, 63, 94, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.play-cta:hover { transform: scale(1.04); box-shadow: 0 14px 36px rgba(244, 63, 94, 0.7); }
.cta-sub { font-size: 13px; color: var(--muted); }

.stage-loader { display: none; position: absolute; inset: 0; z-index: 2; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--accent); font-weight: 700; }
.stage-frame[data-gf-state="loading"] .stage-loader { display: flex; }
.loader-ring { width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--surface-2); border-top-color: var(--t-mythic); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.cabinet-dock { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.engage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dock-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); border-radius: 9px; padding: 8px 13px; font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: border-color 0.15s ease, transform 0.12s ease;
}
.dock-btn:hover { border-color: var(--accent); transform: translateY(-1px); text-decoration: none; }
.dock-btn[data-gf-liked] { border-color: var(--t-mythic); background: var(--primary-dark); color: var(--white); }
.dock-btn-discord:hover { border-color: rgb(88, 101, 242); color: var(--white); background: rgba(88, 101, 242, 0.18); }
.dock-btn-ig:hover { border-color: rgb(225, 48, 108); color: var(--white); background: rgba(225, 48, 108, 0.18); }
.dock-accent { border-color: rgba(34, 211, 238, 0.45); color: var(--accent); }
.share-feedback, .comment-feedback { font-size: 13px; color: var(--t-uncommon); font-weight: 600; margin: 0; }

/* Featured 5:7 Illustrated Cards */
.showcase-band { padding: 26px 0 12px; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }

.slab-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .slab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .slab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.foil-card {
  position: relative; display: flex; flex-direction: column; border-radius: 13px; padding: 3px; cursor: pointer;
  background: linear-gradient(160deg, color-mix(in srgb, var(--t-mythic) 38%, var(--surface)) 0%, var(--bg) 68%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(244, 63, 94, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.foil-card.tier-apex {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65) 0%, var(--bg) 72%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(251, 191, 36, 0.25);
}
.foil-card.holo-card {
  background: linear-gradient(135deg, var(--t-epic), var(--accent), var(--gold), var(--t-mythic), var(--t-epic));
  background-size: 240% 240%; animation: card-prism 4s linear infinite;
}
@keyframes card-prism { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.foil-card:hover { transform: translateY(-4px); }
.foil-card-inner {
  flex: 1; height: 100%; border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  display: flex; flex-direction: column;
}
.foil-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; }
.foil-rank { font-size: 18px; font-weight: 800; color: var(--white); }
.slab-tier { font-family: var(--font-display); font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--gold); padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); }
.foil-card.tier-apex .slab-tier { background: linear-gradient(90deg, var(--gold), var(--t-mythic)); color: var(--bg); }
.foil-thumb { position: relative; margin: 0 9px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.foil-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foil-tag-left, .foil-tag-right {
  position: absolute; bottom: 5px; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  background: rgba(9, 11, 18, 0.86); padding: 1px 6px; border-radius: 4px;
}
.foil-tag-left { left: 5px; color: var(--gold); }
.foil-tag-right { right: 5px; color: var(--accent); }
.foil-body { padding: 10px 10px 11px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.slab-title { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--white); line-height: 1.15; }
.slab-sub { font-size: 12px; color: var(--muted); }
.slab-foot {
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted);
}
.slab-foot strong { color: var(--accent); }
.holo-chip {
  background: linear-gradient(90deg, var(--t-epic), var(--accent), var(--gold)); color: var(--bg) !important;
  font-weight: 800; font-family: var(--font-mono); padding: 1px 6px; border-radius: 5px;
}

/* Bento & Content */
.bento-section, .lower-section { padding: 18px 0; }
.lower-section { padding-bottom: 42px; }
.bento-grid, .lower-grid { display: grid; grid-template-columns: 0.96fr 1.04fr; gap: 18px; }
@media (max-width: 860px) { .bento-grid, .lower-grid { grid-template-columns: 1fr; } }

.panel-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.panel-card h2, .panel-card h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: 21px; font-weight: 800; text-transform: uppercase; }
.panel-lead { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-box { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 13px; }
.step-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.step-box h3 { margin: 4px 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.step-box p { margin: 0; font-size: 13px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 9px 8px; border-bottom: 1px solid var(--border); text-align: left; }
th { font-family: var(--font-display); color: var(--accent); background: var(--surface-2); text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.dot-apex { background: var(--white); }
.dot-mythic { background: var(--t-mythic); }
.dot-legendary { background: var(--gold); }
.dot-epic { background: var(--t-epic); }
.dot-rare { background: var(--t-rare); }
.dot-uncommon { background: var(--t-uncommon); }
.dot-common { background: var(--t-common); }

.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.faq-list details { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.faq-list p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.comment-form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 14px; }
.comment-form input, .comment-form textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px;
  padding: 10px 12px; color: var(--text); font: inherit;
}
.comments-badge {
  display: inline-block; font-size: 13px; font-family: var(--font-mono); color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; vertical-align: middle;
}
.comments-list { display: flex; flex-direction: column; gap: 10px; }
.comments-list[data-gf-empty]::before { content: "No pulls shared yet — be the first to brag about your DemonDle or pack!"; color: var(--muted); font-size: 14px; }
.comment-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.comment-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.comment-meta strong { color: var(--accent); }
.comment-item p { margin: 0; font-size: 14px; }
.comments-list[data-folded="true"] >.comment-item:nth-of-type(n+7) { display: none !important; }
.comments-list:not([data-folded="true"]) {
  max-height: 520px; overflow-y: auto; padding-right: 6px;
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface-2);
}
.comments-list:not([data-folded="true"])::-webkit-scrollbar { width: 6px; }
.comments-list:not([data-folded="true"])::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 999px; }
.comments-list:not([data-folded="true"])::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.45); border-radius: 999px; }
.comments-toggle-wrap { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; text-align: center; }
.comments-toggle-btn, .comments-load-more-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1 1 180px; padding: 11px 16px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; color: var(--accent); font-family: var(--font-display); font-size: 14px;
  font-weight: 700; cursor: pointer; transition: all 0.2s ease;
}
.comments-toggle-btn:hover, .comments-load-more-btn:hover { background: rgba(0, 229, 255, 0.08); border-color: var(--accent); color: var(--white); }
.comments-load-more-btn:disabled { opacity: 0.6; cursor: wait; }
.toggle-arrow { transition: transform 0.25s ease; }
.comments-list:not([data-folded="true"]) + .comments-toggle-wrap .toggle-arrow { transform: rotate(180deg); }

.prose-body h1 { font-size: 28px; margin-bottom: 14px; }
.prose-body h2 { font-size: 20px; margin-top: 22px; }
.prose-body p, .prose-body li { color: var(--muted); }

.more-games-section { padding: 0 0 42px; }
.more-games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 720px) { .more-games-grid { grid-template-columns: 1fr; } }
.game-rec-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 16px; text-decoration: none; color: var(--text);
  transition: border-color 0.18s ease, transform 0.16s ease, background 0.18s ease;
}
.game-rec-card:hover {
  border-color: var(--accent); transform: translateY(-2px);
  background: rgba(34, 211, 238, 0.06); text-decoration: none;
}
.game-rec-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.game-rec-top h3 { margin: 0; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--white); }
.game-rec-tag {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.game-rec-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.game-rec-cta { margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent); }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 6px; border: 1px solid var(--border); }
.footer-brand strong { font-family: var(--font-display); color: var(--text); }
.footer-brand p { margin: 2px 0 0; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }

@media (max-width: 767px) {
  .container { padding: 0 12px; }
  .header-inner { flex-wrap: wrap; min-height: auto; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .site-brand { order: 1; }
  .header-auth { order: 2; margin-left: auto; gap: 6px; }
  .auth-btn, .auth-out, .auth-supporter { padding: 5px 10px; font-size: 12px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 14px; }
  .site-nav { order: 3; width: 100%; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.06); gap: 14px; font-size: 12px; }
  .hero-arcade { padding: 10px 0 12px; }
  .hero-header { margin-bottom: 10px; gap: 8px; }
  .hero-metrics { display: none; }
  .arcade-cabinet { padding: 8px; border-radius: 14px; }
  .stage-frame { min-height: 220px; aspect-ratio: 16 / 10; }
  html[data-gf-playing] .stage-frame { min-height: 560px; aspect-ratio: auto; }
  .cover-scrim { padding: 10px; }
  .cover-cta-panel { padding: 12px 16px; gap: 7px; border-radius: 12px; }
  .play-cta { font-size: 14px; padding: 10px 18px; border-radius: 10px; }
  .cta-sub { display: none; }
}

/* Supporter VIP Name & Badge + Ad-Free Override */
html[data-edg-vip="1"] ins.adsbygoogle { display: none !important; }
.vip-name {
  background: linear-gradient(90deg, #fde047, #22d3ee, rgb(232, 121, 249), #fde047);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: edgVipGlow 3.2s linear infinite;
  font-weight: 800;
}
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgb(20, 15, 2);
  background: linear-gradient(135deg, #fde047, #f59e0b);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
  vertical-align: middle;
}
@keyframes edgVipGlow {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}
.header-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.auth-btn, .auth-out {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.auth-btn:hover, .auth-out:hover { border-color: var(--accent); color: var(--accent); }
.auth-supporter {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 800;
  border: 1px solid rgba(250, 204, 21, 0.7);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(245, 158, 11, 0.14));
  color: #fde047; cursor: pointer; white-space: nowrap;
}
.auth-supporter:hover { border-color: #fde047; filter: brightness(1.08); }
html[data-edg-vip="1"] .auth-supporter { display: none !important; }
.auth-user { font-size: 13px; font-weight: 700; color: var(--text); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) {
  .auth-btn, .auth-out, .auth-supporter { padding: 5px 9px; font-size: 12px; }
  .auth-user { max-width: 96px; font-size: 12px; }
}

/* Founder Pass & VIP Presentation Enhancements */
.founder-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: var(--white) !important;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  vertical-align: middle;
}
.comment-vip {
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.06), transparent) !important;
  border-radius: 8px;
}
.founder-fomo-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.18), inset 0 0 12px rgba(239, 68, 68, 0.08);
}
.fomo-flame { font-size: 22px; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 0 8px #ef4444); }
.fomo-text { display: flex; flex-direction: column; gap: 2px; }
.fomo-title { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: #fde047; text-transform: uppercase; }
.fomo-sub { font-size: 12px; color: var(--text); }
.fomo-counter { color: #f43f5e; font-weight: 800; }

/* Turbo Rip Switch & Controls */
.turbo-rip-bar {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px;
  background: rgba(245, 158, 11, 0.09); border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px; font-size: 12px; font-weight: 700; color: #fde047;
  cursor: pointer; user-select: none; transition: all 0.18s ease;
}
.turbo-rip-bar:hover { background: rgba(245, 158, 11, 0.16); border-color: rgba(245, 158, 11, 0.6); }
.turbo-rip-bar.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(239, 68, 68, 0.28));
  border-color: #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}
.turbo-switch { position: relative; display: inline-block; width: 34px; height: 18px; }
.turbo-switch input { opacity: 0; width: 0; height: 0; }
.turbo-slider {
  position: absolute; cursor: pointer; inset: 0;
  background-color: var(--surface-2); border: 1px solid var(--border);
  transition: .2s; border-radius: 18px;
}
.turbo-slider:before {
  position: absolute; content: ""; height: 12px; width: 12px; left: 2px; bottom: 2px;
  background-color: var(--muted); transition: .2s; border-radius: 50%;
}
.turbo-switch input:checked + .turbo-slider {
  background: linear-gradient(135deg, #f59e0b, #ef4444); border-color: #f59e0b;
}
.turbo-switch input:checked + .turbo-slider:before {
  transform: translateX(16px); background-color: var(--white); box-shadow: 0 0 6px var(--white);
}

/* Auto-Salvage Duplicate Non-Holos */
.auto-salvage-bar {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px;
  background: rgba(168, 85, 247, 0.08); border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px; font-size: 12px; font-weight: 700; color: rgb(192, 132, 252);
  cursor: pointer; user-select: none; transition: all 0.18s ease;
}
.auto-salvage-bar.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(34, 211, 238, 0.2));
  border-color: #a855f7; box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

/* Leaderboard Showcase Modal & Clickable Flex Triggers */
.showcase-modal {
  max-width: 600px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(9, 11, 18, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.15);
}
.showcase-header {
  display: flex; align-items: center; gap: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.showcase-avatar {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--surface-2); border: 2px solid var(--gold);
  display: grid; place-items: center; box-shadow: 0 0 16px rgba(251, 191, 36, 0.3);
  flex-shrink: 0;
}
.showcase-meta h3 {
  margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 800;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.showcase-tagline { font-size: 12px; color: var(--muted); margin-top: 2px; }
.showcase-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0;
}
@media (max-width: 580px) { .showcase-cards-grid { grid-template-columns: 1fr; } }
.showcase-card-slot {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.showcase-card-slot:hover { transform: translateY(-2px); border-color: var(--cyan); }
.showcase-card-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: rgb(0, 0, 0); }
.showcase-card-info { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.showcase-card-name { font-size: 13px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-card-sub { font-size: 12px; color: var(--gold); font-family: var(--font-mono); }
.btn-showcase-trigger {
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 800;
  background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--cyan); transition: all 0.15s ease; white-space: nowrap;
}
.btn-showcase-trigger:hover {
  background: rgba(34, 211, 238, 0.25); border-color: var(--cyan); transform: translateY(-1px);
}
.custom-title-chip {
  display: inline-flex; align-items: center; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 4px;
  background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde047; letter-spacing: 0.02em;
}
