@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&display=swap');

:root {
    --ink: #fff8ef;
    --paper: #281440;
    --muted: #c7b9d9;
    --line: #ffffff24;
    --display: 'Bricolage Grotesque', 'Arial Rounded MT Bold', sans-serif;
    color-scheme: dark;
}

body {
    background-color: var(--paper);
    background-image: radial-gradient(circle, #ffffff0a 1px, transparent 1px);
    background-size: 24px 24px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 80% 25%, #7542ac45, transparent 60%);
}

::selection { color: #281440; }
:focus-visible { outline-color: var(--accent); }
.skip-link { background: var(--accent); color: #281440; }
h1, h2, h3, .logo, .mini-logo { font-family: var(--display); }
.header { height: 104px; }
.logo { font-size: 50px; }
.logo span { color: var(--accent); }
.header nav a:hover { color: var(--accent); }
.availability { border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; font-size: 11px; }
.status-dot { background: var(--accent); width: 6px; height: 6px; }

.button {
    border: 2px solid #20102f;
    border-radius: 14px;
    gap: 40px;
    box-shadow: 0 5px 0 #170b29;
    transition: transform .2s, box-shadow .2s;
}
.button-accent { color: #281440; }
.button:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 #170b29; }
.button:active { transform: translateY(3px); box-shadow: 0 2px 0 #170b29; }

.hero {
    min-height: min(780px, calc(100svh - 104px));
    gap: 44px;
    padding-block: 65px 95px;
}
h1 { font-size: clamp(54px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -3.2px; margin: 0; }
h1 .highlight { color: var(--accent); display: inline-block; transform: rotate(-3deg); }
.highlight svg { stroke: var(--accent); }
.hero-copy > p { color: var(--muted); margin-block: 34px; }
.hero-facts { color: var(--muted); }
.hero-facts i { background: #ad91c3; }
.playground { height: 440px; }
.scene-doodles { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.scene-doodles::before { content: '?'; position: absolute; top: -55px; left: 18px; font: 800 96px var(--display); color: #b995ee; transform: rotate(-18deg); }
.scene-doodles::after { content: '✦'; position: absolute; bottom: 45px; left: 23%; font-size: 50px; color: var(--accent); transform: rotate(15deg); }
.orbit { border-color: #c8a2ee35; }
.floating-star { color: var(--accent); font-size: 70px; top: -34px; right: -6px; }
.tv { border-color: #170d26; background: #24103d; border-radius: 19px; transform: rotate(-4deg); box-shadow: 0 0 0 2px #ffffff20, 0 25px 50px #10051e65; }
.mini-logo { font-size: 21px; }
.tv-content { padding: 24px 28px 15px; background: radial-gradient(ellipse at 50% 0, #7744ad60, transparent 75%); }
.tv-content h2 { font-size: 26px; line-height: 1.2; margin: 8px 0 22px; }
.answers > span { border-color: #ffffff30; background: #ffffff0a; padding-block: 11px; border-radius: 7px; }
.answers .revealed { background: #a84516; border-color: var(--accent); }
.tv-stand { background: #170d26; }
.phone { border-color: #170d26; background: #fff6e9; color: #281440; transform: rotate(10deg); box-shadow: 0 0 0 2px #ffffff30, 0 20px 35px #10051e65; }
.phone-island { background: #170d26; }
.phone-answers button { font-family: var(--display); font-size: 22px; border-bottom: 3px solid #00000018; border-radius: 8px; }
.scene-caption { color: var(--muted); transform: rotate(-4deg); bottom: 5px; font-size: 10px; }

.section { padding-block: 80px; }
.section h2 { font-size: 42px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; }
#kako-se-igra { padding-block: 55px 70px; }
.steps { gap: 18px; }
.steps article { padding: 28px 25px; border: 1px solid var(--line); border-radius: 16px; background: #ffffff06; }
.step-number { position: static; font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--accent); display: block; margin-bottom: 20px; }
.steps h3 { font-size: 21px; line-height: 1.2; margin: 0 0 10px; }
.games-section { background: #1b0d2d50; border-block: 1px solid var(--line); }
.game-card { background: #38204e; border-color: #ffffff25; border-radius: 20px; box-shadow: 0 7px 0 #13092150; transition: transform .2s; }
.game-card:hover { transform: translateY(-5px) rotate(-1deg); }
.game-art { background: #a980eb; }
.game-art::before { content: ''; position: absolute; inset: 13px; border: 1px solid #ffffff35; border-radius: 50%; transform: rotate(-15deg) scaleX(1.5); }
.game-symbol { color: #482068; text-shadow: 5px 6px 0 #ffffff25; }
.orange .game-art { background: var(--accent); }
.game-copy { padding: 25px; }
.game-copy h3 { font-size: 28px; font-weight: 800; letter-spacing: -.8px; }
.categories p { color: var(--muted); }
.categories i { color: var(--accent); }
.faq-list summary { font-size: 14px; }
.faq-list summary span { color: var(--accent); font-size: 24px; }

@media (min-width: 1450px) {
    .hero { gap: 70px; }
    .tv-content { padding-block: 28px 18px; }
    .tv-content h2 { font-size: 29px; }
    .playground { height: 455px; }
}

@media (max-width: 1050px) {
    .hero { gap: 22px; }
    h1 { font-size: 60px; }
    .playground { height: 370px; }
    .tv-content { padding: 18px 16px 12px; }
    .tv-content h2 { font-size: 23px; }
    .floating-star { font-size: 50px; right: 0; }
    .scene-doodles::before { font-size: 75px; top: -40px; }
    .scene-caption { font-size: 9px; }
    .section h2 { font-size: 36px; }
    .steps article { padding: 22px 18px; }
    .game-copy { padding: 22px 18px; }
    .game-copy h3 { font-size: 25px; }
}

@media (max-width: 760px) {
    .header { height: 86px; }
    .header .logo { font-size: 40px; }
    .hero { min-height: auto; padding: 35px 0 50px; gap: 60px; }
    h1 { font-size: clamp(48px, 10vw, 70px); letter-spacing: -2px; }
    .hero-copy > p { margin-block: 29px; }
    .playground { height: 370px; }
    .tv-content h2 { font-size: 23px; }
    .tv-content { padding: 18px 16px 14px; }
    .scene-caption { font-size: 9px; bottom: 4px; left: 2%; }
    .phone { right: 4px; width: 136px; min-height: 250px; }
    .phone-answers button { height: 37px; }
    .floating-star { right: 0; top: -20px; font-size: 48px; }
    .scene-doodles::before { font-size: 65px; top: -35px; left: 12px; }
    .scene-doodles::after { font-size: 30px; bottom: 60px; left: 15%; }
    .section { padding-block: 55px; }
    .section h2 { font-size: 34px; letter-spacing: -1px; }
    #kako-se-igra { padding-block: 40px 50px; }
    .steps { gap: 12px; }
    .steps article { padding: 23px 22px 23px 80px; }
    .step-number { position: absolute; left: 22px; top: 20px; font-size: 30px; margin: 0; }
    .steps h3 { font-size: 21px; margin-bottom: 6px; }
    .game-card { grid-template-columns: 115px 1fr; border-radius: 16px; }
    .game-copy { padding: 24px 17px; }
    .game-copy h3 { font-size: 26px; }
    .faq-list summary { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .button, .game-card { transition: none; }
}

.steps { gap: 24px; }
.steps article { padding: 0; border-radius: 21px; background: #38204e; box-shadow: 0 7px 0 #13092145; }
.step-picture { position: relative; border-radius: 20px 20px 0 0; isolation: isolate; }
.step-picture-tv { background: #c4a0ec; }
.step-picture-phone { background: #ffc196; }
.step-picture-play { background: #f3ad9c; }
.step-picture img { display: block; width: 100%; height: auto; border-radius: inherit; transition: transform .25s; }
.steps article:hover .step-picture img { transform: translateY(-4px) rotate(-1deg); }
.step-picture .step-number { position: absolute; z-index: 1; left: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; border: 2px solid #281440; border-radius: 50%; background: #fff6e9; box-shadow: 0 3px 0 #281440; color: #281440; font-size: 17px; }
.step-copy { padding: 25px 24px 28px; }
.steps h3 { font-size: 24px; margin: 0 0 9px; }
.steps p { max-width: none; }

@media (max-width: 1050px) and (min-width: 761px) {
    .steps { gap: 16px; }
    .step-copy { padding: 22px 18px; }
    .steps h3 { font-size: 21px; }
}

@media (max-width: 760px) {
    .steps { gap: 22px; }
    .steps article { padding: 0; }
    .step-picture img { max-height: 255px; object-fit: contain; }
    .step-copy { padding: 24px; }
    .steps h3 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .step-picture img { transition: none; }
}

.games { gap: 24px; }
.game-card { border-radius: 21px; }
.game-art, .orange .game-art, .coral .game-art { height: auto; min-height: 0; padding: 0; }
.game-art { background: #c4a0ec; }
.orange .game-art { background: #ffc196; }
.coral .game-art { background: #f3ad9c; }
.peach .game-art { background: #ffd0ac; }
.lavender .game-art { background: #c4a0ec; }
.game-art::before { content: none; }
.game-art img { display: block; width: 100%; height: auto; transition: transform .25s; }
.game-card:hover { transform: none; }
.game-card:hover .game-art img { transform: translateY(-4px) rotate(-1deg); }
.game-copy { padding: 25px 24px 28px; }

@media (max-width: 1050px) and (min-width: 761px) {
    .games { gap: 16px; }
    .game-copy { padding: 22px 18px; }
}

@media (max-width: 760px) {
    .games { gap: 22px; }
    .games .game-card { display: block; }
    .game-art img { max-height: 255px; object-fit: contain; }
    .game-copy { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .game-art img { transition: none; }
}

@media (min-width: 761px) {
    .games { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .games .game-card { grid-column: span 2; }
    .games .game-card:nth-child(4) { grid-column: 2 / span 2; }
    .games .game-card:nth-child(5) { grid-column: 4 / span 2; }
}
