:root {
	--bg: #0e141b;
	--bg-2: #171d25;
	--panel: #1b2838;
	--panel-2: #2a3f5a;
	--line: #2a3a4d;
	--text: #c7d5e0;
	--text-dim: #8f98a0;
	--accent: #66c0f4;
	--accent-2: #1a9fff;
	--green: #5ba32b;
	--green-2: #a1cd44;
	--steam: #1b2838;
	--gold: #e5c76b;
	--danger: #e05b49;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	background: radial-gradient(1200px 600px at 50% -200px, #243447 0%, var(--bg) 60%) fixed;
	color: var(--text);
	font: 15px/1.55 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
[hidden] { display: none !important; }
a:hover { color: #fff; }
h1, h2, h3 { color: #fff; font-weight: 600; line-height: 1.2; }
h1 { font-size: 2rem; margin: 0 0 .4rem; }
code { background: #0d1520; padding: 2px 6px; border-radius: 5px; color: var(--green-2); font-size: .85em; }
.container { width: min(1280px, 94%); margin: 0 auto; }
.muted { color: var(--text-dim); }
.small { font-size: .85rem; }
.center { text-align: center; }
.link { color: var(--accent); }
.tag { font-size: .7rem; background: var(--panel-2); color: var(--text); padding: 2px 8px; border-radius: 20px; vertical-align: middle; }
.tag-discord { background: #5865f2; color: #fff; }

/* Header */
.site-header { background: linear-gradient(180deg, #171a21, #10151c); border-bottom: 1px solid #000; position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 700; color: #fff; }
.brand-logo { width: 42px; height: 42px; display: block; filter: drop-shadow(0 0 6px var(--accent)); }
.brand-name { background: linear-gradient(90deg, var(--accent), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: .3rem; flex: 1; flex-wrap: wrap; }
.main-nav a { color: var(--text-dim); padding: .4rem .7rem; border-radius: 6px; font-size: .92rem; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.main-nav a.active { color: #fff; background: var(--panel); }
.header-user { display: flex; align-items: center; gap: .6rem; }
.chip { background: var(--panel); padding: .4rem .7rem; border-radius: 6px; font-size: .85rem; color: var(--text); }
.user-badge { display: flex; align-items: center; gap: .5rem; background: var(--panel); padding: .3rem .6rem; border-radius: 30px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.avatar-sm { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.user-meta { display: flex; flex-direction: column; line-height: 1.1; }
.user-name { color: #fff; font-size: .9rem; }
.user-sub { color: var(--gold); font-size: .75rem; }
.inline-form { display: inline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer; border: none; border-radius: 6px;
	padding: .55rem 1rem; font-size: .92rem; font-weight: 600; color: #fff; background: var(--panel-2); transition: .15s; font-family: inherit; }
.btn:hover { filter: brightness(1.12); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn-primary { background: linear-gradient(90deg, var(--green), var(--green-2)); color: #0b1a05; }
.btn-steam { background: linear-gradient(90deg, #1b2838, #2a475e); border: 1px solid #66c0f4; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn-sm { padding: .35rem .7rem; font-size: .82rem; }
.btn-block { width: 100%; }
.steam-icon { width: 20px; }

/* Layout */
.page { padding: 2rem 0 3rem; }
.page-head { margin-bottom: 1.5rem; }
.lead { font-size: 1.1rem; color: var(--text); }
.fineprint { color: var(--text-dim); font-size: .85rem; }
.panel { background: linear-gradient(180deg, var(--panel), #16222f); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.3rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.panel.narrow { max-width: 560px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.panel-head h2 { margin: 0; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.hero h1 { font-size: 2.6rem; }
.hero-actions { display: flex; gap: .8rem; margin: 1.2rem 0 .5rem; flex-wrap: wrap; }
.hero-wheel { display: flex; flex-direction: column; align-items: center; position: relative; }
.wheel-link { position: relative; display: block; }
.wheel-hub { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%;
	background: #10151c; border: 3px solid var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 700; letter-spacing: 1px; box-shadow: 0 0 20px rgba(102,192,244,.5); }
.wheel-note { color: var(--gold); font-size: .85rem; }

/* Home grid */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.winner-list, .key-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.winner-list li, .key-list li { display: flex; align-items: center; gap: .7rem; }
.thumb { width: 92px; aspect-ratio: 460 / 215; height: auto; object-fit: cover; border-radius: 4px; flex: 0 0 auto; }
.thumb-sm { width: 64px; aspect-ratio: 460 / 215; height: auto; object-fit: cover; border-radius: 3px; vertical-align: middle; margin-right: .4rem; flex: 0 0 auto; }
.winner-info, .key-info { display: flex; flex-direction: column; line-height: 1.2; }
.winner-game, .key-game { color: #fff; font-size: .92rem; }
.winner-who, .key-meta { color: var(--text-dim); font-size: .8rem; }
.featured-strip { display: flex; gap: .8rem; overflow-x: auto; }
.featured-card { flex: 0 0 150px; background: #10151c; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.featured-card img { width: 100%; aspect-ratio: 460 / 215; height: auto; object-fit: cover; display: block; }
.featured-name { color: #fff; font-size: .85rem; padding: .4rem .5rem 0; }
.featured-price { color: var(--gold); font-size: .78rem; padding: 0 .5rem .5rem; }

/* Wheel/spin page */
.spin-page { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: start; }
.spin-stage { position: relative; display: inline-block; margin: 1rem 0; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0;
	border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 24px solid var(--gold); filter: drop-shadow(0 2px 2px #000); z-index: 2; }
.spin-actions { margin-top: 1rem; }
.spin-side h2 { margin-top: 0; }
.tier-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.tier-list li { display: flex; align-items: center; gap: .5rem; }
.tier-color { width: 14px; height: 14px; border-radius: 3px; flex: 0 0 auto; }
.tier-label { width: 68px; color: var(--text-dim); font-size: .85rem; flex: 0 0 auto; }
.tier-game { color: #fff; font-size: .9rem; flex: 1; }
.tier-chance { margin-left: auto; color: var(--gold); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(5,8,12,.8); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-box { background: var(--panel); border: 1px solid var(--accent); border-radius: var(--radius); padding: 1.6rem; width: min(460px, 100%); box-shadow: var(--shadow); }
.modal-box.modal-wide { width: min(920px, 100%); }
.modal-actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.sponsor-visit { display: flex; align-items: center; gap: .8rem; background: #10151c; border: 1px solid var(--line); border-radius: 8px; padding: .6rem; margin: 1rem 0; }
.sponsor-visit img { width: 120px; height: 56px; object-fit: cover; border-radius: 5px; }
.sponsor-video { margin: 1rem 0; }
.sponsor-video #yt-player { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.sponsor-video iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.prize-card { display: flex; gap: 1rem; align-items: center; margin: 1rem 0; }
.prize-card img { width: 140px; height: 66px; object-fit: cover; border-radius: 6px; }
.prize-body { display: flex; flex-direction: column; gap: .2rem; }
.key-reveal { background: #10151c; border: 1px dashed var(--green-2); border-radius: 8px; padding: 1rem; margin: 1rem 0; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.key-reveal code { font-size: 1.05rem; }

/* Profile */
.profile-head { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1.5rem; }
.profile-avatar { width: 84px; height: 84px; border-radius: 12px; border: 2px solid var(--accent); object-fit: cover; }
.credit-highlight { color: var(--gold); font-weight: 600; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 1.5rem; }
.big-number { font-size: 2.2rem; font-weight: 700; color: #fff; margin: .3rem 0; }
.big-number span { font-size: 1rem; color: var(--text-dim); font-weight: 400; }
.panel-discord { border-color: #5865f2; }
.copy-row { display: flex; gap: .5rem; margin: .5rem 0; }
.copy-row input { flex: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.stat { background: #10151c; border: 1px solid var(--line); border-radius: 8px; padding: .8rem; text-align: center; }
.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; }
.stat-label { font-size: .78rem; color: var(--text-dim); }
.discord-form { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }

/* Achievements */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.ach { background: #10151c; border: 1px solid var(--line); border-radius: 8px; padding: .9rem; display: flex; flex-direction: column; gap: .2rem; }
.ach-off { opacity: .5; }
.ach-on { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(229,199,107,.2) inset; }
.ach-icon { font-size: 1.4rem; }
.ach-name { color: #fff; font-weight: 600; }
.ach-desc { font-size: .82rem; color: var(--text-dim); }
.ach-reward { color: var(--gold); font-size: .8rem; margin-top: .2rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
th { color: var(--text-dim); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.winner-cell { white-space: nowrap; }
.cell-flex { display: inline-flex; align-items: center; gap: .4rem; vertical-align: middle; }
.cell-flex .thumb-sm { margin-right: 0; }
.nowrap { white-space: nowrap; }
.key-code { user-select: all; }
.totals-row { display: flex; gap: 1.5rem; margin-top: .8rem; flex-wrap: wrap; }
.total { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1.2rem; text-align: center; }
.total-num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.total-label { font-size: .78rem; color: var(--text-dim); }

/* Shop */
.buy-spins { display: flex; align-items: flex-end; gap: 1rem; }
.shop-topups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.shop-topups .topup h2 { margin-top: 0; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.shop-card { background: #10151c; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.shop-card img { width: 100%; aspect-ratio: 460 / 215; height: auto; object-fit: cover; display: block; }
.shop-body { padding: .8rem; display: flex; flex-direction: column; gap: .3rem; }
.shop-cost { color: var(--gold); font-weight: 700; }

/* Featured list */
.featured-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.fgame { background: linear-gradient(180deg, var(--panel), #16222f); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fgame img { width: 100%; aspect-ratio: 460 / 215; height: auto; object-fit: cover; display: block; }
.fgame-body { padding: .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.fgame-title { color: #fff; font-weight: 600; }
.fgame-desc { color: var(--text-dim); font-size: .82rem; flex: 1; }
.fgame-foot { display: flex; justify-content: space-between; align-items: center; }
.fgame-price { color: var(--gold); font-weight: 600; }
.sort-row { margin-top: .6rem; }
.loader { text-align: center; padding: 1rem; color: var(--text-dim); }

/* Game detail */
.game-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.game-media img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.game-meta { color: var(--gold); }
.game-actions { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }

/* Forms */
label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: .2rem; }
input, select, textarea { width: 100%; background: #0d1520; border: 1px solid var(--line); border-radius: 6px; color: var(--text);
	padding: .55rem .7rem; font-family: inherit; font-size: .92rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.stack-form { display: flex; flex-direction: column; gap: .9rem; max-width: 560px; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row > * { flex: 1; }
.checkbox { display: flex; align-items: center; gap: .5rem; }
.checkbox input { width: auto; }
.key-add-form { display: flex; gap: .4rem; align-items: center; }
.key-add-form input { min-width: 140px; }
.rescan-controls { display: flex; align-items: center; gap: .6rem; }
.price-cell.scanning { opacity: .5; }
.price-cell.price-changed { color: var(--green-2); font-weight: 600; }
.snapshot-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.snapshot-preview-col { display: flex; flex-direction: column; gap: .4rem; }
.snapshot-preview-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-dim); }
.snapshot-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #05080c; }
.snapshot-preview-meta { font-size: .85rem; }

/* Auth */
.auth-page { display: flex; justify-content: center; padding: 1rem 0; }
.auth-card { background: linear-gradient(180deg, var(--panel), #16222f); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 2rem; width: min(480px, 100%); box-shadow: var(--shadow); }
.auth-form { margin-bottom: 1rem; }
.req-list { color: var(--text-dim); font-size: .88rem; padding-left: 1.2rem; }
.cf-turnstile { margin: .6rem 0; }

/* Alerts */
.alert { padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .92rem; }
.alert-success { background: rgba(91,163,43,.15); border: 1px solid var(--green); color: var(--green-2); }
.alert-error { background: rgba(224,91,73,.12); border: 1px solid var(--danger); color: #f2a79d; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #10151c; margin-top: 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; gap: 1rem; flex-wrap: wrap; }
.sponsor { display: flex; align-items: center; gap: .9rem; }
.sponsor-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
.sponsor-card { display: flex; align-items: center; gap: .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; transition: .15s; }
.sponsor-card:hover { border-color: var(--accent); filter: brightness(1.08); }
.sponsor-card img { width: 160px; height: 75px; object-fit: cover; border-radius: 6px; }
.sponsor-text { display: flex; flex-direction: column; gap: .2rem; }
.sponsor-name { color: #fff; font-weight: 600; font-size: 1.05rem; }
.sponsor-cta { color: var(--accent); font-size: .85rem; }
.footer-meta { text-align: right; color: var(--text-dim); font-size: .82rem; }
.footer-nav { display: flex; gap: 1rem; justify-content: flex-end; margin-top: .3rem; }

/* Error / setup */
.error-page { text-align: center; padding: 3rem 0; }
.error-page h1 { font-size: 4rem; }
.code-block { background: #0d1520; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: inline-block; color: var(--green-2); }

/* Toast */
.toast-wrap { position: fixed; bottom: 1.2rem; right: 1.2rem; display: flex; flex-direction: column; gap: .5rem; z-index: 200; }
.toast { background: var(--panel); border: 1px solid var(--accent); border-radius: 8px; padding: .7rem 1rem; color: #fff; box-shadow: var(--shadow); animation: slidein .25s ease; max-width: 320px; }
.toast.err { border-color: var(--danger); }
.toast.ok { border-color: var(--green); }
.toast-ach { border-color: var(--gold); display: flex; align-items: center; gap: .6rem; background: linear-gradient(180deg, #2a2412, #16222f); }
.toast-ach-icon { font-size: 1.6rem; filter: drop-shadow(0 0 6px var(--gold)); }
@keyframes slidein { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Spin legend: sponsored game highlight */
.tier-featured { background: rgba(229,199,107,.08); border-radius: 6px; }
.featured-star { color: var(--gold); }

/* ---------- Cards ---------- */
.cards-promo { display: flex; align-items: center; gap: 1.5rem; background: linear-gradient(120deg, #2a1b3d, #1b2838); border: 1px solid #5a3a7a;
	border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.cards-promo-art { position: relative; width: 140px; height: 110px; flex: 0 0 auto; }
.promo-card { position: absolute; top: 50%; left: 50%; width: 64px; height: 90px; border-radius: 10px; display: flex; align-items: center;
	justify-content: center; font-size: 2.2rem; background: #10151c; border: 2px solid var(--accent); box-shadow: var(--shadow); }
.promo-card-1 { transform: translate(-80%, -50%) rotate(-14deg); border-color: #7a8ba0; }
.promo-card-2 { transform: translate(-50%, -54%) rotate(2deg); border-color: #4aa3ff; z-index: 2; }
.promo-card-3 { transform: translate(-20%, -50%) rotate(14deg); border-color: #e5c76b; }
.cards-promo-text { flex: 1; }
.cards-promo-text h2 { margin: 0 0 .4rem; }
.promo-badge { color: var(--gold); font-weight: 600; align-self: center; }

.pack-panel { text-align: center; }
.pack-stage { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1rem; min-height: 180px; justify-content: center; }
.pack-btn { position: relative; width: 150px; height: 200px; border-radius: 14px; border: 2px solid var(--accent);
	background: linear-gradient(160deg, #2a475e, #1b2838); color: #fff; cursor: pointer; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: .5rem; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pack-btn:hover:not(:disabled) { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 24px rgba(102,192,244,.4); }
.pack-btn:disabled { opacity: .5; cursor: not-allowed; }
.pack-art { font-size: 3.4rem; }
.pack-label { font-weight: 700; letter-spacing: .5px; }
.pack-btn.pack-opening { animation: packpop .4s ease; }
@keyframes packpop { 0% { transform: scale(1); } 50% { transform: scale(1.12) rotate(-2deg); } 100% { transform: scale(1); } }

.pack-reveal { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.reveal-card { width: 120px; height: 168px; perspective: 700px; }
.reveal-inner { position: relative; width: 100%; height: 100%; transition: transform .5s; transform-style: preserve-3d; }
.reveal-card.flipped .reveal-inner { transform: rotateY(180deg); }
.reveal-back, .reveal-front { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 12px; display: flex;
	flex-direction: column; align-items: center; justify-content: center; gap: .3rem; }
.reveal-back { background: linear-gradient(160deg, #2a475e, #10151c); border: 2px solid var(--line); font-size: 2.6rem; }
.reveal-front { transform: rotateY(180deg); background: #10151c; border: 2px solid var(--accent-color, var(--accent));
	border-color: var(--accent); box-shadow: 0 0 16px -2px var(--accent); padding: .4rem; }
.reveal-front .reveal-icon { font-size: 2.6rem; }
.reveal-name { color: #fff; font-size: .82rem; text-align: center; font-weight: 600; }
.reveal-rarity { font-size: .72rem; color: var(--accent); text-transform: capitalize; }
.new-badge { position: absolute; top: 6px; right: 6px; background: var(--green); color: #06230a; font-size: .6rem; font-weight: 700; padding: 2px 5px; border-radius: 10px; }

.binder-actions { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.binder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .8rem; }
.card-slot { border-radius: 12px; border: 2px solid var(--accent); background: #10151c; overflow: hidden; display: flex; flex-direction: column;
	border-color: var(--accent); --accent: #7a8ba0; }
.card-slot { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset; }
.card-slot .card-face { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; padding: .9rem .5rem; }
.card-icon { font-size: 2.2rem; }
.card-name { color: #fff; font-size: .82rem; text-align: center; font-weight: 600; }
.card-rarity { font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; color: var(--accent); }
.card-slot { border-color: var(--accent); }
.rarity-common  { --accent: #7a8ba0; }
.rarity-uncommon { --accent: #4aa3ff; }
.rarity-rare    { --accent: #e5c76b; }
.card-slot { border: 2px solid var(--accent); }
.card-slot.rarity-rare { box-shadow: 0 0 14px -3px var(--accent); }
.card-slot.missing { opacity: .4; filter: grayscale(.8); }
.card-slot.missing .card-icon { opacity: .5; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding: .4rem .5rem; border-top: 1px solid var(--line); background: #0d1520; }
.card-qty { color: var(--text-dim); font-size: .8rem; }
.btn-xs { padding: .2rem .45rem; font-size: .72rem; }

@keyframes slidein2 { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Guess that Screenshot ---------- */
.snapshot-panel { display: grid; grid-template-columns: 1.4fr .9fr; gap: 1.5rem; align-items: start; }
.snapshot-frame { background: #05080c; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.snapshot-frame img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.snapshot-play h1, .snapshot-play h2 { margin-top: 0; }
.snapshot-form { display: flex; flex-direction: column; gap: .7rem; }
.snapshot-form input { font-size: 1.05rem; }
.snapshot-page .page-head { margin-bottom: 1.2rem; }
.snapshot-archive { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.archive-card { background: #10151c; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.archive-card img { width: 100%; height: auto; display: block; background: #05080c; }
.archive-body { padding: .6rem .7rem; display: flex; flex-direction: column; gap: .2rem; }
.archive-date { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }
.archive-answer { color: #fff; font-weight: 600; font-size: .9rem; }

@media (max-width: 860px) {
	.hero, .home-grid, .spin-page, .game-detail, .snapshot-panel, .snapshot-preview, .shop-topups { grid-template-columns: 1fr; }
	.header-inner { flex-wrap: wrap; }
	.main-nav { order: 3; width: 100%; }
}
