/* ===== SpinVault – Public Theme (Aurora Edition) ===== */
:root {
  --bg: #171d3d;
  --bg-2: #1c2346;
  --surface: #242b52;
  --surface-2: #2e3665;
  --border: #3c4479;
  --border-2: #505a97;
  --text: #f5f6ff;
  --muted: #bcc1e6;
  --gold: #ffd166;
  --gold-2: #ff9f1c;
  --mint: #3ee9ad;
  --cyan: #4dd8ff;
  --hot: #ff5c8a;
  --violet: #9b8cff;
  --pink: #ff6bd0;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(155,140,255,.34), transparent 60%),
    radial-gradient(760px 460px at 8% 4%, rgba(255,159,28,.20), transparent 58%),
    radial-gradient(820px 620px at 50% 108%, rgba(62,233,173,.20), transparent 60%),
    radial-gradient(680px 500px at 108% 60%, rgba(255,107,208,.18), transparent 60%),
    linear-gradient(180deg, #1b2249, var(--bg) 45%);
  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 18px; }

/* ---- Ankündigungs-Banner ---- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(90deg, var(--gold-2), var(--pink) 55%, var(--violet));
  color: #1a1020; font-weight: 700; font-size: 14.5px;
  padding: 11px 46px 11px 18px; text-align: center; position: relative;
}
.announce .announce-text { color: #160f22; }
a.announce-text:hover { text-decoration: underline; }
.announce .arrow { font-weight: 900; }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.18); border: none; color: #160f22; cursor: pointer;
  width: 24px; height: 24px; border-radius: 50%; font-size: 17px; line-height: 1;
  display: grid; place-items: center;
}
.announce-close:hover { background: rgba(0,0,0,.34); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(14,17,36,.85), rgba(14,17,36,.55));
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(155,140,255,.5), rgba(255,209,102,.5), transparent) 1;
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 100%; padding: 15px 26px; }
.header-spacer { justify-self: start; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: center; }
.header-inner .socials { justify-self: end; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2) 55%, var(--pink));
  background-size: 200% 200%;
  animation: shimmer 6s ease infinite;
  display: grid; place-items: center;
  font-weight: 900; color: #241206; font-size: 22px;
  box-shadow: 0 8px 24px rgba(255,159,28,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.brand .name {
  font-weight: 900; font-size: 22px; letter-spacing: .2px;
  background: linear-gradient(100deg, var(--gold), var(--pink) 55%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 26px rgba(255,159,28,.15);
}
.brand .name b { font-weight: 900; }
.socials { display: flex; gap: 9px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); color: var(--muted); transition: .18s;
}
.socials a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,209,102,.2); }
.socials a svg { width: 18px; height: 18px; }

/* ---- Hero ---- */
.hero { position: relative; text-align: center; padding: 64px 0 30px; }
.hero::before {
  content: ""; position: absolute; inset: -20% 20% auto 20%; height: 220px;
  background: radial-gradient(closest-side, rgba(155,140,255,.35), transparent 70%);
  filter: blur(30px); z-index: -1; pointer-events: none;
}
.hero h1 {
  font-size: clamp(34px, 6.5vw, 56px); line-height: 1.03; margin: 0 0 14px;
  font-weight: 900; letter-spacing: -.025em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--gold) 0%, var(--pink) 45%, var(--violet) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255,107,208,.25));
}

/* ---- Filter ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 14px 0 28px; }
.filters button {
  font: inherit; font-weight: 700; font-size: 15px;
  color: var(--muted);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: .18s;
}
.filters button:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.filters button.active {
  color: #241206; border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 22px rgba(255,159,28,.35);
}

/* ---- Card ---- */
.list { display: flex; flex-direction: column; gap: 16px; padding-bottom: 60px; }
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 22%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  opacity: .55;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-2); box-shadow: 0 22px 60px rgba(0,0,0,.55); }
.card.featured { border-color: rgba(255,209,102,.55); box-shadow: 0 0 0 1px rgba(255,209,102,.3), var(--shadow); }
.card.featured::after { background: linear-gradient(180deg, var(--gold), var(--gold-2)); opacity: 1; }
.card.featured::before {
  content: "🔥 TOP"; position: absolute; top: 0; right: 0; z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #241206;
  font-size: 11px; font-weight: 900; letter-spacing: .05em;
  padding: 6px 13px; border-bottom-left-radius: 13px;
  box-shadow: 0 4px 14px rgba(255,159,28,.4);
}
.card-main { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; align-items: center; padding: 20px 22px 20px 24px; }

