/* ==========================================
   BONUSSHOP (10.11.2026) – eigene Shop-Seite, Kasse über Tebex
   Nutzt die Farben aus app.css (Anthrazit, Orange #FF7A00)
========================================== */

/* ---------- Kopf ---------- */
.sx-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
    background:
        radial-gradient(60% 90% at 85% 40%, rgba(255, 122, 0, .20), transparent 60%),
        radial-gradient(40% 60% at 10% 0%, rgba(255, 179, 71, .08), transparent 70%),
        linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sx-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.sx-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; padding-top: 46px; padding-bottom: 46px; }
.sx-hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 60px); line-height: .98; margin: 12px 0 14px; letter-spacing: .005em; }
.sx-hero h1 span { color: var(--accent); }
.sx-hero p { color: var(--text-2); max-width: 600px; margin: 0; font-size: 16px; }
.sx-trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sx-trust li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); min-width: 0; }
.sx-trust .ico { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.sx-trust span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.sx-trust b { display: block; color: var(--text); font-size: 13.5px; }

.sx-hero-art { position: relative; display: grid; place-items: center; min-height: 250px; }
.sx-stack { position: relative; width: 230px; height: 230px; }
.sx-stack i { position: absolute; left: 50%; width: 150px; height: 34px; margin-left: -75px; border-radius: 50%;
    background: linear-gradient(180deg, #FFC46B, #FF8A12 55%, #B85A00); box-shadow: 0 2px 0 #7A3C00, 0 10px 18px rgba(0,0,0,.35); }
.sx-stack i:nth-child(1) { bottom: 6px; } .sx-stack i:nth-child(2) { bottom: 22px; } .sx-stack i:nth-child(3) { bottom: 38px; }
.sx-stack i:nth-child(4) { bottom: 54px; } .sx-stack i:nth-child(5) { bottom: 70px; }
.sx-big { position: absolute; left: 50%; top: 4px; width: 132px; height: 132px; margin-left: -66px; border-radius: 50%;
    display: grid; place-items: center; animation: sx-float 5s ease-in-out infinite;
    background: radial-gradient(circle at 34% 28%, #FFE0A8, #FFA43A 42%, #E06E00 78%, #9E4A00);
    box-shadow: inset 0 0 0 7px rgba(122, 60, 0, .35), inset 0 -10px 18px rgba(0,0,0,.25), 0 22px 50px rgba(255, 122, 0, .38); }
.sx-big span { font-family: var(--display); font-weight: 900; font-size: 44px; color: #6B3200; text-shadow: 0 1px 0 rgba(255,236,200,.7); letter-spacing: -.02em; }
.sx-rate { margin-top: 10px; font-size: 13px; color: var(--muted); padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); }
.sx-rate b { color: var(--text); } .sx-rate em { color: var(--accent); font-style: normal; margin: 0 4px; }
@keyframes sx-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* ---------- Allgemein ---------- */
.sx-page { padding-bottom: 120px; }
.sx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sx-head .section-title { margin: 0 0 4px; }
.sx-head p { margin: 0; }
.sx-note { margin-top: 12px; }
.sx-c { display: inline-block; width: 15px; height: 15px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; flex: none;
    background: radial-gradient(circle at 35% 30%, #FFD08A, #FF9D33 45%, #C86400); box-shadow: inset 0 0 0 2px rgba(122, 62, 0, .55); }
.sx-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text-2); }
.sx-banner .ico { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.sx-banner.ok { border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .07); }
.sx-banner.ok .ico { color: var(--green); }
.sx-banner b { color: var(--text); }

.sx-login { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--panel); }
.sx-login b { color: var(--text); }
.sx-login .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,.15); }

/* ---------- Pakete ---------- */
.sx-packs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sx-pack { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0;
    padding: 22px 14px 16px; border-radius: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sx-pack:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.sx-pack.best { border-color: var(--accent); background: linear-gradient(180deg, rgba(255,122,0,.14), var(--panel) 60%); box-shadow: 0 0 0 1px var(--accent) inset, 0 18px 50px rgba(255,122,0,.16); }
.sx-pack.in { border-color: var(--green); }
.sx-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--accent); color: var(--accent-ink);
    font: 800 11px var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 4px 11px; border-radius: 99px; box-shadow: 0 6px 16px rgba(255,122,0,.35); }
