/* Reelhouse: navy and gold slot library theme */
:root {
    --bg: #0b1530;
    --bg-2: #0e1b3d;
    --surface: #13224a;
    --surface-2: #182a58;
    --line: rgba(255, 255, 255, .09);
    --text: #eef2ff;
    --muted: #a3aed0;
    --gold: #e9b95d;
    --gold-2: #f8dc98;
    --glow: rgba(233, 185, 93, .35);
    --radius: 16px;
    --wrap: 1200px;
    --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.section { padding-block: 40px 64px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.eyebrow a { color: inherit; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 21, 48, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .02em; white-space: nowrap; flex: none; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--gold), #b9822c); color: #1a1405; box-shadow: 0 0 24px var(--glow); }
.brand-logo { max-height: 44px; width: auto; }
.site-nav { flex: 1; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: .95rem; transition: color .2s, background .2s; }
.site-nav .has-drop > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .2s; }
.site-nav .menu > li:hover > a, .site-nav .menu > li:focus-within > a { color: var(--text); background: var(--surface); }
.site-nav .has-drop:hover > a::after, .site-nav .has-drop:focus-within > a::after { transform: rotate(-135deg) translateY(-2px); }
.drop { position: absolute; left: 0; top: calc(100% + 10px); min-width: 300px; padding: 10px; border-radius: 18px; background: rgba(17, 30, 66, .98); border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.drop-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.drop-item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.drop-item strong { display: block; font-size: .95rem; }
.drop-item small { display: block; color: var(--muted); font-size: .8rem; }
.drop-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(233, 185, 93, .14); color: var(--gold); font-weight: 800; }
.drop-wide { width: 460px; padding: 16px; }
.drop-title { margin: 0 6px 8px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-grid a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-size: .92rem; }
.drop-grid a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-2); }
.drop-grid small { color: var(--muted); font-variant-numeric: tabular-nums; }
.drop-all { display: block; margin-top: 8px; padding: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.search-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }
.btn-random { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--gold), #c98f33); color: #1a1405; font-weight: 800; font-size: .92rem; white-space: nowrap; box-shadow: 0 6px 20px rgba(233, 185, 93, .25); transition: transform .2s, box-shadow .2s; }
.btn-random:hover { color: #1a1405; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(233, 185, 93, .4); }
.header-search { border-top: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; }
.header-search .search-form, .header-search .sr-search { max-width: 720px; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; border-bottom: 1px solid var(--line);
    background: radial-gradient(1200px 500px at 80% -10%, rgba(80, 120, 255, .25), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(233, 185, 93, .14), transparent 60%), var(--bg); }
.hero-glow { position: absolute; inset: -40% -10% auto auto; width: 60vw; height: 60vw; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(233, 185, 93, .0), rgba(233, 185, 93, .22), rgba(90, 130, 255, .2), rgba(233, 185, 93, .0));
    filter: blur(60px); animation: spin 28s linear infinite; pointer-events: none; }
.hero-symbols span { position: absolute; font-family: var(--display); font-weight: 700; color: var(--gold); opacity: .09; animation: float 14s ease-in-out infinite; pointer-events: none; user-select: none; }
.hero-symbols span:nth-child(1) { left: 6%; top: 18%; font-size: 90px; }
.hero-symbols span:nth-child(2) { left: 84%; top: 14%; font-size: 70px; animation-delay: -3s; }
.hero-symbols span:nth-child(3) { left: 72%; top: 66%; font-size: 110px; animation-delay: -6s; }
.hero-symbols span:nth-child(4) { left: 14%; top: 72%; font-size: 64px; animation-delay: -9s; }
.hero-symbols span:nth-child(5) { left: 48%; top: 6%; font-size: 52px; animation-delay: -2s; }
.hero-symbols span:nth-child(6) { left: 92%; top: 48%; font-size: 58px; animation-delay: -7s; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }

/* Hero slot machine */
.slot-machine { --cell: 112px; justify-self: end; margin: 0; width: calc(var(--cell) * 3 + 64px); padding: 18px 18px 22px; border-radius: 28px;
    background: linear-gradient(160deg, #1d2f63, #0d1838 60%); border: 1px solid rgba(233, 185, 93, .35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 60px rgba(233, 185, 93, .12); position: relative; transform: rotate(-2deg); }
.sm-top { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.sm-title { font-family: var(--display); font-style: italic; font-weight: 700; color: var(--gold-2); letter-spacing: .02em; white-space: nowrap; }
.sm-lights { flex: 1; height: 8px; background: radial-gradient(circle, var(--gold) 2.5px, transparent 3px) 0 50% / 16px 8px repeat-x; animation: lights 1.2s steps(2) infinite; }
.sm-window { position: relative; display: grid; grid-template-columns: repeat(3, var(--cell)); gap: 8px; padding: 10px; border-radius: 18px; background: #050b1e; box-shadow: inset 0 0 0 2px rgba(233, 185, 93, .25), inset 0 12px 30px rgba(0, 0, 0, .8); }
.sm-reel { height: calc(var(--cell) * 3); overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #0b1430, #142453 50%, #0b1430);
    mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.sm-strip { will-change: transform; }
.sm-cell { height: var(--cell); padding: 8px; display: grid; place-items: center; }
.sm-cell img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.sm-sym { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; background: linear-gradient(180deg, #fff3c4, var(--gold) 55%, #a8721f); -webkit-background-clip: text; background-clip: text; }
.sm-bar { font-family: var(--sans); font-size: 1.6rem; letter-spacing: .06em; }
.sm-payline { position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 12px var(--glow); pointer-events: none; }
.slot-machine.is-landed .sm-reel { animation: win .6s ease 2; }
.sm-result { min-height: 52px; margin: 14px 4px 0; font-size: .92rem; }
.sm-label { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.sm-link { color: var(--text); }
.sm-link span { color: var(--muted); }
.sm-link em { font-style: normal; color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.sm-spin { position: absolute; right: -22px; top: 46%; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
    background: radial-gradient(circle at 35% 30%, #ffe6a3, var(--gold) 45%, #a8721f); color: #1a1405; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .5), 0 0 0 6px rgba(233, 185, 93, .15); transition: transform .15s; }
.sm-spin:hover { transform: scale(1.06); }
.sm-spin:active { transform: scale(.94); }
.sm-spin[disabled] { opacity: .75; cursor: progress; }
@keyframes lights { 50% { opacity: .35; } }
@keyframes win { 50% { box-shadow: inset 0 0 0 2px var(--gold), 0 0 24px var(--glow); } }
.hero h1 { max-width: 14ch; }
.hero h1 em, .page-hero h1 em { font-style: italic; color: transparent; background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: shine 6s linear infinite; }
.hero-lead { max-width: 620px; color: var(--muted); font-size: 1.12rem; margin: 0 0 28px; }
.hero-search { max-width: 680px; }
.hero-search .search-form, .search-form { display: flex; gap: 8px; }
.search-field { flex: 1; min-width: 0; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.search-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 185, 93, .15); }
.search-submit { padding: 0 22px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--gold), #c98f33); color: #1a1405; font-weight: 800; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.chips a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .9rem; transition: all .2s; }
.chips a:hover { color: var(--text); border-color: var(--gold); box-shadow: 0 0 18px var(--glow); }

/* Ticker */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-label { flex: none; display: grid; place-items: center; padding: 0 18px; background: var(--gold); color: #1a1405; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li a { display: inline-flex; align-items: baseline; gap: 8px; padding: 13px 26px; white-space: nowrap; color: var(--text); border-right: 1px solid var(--line); font-size: .93rem; }
.ticker-track span { color: var(--muted); font-size: .85rem; }
.ticker-track em { font-style: normal; color: var(--gold-2); font-weight: 700; font-size: .85rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 48px 8px; }
.stat { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .9rem; }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 20px; margin: 72px 0 26px; }
.section-head > div, .section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { flex-basis: 100%; margin-bottom: 4px; }
.section-head h2 { flex: 1; }
.section-head .more { font-weight: 700; }
.section-lead { flex-basis: 100%; color: var(--muted); margin: 6px 0 0; max-width: 680px; }
.section-title { margin-top: 36px; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tool::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: 0; transition: opacity .3s; }
.tool:hover { transform: translateY(-4px); border-color: rgba(233, 185, 93, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); color: var(--text); }
.tool:hover::after { opacity: 1; }
.tool-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(233, 185, 93, .14); color: var(--gold); font-weight: 800; font-size: 1.2rem; }
.tool-title { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.tool-text { color: var(--muted); }
.tool-link { margin-top: auto; color: var(--gold-2); font-weight: 700; }

/* Chart */
.chart-controls { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.chart-controls button { border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.chart-controls button.is-active { background: var(--gold); color: #1a1405; }
.bars { list-style: none; margin: 0; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 170px 1fr 90px; align-items: center; gap: 14px; transition: transform .4s; }
.bar-label { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #6d8cff, var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 16px var(--glow); }
.bars.is-visible .bar-fill { transform: scaleX(1); }
.bars li:nth-child(2) .bar-fill { transition-delay: .05s; } .bars li:nth-child(3) .bar-fill { transition-delay: .1s; } .bars li:nth-child(4) .bar-fill { transition-delay: .15s; }
.bars li:nth-child(5) .bar-fill { transition-delay: .2s; } .bars li:nth-child(6) .bar-fill { transition-delay: .25s; } .bars li:nth-child(n+7) .bar-fill { transition-delay: .3s; }
.bar-value { text-align: right; color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Rankings */
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rank-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rank-card h3, .rank-card h2 { font-size: 1.3rem; margin-bottom: 12px; }
.rank-card ol { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.rank-card li { counter-increment: r; border-top: 1px solid var(--line); }
.rank-card li a { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 4px; color: var(--text); transition: background .2s, padding .2s; border-radius: 10px; }
.rank-card li a::before { content: counter(r); color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.rank-card li a:hover { background: rgba(255, 255, 255, .04); padding-left: 10px; }
.rank-name { overflow: hidden; }
.rank-name small { display: block; color: var(--muted); font-size: .8rem; }
.rank-value { color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.studio-top { max-width: 560px; }

/* Game cards */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-card a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.game-card a:hover { transform: translateY(-5px); border-color: rgba(233, 185, 93, .55); box-shadow: 0 20px 44px rgba(0, 0, 0, .45), 0 0 0 1px rgba(233, 185, 93, .2); color: var(--text); }
.game-art { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game-card a:hover .game-art img { transform: scale(1.07); }
.game-play { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); padding: 8px 16px; border-radius: 999px; background: var(--gold); color: #1a1405; font-weight: 800; font-size: .85rem; opacity: 0; transition: all .25s; white-space: nowrap; }
.game-card a:hover .game-play, .game-card a:focus-visible .game-play { opacity: 1; transform: translate(-50%, 0); }
.game-copy { display: grid; gap: 4px; padding: 14px 16px 16px; }
.game-studio { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.game-title { font-weight: 700; line-height: 1.3; }
.game-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.game-badges span { padding: 2px 9px; border-radius: 999px; background: rgba(233, 185, 93, .12); color: var(--gold-2); font-size: .78rem; font-weight: 700; }

/* Studios */
.studio-marquee { overflow: hidden; margin-bottom: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.studio-marquee-track { display: flex; gap: 42px; width: max-content; animation: marquee 50s linear infinite reverse; }
.studio-marquee span { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: rgba(255, 255, 255, .16); white-space: nowrap; }
.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.studio-grid a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.studio-grid a:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--text); }
.studio-name { font-weight: 700; }
.studio-meta { color: var(--muted); font-size: .85rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.studio-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.studio-table th, .studio-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.studio-table thead th { color: var(--gold); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; background: var(--bg-2); }
.studio-table td { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .25s, border-color .25s; }
.post-card a:hover { transform: translateY(-4px); border-color: rgba(233, 185, 93, .5); color: var(--text); }
.post-art { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); overflow: hidden; }
.post-art img { width: 100%; height: 100%; object-fit: cover; }
.post-art-fallback { display: grid; place-items: center; height: 100%; font-size: 3rem; color: rgba(233, 185, 93, .35); }
.post-copy { display: grid; gap: 8px; padding: 18px; }
.post-meta { color: var(--muted); font-size: .82rem; }
.post-title { font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.post-excerpt { color: var(--muted); font-size: .95rem; }

/* Inner pages */
.page-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: radial-gradient(800px 300px at 90% 0%, rgba(80, 120, 255, .18), transparent 60%), var(--bg); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h1-sub { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.page-lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-2); }
.fact-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.fact-pills li { display: grid; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 800; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.fact-pills span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.article-meta { color: var(--muted); font-size: .92rem; }
.article-image { margin: 32px 0 0; border-radius: var(--radius); overflow: hidden; }
.prose { padding-block: 28px 20px; font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.toc { margin: 0 0 28px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc-title { margin: 0 0 6px; color: var(--gold); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .85rem; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 8px; border-top: 1px solid var(--line); }
.post-nav .next { margin-left: auto; text-align: right; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 10px; background: var(--surface); color: var(--text); }
.nav-links .current { background: var(--gold); color: #1a1405; }

/* Game page: SlotsReach output sits on the dark theme */
.game-content { --sr-card-bg: var(--surface); --sr-card-border: var(--line); --sr-text: var(--text); --sr-text-muted: var(--muted); }
.game-content .sr-single-game { border-radius: var(--radius); }
.game-content .sr-iframe-container { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.game-content .sr-play-btn { animation: pulse 2.4s ease-in-out infinite; }
.single-slotsr_game .sr-related-games { display: none; } /* replaced by the larger "More … slots" grid */
.game-content .mwts-review { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 1.05rem; }
.game-content .mwts-review h2 { font-size: 1.8rem; }
.game-content .mwts-review h3 { margin-top: 1.4em; color: var(--gold-2); }
.catalog { --sr-card-bg: var(--surface); --sr-card-border: var(--line); --sr-text: var(--text); --sr-text-muted: var(--muted); }

/* Footer */
.site-footer { margin-top: 80px; padding: 0 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #070e22); color: var(--muted); }
.footer-stats { border-bottom: 1px solid var(--line); background: rgba(233, 185, 93, .04); }
.footer-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.footer-stats p { margin: 0; font-size: .92rem; }
.footer-stats strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; }
.footer-brand p { margin: 14px 0 18px; font-size: .92rem; max-width: 360px; }
.footer-col .footer-menu a { font-size: .92rem; }
.rg-panel { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgba(233, 185, 93, .3); background: rgba(233, 185, 93, .05); font-size: .9rem; }
.rg-panel p { margin: 0 0 10px; }
.rg-title { color: var(--text); font-weight: 800; font-size: 1rem; }
.rg-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rg-links a { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: .85rem; }
.rg-links a:hover { border-color: var(--gold); color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; }
.footer-bottom p { margin: 0; max-width: 820px; }
.to-top { white-space: nowrap; font-weight: 700; }
.footer-title { color: var(--text); font-weight: 700; margin: 0 0 8px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-menu a { color: var(--muted); }
.footer-menu a:hover { color: var(--gold-2); }
.rg-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: .9rem; }
.rg-note p { margin: 0; }
.rg-badge { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; }
.copyright { margin: 22px 0 0; font-size: .85rem; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-24px) rotate(6deg); } }
@keyframes shine { to { background-position: 200% 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 185, 93, .5); } 50% { box-shadow: 0 0 0 14px rgba(233, 185, 93, 0); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
    .bar-fill { transform: none; }
    .ticker-viewport { overflow-x: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
    .slot-machine { --cell: 92px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .slot-machine { display: none; }
}
@media (max-width: 1024px) {
    .game-grid, .studio-grid { grid-template-columns: repeat(3, 1fr); }
    .rank-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
    .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
    .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
    .nav-toggle span:first-child::before { position: absolute; top: -6px; }
    .nav-toggle span:first-child::after { position: absolute; top: 6px; }
    .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; max-height: calc(100vh - 70px); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; }
    .site-nav.is-open { display: block; }
    .site-nav .menu { flex-direction: column; }
    .site-nav .has-drop > a::after { display: none; }
    .drop, .drop-wide { position: static; width: auto; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 8px; }
    .drop-item small { display: none; }
    .drop-icon { width: 26px; height: 26px; font-size: .8rem; }
    .btn-random { padding: 9px 12px; font-size: 0; gap: 0; }
    .btn-random span { font-size: 1.1rem; }
    .site-footer .btn-random { font-size: .92rem; gap: 8px; padding: 10px 16px; }
    .footer-stats .wrap { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .stats, .tool-grid, .rank-grid, .post-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .game-grid, .studio-grid { grid-template-columns: 1fr 1fr; }
    .bars li { grid-template-columns: 110px 1fr 70px; gap: 10px; font-size: .9rem; }
    .hero { padding: 56px 0 48px; }
    .hero-symbols { display: none; }
    .search-submit { padding: 0 16px; }
}
@media (max-width: 520px) {
    .header-inner { gap: 10px; }
    .brand { flex: 0 1 auto; min-width: 0; }
    .brand-name { overflow: hidden; text-overflow: ellipsis; font-size: .95rem; }
    .brand-mark { width: 32px; height: 32px; }
    .header-actions { gap: 6px; }
    .search-toggle, .nav-toggle { width: 40px; height: 40px; }
    .btn-random { padding: 8px 10px; }
}