.logo {
  width: 104px; height: 74px;
  display: grid; place-items: center; overflow: hidden;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo .initial {
  width: 100%; height: 100%; display: grid; place-items: center;
  border-radius: 14px; font-weight: 900; font-size: 30px; color: var(--gold);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.info .title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.info h3 { margin: 0; font-size: 22px; font-weight: 800; }
.badge {
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 8px;
}
.badge.nonsticky { background: rgba(62,233,173,.16); color: var(--mint); border: 1px solid rgba(62,233,173,.35); }
.badge.sticky { background: rgba(155,140,255,.16); color: var(--violet); border: 1px solid rgba(155,140,255,.35); }
.badge.exclusive { background: rgba(255,107,208,.16); color: var(--pink); border: 1px solid rgba(255,107,208,.35); }

.headline { margin: 9px 0 10px; font-size: 25px; font-weight: 900; }
.headline .pct {
  background: linear-gradient(100deg, var(--gold), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metas { display: flex; flex-wrap: wrap; gap: 18px; }
.meta { font-size: 15px; color: var(--muted); }
.meta b { color: var(--text); font-weight: 700; }
.code-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 11px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  background: rgba(255,209,102,.08); border: 1px dashed rgba(255,209,102,.5);
  padding: 6px 12px; border-radius: 9px;
}
.code-chip span {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-weight: 800; letter-spacing: .06em; color: var(--gold);
}

.actions { display: flex; flex-direction: column; gap: 9px; align-items: stretch; min-width: 158px; }
.btn-play {
  font: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
  color: #06231a; background: linear-gradient(135deg, var(--mint), var(--cyan));
  border: none; padding: 14px 22px; border-radius: 12px;
  box-shadow: 0 10px 26px rgba(62,233,173,.35); transition: .18s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(77,216,255,.45); }
.btn-info {
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
  padding: 10px; border-radius: 11px; transition: .18s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.btn-info:hover { color: var(--gold); border-color: rgba(255,209,102,.4); }
.btn-info .chev { transition: transform .2s; }
.card.open .btn-info .chev { transform: rotate(180deg); }

/* ---- Details ---- */
.details {
  display: none;
  border-top: 1px dashed var(--border-2);
  padding: 4px 24px 22px;
  background: linear-gradient(180deg, rgba(155,140,255,.05), transparent 40%);
}
.card.open .details { display: block; }
.det-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 18px; }
.det-block h4, .pay-section h4 {
  margin: 0 0 11px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan);
}
.det-block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.det-block li { font-size: 15px; display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.det-block.bonuses li::before { content: "🎁"; }
.det-block.rules li::before { content: "▸"; color: var(--gold); font-weight: 900; }
.pays { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pay-pill {
  font-size: 12.5px; font-weight: 800;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 3px 8px rgba(0,0,0,.25);
}
.pay-section { margin-top: 20px; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(155,140,255,.06));
  padding: 34px 0 44px; color: var(--muted);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.disclaimer { font-size: 13.5px; max-width: 660px; line-height: 1.65; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--hot); color: var(--hot); font-weight: 900; font-size: 13px; }

.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 15px; }

.admin-link { color: var(--muted); font-size: 12px; opacity: .55; }
.admin-link:hover { opacity: 1; color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 680px) {
  .card-main { grid-template-columns: 62px 1fr; grid-template-areas: "logo info" "actions actions"; row-gap: 15px; padding: 18px; }
  .logo { grid-area: logo; width: 62px; height: 62px; }
  .info { grid-area: info; }
  .actions { grid-area: actions; flex-direction: row; min-width: 0; }
  .btn-play { flex: 1; }
  .det-grid { grid-template-columns: 1fr; gap: 18px; }
  .header-inner .socials { display: none; }
}