.sx-img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0,0,0,.4)); }
.sx-coinart { position: relative; width: 120px; height: 96px; margin: 2px 0 6px; }
.sx-coinart i { position: absolute; width: 58px; height: 58px; border-radius: 50%; bottom: 0;
    background: radial-gradient(circle at 34% 28%, #FFE0A8, #FFA43A 42%, #E06E00 78%, #9E4A00); box-shadow: inset 0 0 0 4px rgba(122,60,0,.35), 0 8px 18px rgba(0,0,0,.35); }
.sx-coinart i:nth-child(1) { left: 31px; bottom: 18px; z-index: 2; width: 64px; height: 64px; }
.sx-coinart i:nth-child(2) { left: 6px; display: none; } .sx-coinart i:nth-child(3) { right: 6px; display: none; }
.sx-coinart.t2 i:nth-child(2), .sx-coinart.t3 i:nth-child(2), .sx-coinart.t4 i:nth-child(2), .sx-coinart.t5 i:nth-child(2),
.sx-coinart.t3 i:nth-child(3), .sx-coinart.t4 i:nth-child(3), .sx-coinart.t5 i:nth-child(3) { display: block; }
.sx-coinart.t5 i:nth-child(1) { transform: scale(1.15); }
.sx-amount { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.3vw, 30px); line-height: 1; letter-spacing: -.01em; }
.sx-amount small { display: block; font: 600 11px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }
.sx-bonus { font-size: 12.5px; color: var(--muted); min-height: 18px; }
.sx-bonus b { color: var(--green); }
.sx-price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--accent-2); margin: 4px 0 8px; }
.sx-per { display: block; font: 500 11px var(--body); color: var(--faint); margin-top: 2px; }
.sx-pack .btn { margin-top: auto; }
.sx-qty { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; height: 44px; border-radius: 12px; border: 1px solid var(--green); background: rgba(74,222,128,.08); }
.sx-qty button { width: 42px; height: 100%; border: 0; background: transparent; color: var(--text); font: 700 20px var(--body); cursor: pointer; }
.sx-qty button:hover { color: var(--accent); }
.sx-qty span { font-weight: 700; font-size: 14px; }

/* ---------- Fahrzeug ---------- */
.sx-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.sx-car { position: relative; min-height: 260px; }
.sx-car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-car::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--panel)); }
.sx-chip { position: absolute; left: 14px; top: 14px; z-index: 1; font: 800 11px var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); }
.sx-car-text { padding: 26px 26px 26px 10px; display: flex; flex-direction: column; justify-content: center; }
.sx-car-text h3, .sx-bp h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1.05; margin: 8px 0 10px; }
.sx-car-text p { margin: 0; }
.sx-cost { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 16px; padding: 8px 14px; border-radius: 10px; background: rgba(255,122,0,.1); border: 1px solid var(--accent-line); font-weight: 800; }

.sx-duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; margin-top: 14px; }
.sx-bp { padding: 24px; border-radius: 18px; border: 1px solid #3C2F5C; display: flex; flex-direction: column;
    background: radial-gradient(120% 160% at 100% 0%, rgba(167,123,255,.24), transparent 55%), radial-gradient(80% 120% at 0% 100%, rgba(255,122,0,.14), transparent 60%), #15121C; }
.sx-bp h3 span { color: #B794FF; }
.sx-bp p { color: var(--text-2); margin: 0; }
.sx-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sx-rows div { padding: 12px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.06); }
.sx-rows b { display: block; font-size: 14px; } .sx-rows span { font-size: 13px; color: var(--muted); }
.sx-tiers { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.sx-tier { border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--tc); }
.sx-tier summary, .sx-tier.static { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.sx-tier summary::-webkit-details-marker { display: none; }
.sx-tier .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc); box-shadow: 0 0 12px var(--tc); }
.sx-tier em { margin-left: auto; font-style: normal; font-weight: 800; display: inline-flex; align-items: center; }
.sx-tier ul { list-style: none; margin: 0; padding: 0 14px 12px 34px; display: grid; gap: 4px; font-size: 13.5px; color: var(--text-2); }
.sx-tier li { display: flex; gap: 8px; } .sx-tier li .ico { width: 15px; height: 15px; color: var(--tc); flex: none; margin-top: 3px; }
.sx-tiers .eyebrow { margin-bottom: 4px; }

.sx-extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.sx-x { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.sx-x .ic { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sx-x .ic .ico { width: 18px; height: 18px; }
.sx-x div { min-width: 0; flex: 1; } .sx-x b { display: block; font-size: 14px; } .sx-x small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.sx-x em { font-style: normal; font-weight: 800; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; }

/* ---------- FAQ ---------- */
.sx-faq details { border-bottom: 1px solid var(--line); }
.sx-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: '+'; color: var(--accent); font-weight: 800; font-size: 18px; line-height: 1; }
.sx-faq details[open] summary::after { content: '–'; }
.sx-faq p { margin: 0 0 14px; color: var(--muted); max-width: 820px; }

/* ---------- Warenkorb ---------- */
.sx-cart { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(760px, calc(100% - 24px));
    border-radius: 16px; background: rgba(21, 22, 29, .97); border: 1px solid var(--accent-line); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4); animation: sx-up .25s ease; }
