:root {
    --bg: #07111f;
    --bg-soft: #0d1c31;
    --card: rgba(10, 27, 47, 0.88);
    --card-strong: rgba(10, 27, 47, 0.96);
    --line: rgba(122, 226, 255, 0.18);
    --text: #eef7ff;
    --muted: #97afc9;
    --cyan: #4fe7ff;
    --cyan-strong: #24d0ff;
    --blue: #0f4c81;
    --gold: #d6b15f;
    --gold-soft: rgba(214, 177, 95, 0.35);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
    --radius: 24px;
    --radius-sm: 18px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(43, 151, 255, 0.2), transparent 26%),
        radial-gradient(circle at 80% 10%, rgba(79, 231, 255, 0.14), transparent 22%),
        linear-gradient(180deg, #050b14 0%, #091627 45%, #07111f 100%);
    display: flex;
    flex-direction: column;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #9ef5ff; }
img { max-width: 100%; display: block; }
main { flex: 1; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.glow-card {
    position: relative;
    isolation: isolate;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -18px;
    background: radial-gradient(circle, rgba(79, 231, 255, 0.2), transparent 60%);
    z-index: -1;
    filter: blur(25px);
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(4, 10, 18, 0.82);
    border-bottom: 1px solid rgba(79, 231, 255, 0.12);
    backdrop-filter: blur(16px);
}
.header-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}
.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(36, 208, 255, 0.22), rgba(214, 177, 95, 0.18));
    border: 1px solid rgba(79, 231, 255, 0.24);
    font-weight: 800;
    font-size: 1.35rem;
    box-shadow: 0 0 18px rgba(79, 231, 255, 0.16);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 1rem; }
.brand-copy span { color: var(--muted); font-size: 0.84rem; }
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(214, 177, 95, 0.34);
    color: #fff1c7;
    background: rgba(214, 177, 95, 0.12);
    font-weight: 800;
}
.header-disclaimer {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    text-align: right;
}
.hero-section { padding: 72px 0 28px; }
.hero-grid { display: grid; }
.hero-copy {
    padding: clamp(28px, 5vw, 46px);
    max-width: 760px;
    position: relative;
    overflow: hidden;
}
.hero-copy::after {
    content: '';
    position: absolute;
    right: -90px;
    top: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 231, 255, 0.24), transparent 65%);
}
.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(79, 231, 255, 0.1);
    color: #b8f8ff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-copy h1 { margin: 18px 0 10px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.98; }
.hero-copy h2 { margin: 0 0 18px; color: #d7e8ff; font-size: clamp(1.4rem, 3vw, 2rem); }
.hero-copy p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.hero-button { margin-top: 28px; }
.primary-button, .secondary-button {
    border: 0;
    cursor: pointer;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.primary-button {
    color: #021521;
    background: linear-gradient(135deg, var(--cyan), #8af4ff);
    box-shadow: 0 12px 30px rgba(79, 231, 255, 0.22);
}
.secondary-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px) scale(1.01); }
.primary-button:active, .secondary-button:active { transform: translateY(1px) scale(0.99); }
.primary-button:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.featured-section { padding: 18px 0 36px; }
.featured-frame {
    position: relative;
    width: min(100%, 650px);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    padding: 14px;
    background: linear-gradient(145deg, rgba(214, 177, 95, 0.95), rgba(255, 235, 189, 0.92), rgba(153, 112, 35, 0.95));
    box-shadow: 0 0 0 1px rgba(255, 226, 163, 0.75), 0 0 28px rgba(214, 177, 95, 0.3), 0 0 70px rgba(214, 177, 95, 0.14);
}
.featured-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 24px;
    border: 2px solid rgba(80, 45, 6, 0.55);
    pointer-events: none;
}
.featured-frame::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 230, 180, 0.6);
    pointer-events: none;
}
.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.2);
}
.shimmer-frame { overflow: hidden; }
.shimmer-frame .featured-image { animation: imageFloat 12s ease-in-out infinite; }
.shimmer-frame > * { position: relative; z-index: 1; }
.shimmer-frame::before,
.shimmer-frame::after { z-index: 2; pointer-events: none; }
.shimmer-frame::before {
    content: '';
    position: absolute;
    inset: -50% auto -50% -20%;
    width: 34%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: shimmer 6.5s linear infinite;
}
.demo-section { padding: 22px 0 24px; }