@keyframes sx-up { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.sx-cart-bar { display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; }
.sx-cart-toggle { display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--text); cursor: pointer; padding: 4px; text-align: left; min-width: 0; }
.sx-cart-ico { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.sx-cart-ico .ico { width: 20px; height: 20px; }
.sx-cart-ico i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 800 11px/20px var(--body); text-align: center; font-style: normal; }
.sx-cart-sum small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.sx-cart-sum b { font-size: 15px; }
.sx-cart-total { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.sx-cart .btn-primary { height: 46px; white-space: nowrap; }
.sx-cart-list { display: none; border-top: 1px solid var(--line); padding: 8px 12px 12px; max-height: 40vh; overflow: auto; }
.sx-cart.open .sx-cart-list { display: block; }
.sx-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sx-line:last-child { border-bottom: 0; }
.sx-line b { flex: 1; min-width: 0; font-size: 14px; }
.sx-line small { color: var(--muted); font-size: 12px; display: block; font-weight: 500; }
.sx-line .sx-qty { width: 120px; height: 34px; margin: 0; border-color: var(--line-2); background: var(--panel-2); }
.sx-line em { font-style: normal; font-weight: 700; width: 78px; text-align: right; }
.sx-line .rm { background: none; border: 0; color: var(--faint); cursor: pointer; padding: 4px; }
.sx-line .rm:hover { color: var(--red); } .sx-line .rm .ico { width: 16px; height: 16px; }
.sx-cart-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

.sx-overlay { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(8, 9, 12, .9); text-align: center; padding: 20px; }
.sx-overlay small { color: var(--muted); }
.sx-spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.1); border-top-color: var(--accent); animation: sx-spin .8s linear infinite; margin-bottom: 6px; }
@keyframes sx-spin { to { transform: rotate(360deg); } }
.sx-error { color: #FFB4B4; }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) { .sx-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .sx-hero-in { grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px; }
    .sx-hero-art { display: none; }
    .sx-trust { grid-template-columns: 1fr; }
    .sx-feature, .sx-duo { grid-template-columns: 1fr; }
    .sx-car { min-height: 200px; } .sx-car::after { background: linear-gradient(180deg, transparent 60%, var(--panel)); }
    .sx-car-text { padding: 4px 20px 22px; }
}
@media (max-width: 640px) {
    .sx-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sx-extras, .sx-rows { grid-template-columns: 1fr; }
    .sx-cart-total { font-size: 17px; }
    .sx-cart-sum { display: none; }
    .sx-cart .btn-primary { padding: 0 14px; }
}
.sx-overlay[hidden], .sx-cart[hidden], .sx-login[hidden] { display: none !important; }

/* ---------- (10.11.) Echte GR-Coins (Bilder in assets/img/shop) ---------- */
.sx-coins { position: relative; width: 300px; height: 260px; }
.sx-coins img { position: absolute; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.sx-coins .main { width: 210px; left: 45px; top: 10px; animation: sx-float 5s ease-in-out infinite; filter: drop-shadow(0 26px 46px rgba(255,122,0,.35)) drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.sx-coins .c1 { width: 92px; left: 0; top: 150px; transform: rotate(-18deg); animation: sx-float 6s ease-in-out -2s infinite; }
.sx-coins .c2 { width: 74px; right: 0; top: 30px; transform: rotate(14deg); animation: sx-float 7s ease-in-out -1s infinite; opacity: .95; }
.sx-coins .c3 { width: 56px; right: 26px; top: 190px; transform: rotate(24deg); animation: sx-float 5.5s ease-in-out -3s infinite; opacity: .9; }
.sx-img { width: 100%; max-width: 170px; aspect-ratio: 400 / 320; object-fit: contain; margin: -6px 0 2px; filter: none; transition: transform .2s ease; }
.sx-pack:hover .sx-img { transform: scale(1.05) rotate(-2deg); }
.sx-c { background: url('../img/shop/coin-64.png') center / contain no-repeat; box-shadow: none; width: 17px; height: 17px; vertical-align: -3px; }

/* (10.11., Community) Premium-Stufen ausklappen streckt den Battlepass-Kasten nicht mehr (blieb leer) */
.sx-duo { align-items: start; }