.demo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 22px;
    align-items: start;
}
.game-card { padding: 24px; }
.game-topbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.game-topbar strong { font-size: 1.5rem; }
.slot-machine {
    position: relative;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7, 22, 38, 0.86), rgba(12, 35, 56, 0.96));
    border: 1px solid rgba(79, 231, 255, 0.12);
    overflow: hidden;
}
.slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.slot-cell {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: clamp(2rem, 7vw, 3.1rem);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.26s ease, box-shadow 0.26s ease, opacity 0.26s ease, filter 0.26s ease;
}
.slot-cell.spinning {
    transform: translateY(10px) scale(0.98);
    opacity: 0.55;
    filter: blur(1px);
}
.slot-cell.winner {
    box-shadow: 0 0 0 1px rgba(214, 177, 95, 0.5), 0 0 22px rgba(79, 231, 255, 0.35), inset 0 0 30px rgba(79, 231, 255, 0.14);
    transform: translateY(-2px) scale(1.03);
}
.line-indicator {
    position: absolute;
    inset: 18px;
    pointer-events: none;
}
.line-indicator::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: var(--line-top, 50%);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(214,177,95,0), rgba(214,177,95,0.95), rgba(79,231,255,0.95), rgba(214,177,95,0));
    box-shadow: 0 0 16px rgba(79, 231, 255, 0.45);
    opacity: 0;
    transform: scaleX(0.7);
}
.line-indicator.active::before { animation: lineFlash 1.1s ease; }
.sparkle-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(79,231,255,0.4), transparent 70%);
    animation: sparkleRise 0.9s ease forwards;
}
.game-controls {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.pulse-button { animation: pulseSoft 2.4s ease infinite; }
.game-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #dbfaff;
    background: rgba(79, 231, 255, 0.08);
    border: 1px solid rgba(79, 231, 255, 0.12);
    min-height: 54px;
    display: flex;
    align-items: center;
}
.stats-card { padding: 24px; }
.stats-card h2 { margin-top: 0; margin-bottom: 18px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.stat-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.stat-item span { display: block; color: var(--muted); margin-bottom: 10px; }
.stat-item strong { font-size: 1.35rem; }
.trust-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.trust-mini-list span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(79, 231, 255, 0.08);
    border: 1px solid rgba(79, 231, 255, 0.14);
    color: #c8fbff;
    font-size: 0.86rem;
}
.trust-badges-section, .info-section, .responsible-section { padding: 24px 0 28px; }
.card-grid { display: grid; gap: 18px; }
.four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.badge-card, .info-card, .resource-card { padding: 24px; }
.badge-card h3, .info-card h2, .resource-card h3 { margin-top: 0; }
.badge-card p, .info-card p, .resource-card p, .static-card p, .static-card li { color: var(--muted); line-height: 1.7; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 12px 0 0; }
.resource-card a {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 700;
}
.page-main { padding: 46px 0 52px; }
.narrow-section { width: min(calc(100% - 32px), 860px); }
.static-card { padding: 30px; }
.static-card h1 { margin-top: 0; }
.static-card h2 { margin-top: 26px; }
.contact-block { font-size: 1.03rem; }
.site-footer {
    margin-top: 40px;
    background: rgba(3, 9, 17, 0.92);
    border-top: 1px solid rgba(79, 231, 255, 0.12);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    padding: 30px 0 18px;
}
.footer-grid h2, .footer-grid h3 { margin-top: 0; }
.footer-links, .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.footer-grid p, .footer-grid li { color: var(--muted); line-height: 1.7; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0 24px;
    color: var(--muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.age-gate, .cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}
.age-gate.active, .cookie-banner.active { display: block; }
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 5, 11, 0.78);
    backdrop-filter: blur(10px);
}
.age-gate-card, .cookie-card {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 520px);
    margin: 10vh auto 0;
    padding: 28px;
    background: var(--card-strong);
    border: 1px solid rgba(79, 231, 255, 0.16);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    margin: 18px 0 22px;
}
.checkbox-row input { margin-top: 3px; }
.cookie-banner {
    inset: auto 0 18px 0;
    padding: 0 16px;
}
.cookie-card {
    width: min(100%, 960px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
}
.cookie-card h2 { margin: 0 0 8px; }
.cookie-card p { margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes shimmer {
    0% { transform: translateX(-180%) rotate(18deg); }
    100% { transform: translateX(540%) rotate(18deg); }
}
@keyframes imageFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}
@keyframes pulseSoft {
    0%, 100% { box-shadow: 0 12px 30px rgba(79, 231, 255, 0.2); }
    50% { box-shadow: 0 12px 36px rgba(79, 231, 255, 0.34); }
}
@keyframes lineFlash {
    0% { opacity: 0; transform: scaleX(0.7); }
    25% { opacity: 1; }
    65% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1.04); }
}
@keyframes sparkleRise {
    0% { opacity: 0; transform: translateY(10px) scale(0.5); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-42px) scale(1.4); }
}
@media (max-width: 980px) {
    .demo-layout, .four-grid, .two-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .header-row { grid-template-columns: 1fr; text-align: left; }
    .header-disclaimer { text-align: left; }
    .demo-layout, .four-grid, .two-grid, .footer-grid, .stats-grid, .cookie-card { grid-template-columns: 1fr; display: grid; }
    .game-controls, .cookie-actions, .footer-bottom { flex-direction: column; align-items: stretch; }
    .game-topbar { flex-direction: column; }
    .slot-cell { border-radius: 16px; }
    .hero-section { padding-top: 40px; }
    .featured-frame { padding: 10px; border-radius: 24px; }
    .featured-frame::before { inset: 7px; border-radius: 18px; }
    .featured-frame::after { inset: 16px; border-radius: 14px; }
}
