:root {
    --font-title: "Montserrat", "Avenir Next", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    --font-body: "Poppins", "Avenir Next", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    --font-display: "VT323", "Handjet", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", monospace;
}

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Poppins:wght@400;500;600;700&family=VT323&family=Handjet:wght@400;500;700&display=swap");

:root {
    --site-bg-1: #070f25;
    --site-bg-2: #0d1737;
    --site-bg-3: #13122d;
    --site-panel: rgba(13, 20, 45, 0.72);
    --site-panel-strong: rgba(13, 20, 45, 0.92);
    --site-line: rgba(164, 208, 255, 0.16);
    --site-text: #f7fbff;
    --site-muted: rgba(238, 246, 255, 0.72);
    --site-accent-1: #00a9f4;
    --site-accent-2: #9a1aff;
    --site-accent-3: #123886;
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--site-text);
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--site-accent-1) 28%, transparent), transparent 30%),
        radial-gradient(circle at 80% 14%, color-mix(in srgb, var(--site-accent-2) 20%, transparent), transparent 28%),
        radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--site-accent-3) 24%, transparent), transparent 34%),
        linear-gradient(180deg, var(--site-bg-1), var(--site-bg-2) 48%, var(--site-bg-3));
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.3;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 82%);
    animation: gridDrift 24s linear infinite;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 18px 16px 26px;
}

.site-header {
    position: sticky;
    top: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(8, 14, 34, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    animation: headerGlow 8s ease-in-out infinite;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: min(34vw, 180px);
    max-width: 180px;
    height: auto;
    transition: transform 0.18s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
    transform: translateY(-1px) scale(1.02);
}

.brand-copy {
    display: grid;
    min-width: 0;
}

.brand-copy strong {
    font-size: 1rem;
    line-height: 1.1;
    font-family: var(--font-title);
}

.brand-copy small {
    color: var(--site-muted);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav {
    display: inline-flex;
    gap: 12px;
    color: var(--site-muted);
    font-size: 0.94rem;
    align-items: center;
    justify-self: center;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.header-cta {
    justify-self: end;
    white-space: nowrap;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--site-accent-1) 24%, transparent);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    transform: translateY(-1px);
    color: var(--site-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.language-menu {
    position: relative;
    z-index: 5;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(7, 11, 27, 0.88);
    color: var(--site-text);
    cursor: pointer;
}

.language-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 8px;
    padding: 8px;
    min-width: 66px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(7, 11, 27, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.language-panel[hidden] {
    display: none !important;
}

.language-option {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--site-muted);
}

.language-option.is-active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--site-accent-1) 18%, transparent), color-mix(in srgb, var(--site-accent-2) 18%, transparent));
    color: var(--site-text);
}

.site-main {
    display: grid;
    gap: 18px;
    padding-top: 18px;
}

.section {
    position: relative;
}

.hero {
    display: grid;
    gap: 18px;
    align-items: center;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 110px);
    padding: 14px 0 0;
}

.hero-copy,
.hero-visual,
.section-card,
.contact-card {
    border: 1px solid var(--site-line);
    border-radius: var(--radius-xl);
    background: var(--site-panel);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.hero-copy {
    padding: clamp(22px, 4vw, 42px);
    position: relative;
    overflow: hidden;
    align-self: start;
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -20% 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: scanline 5s linear infinite;
}

.eyebrow {
    margin: 0 0 12px;
    color: color-mix(in srgb, var(--site-accent-1) 72%, white);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero h1,
.section h2 {
    margin: 0;
    letter-spacing: -0.06em;
    line-height: 0.92;
    font-family: var(--font-title);
}

.hero h1 {
    font-size: clamp(2.4rem, 7.5vw, 4.8rem);
    max-width: 9.2ch;
    background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--site-accent-1) 72%, white), var(--site-accent-2), #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 7s linear infinite;
}

.hero h1 .split-char {
    color: var(--site-text);
    -webkit-text-fill-color: currentColor;
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.hero-text,
.hero-note,
.section p {
    color: var(--site-muted);
    line-height: 1.55;
}

.hero-text {
    margin: 10px 0 0;
    max-width: 62ch;
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-note {
    margin: 8px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.button,
.inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--site-accent-1), var(--site-accent-2));
    color: white;
    box-shadow: 0 18px 34px color-mix(in srgb, var(--site-accent-1) 24%, transparent);
}

.button-secondary,
.inline-link {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--site-text);
}

.hero-meta {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 18px;
}

.hero-meta--chips {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hero-chip {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--site-text);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

.hero-stat span {
    display: block;
    margin-bottom: 6px;
    color: color-mix(in srgb, var(--site-muted) 78%, white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.hero-visual {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    padding: 22px;
    transform-style: preserve-3d;
}

.mini-game {
    display: grid;
    gap: 14px;
    height: 100%;
}

.mini-game__hud {
    display: grid;
    gap: 8px;
}

.mini-game__hud h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.mini-game__hud p {
    margin: 0;
}

.mini-game__frame {
    position: relative;
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 169, 244, 0.22), transparent 34%),
        radial-gradient(circle at 82% 16%, rgba(180, 156, 255, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(8, 16, 40, 0.98), rgba(4, 8, 24, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    touch-action: manipulation;
}

.mini-game__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 100%);
    pointer-events: none;
}

.mini-game__canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.mini-game__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    pointer-events: none;
}

.mini-game__restart,
.mini-game__score {
    pointer-events: auto;
}

.mini-game__restart {
    display: none;
    min-height: 46px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #3df08d, #169c61);
    color: #04120b;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(29, 224, 135, 0.18);
}

.mini-game__restart:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-game__score {
    display: grid;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(6, 12, 25, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-game__score span {
    color: color-mix(in srgb, var(--site-muted) 80%, white);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mini-game__score strong {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 0.9;
}

.mini-game__hint {
    margin: 0;
    color: var(--site-muted);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.92;
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-b {
    animation-duration: 12s;
    animation-delay: -2s;
}

.orb-c {
    animation-duration: 14s;
    animation-delay: -4s;
}

.orb-a {
    width: 240px;
    height: 240px;
    left: -40px;
    top: 40px;
    background: radial-gradient(circle, color-mix(in srgb, var(--site-accent-1) 50%, white), transparent 68%);
}

.orb-b {
    width: 210px;
    height: 210px;
    right: 10px;
    top: 8px;
    background: radial-gradient(circle, color-mix(in srgb, var(--site-accent-2) 52%, white), transparent 66%);
}

.orb-c {
    width: 180px;
    height: 180px;
    right: 40px;
    bottom: 18px;
    background: radial-gradient(circle, color-mix(in srgb, var(--site-accent-3) 60%, white), transparent 72%);
}

.hero-card {
    position: absolute;
    width: min(82%, 280px);
    padding: 16px 18px;
    border-radius: 24px;
    background: rgba(8, 14, 34, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    animation: cardFloat 7s ease-in-out infinite;
}

.hero-card--bottom {
    animation-delay: -2.5s;
}

.hero-card span {
    display: block;
    margin-bottom: 8px;
    color: color-mix(in srgb, var(--site-accent-1) 72%, white);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.5;
}

.hero-card--top {
    top: 22px;
    right: 18px;
}

.hero-card--bottom {
    bottom: 22px;
    left: 18px;
}

.section-card,
.contact-card {
    padding: clamp(18px, 3.4vw, 34px);
}

.section-card--about {
    overflow: hidden;
}

.about-grid,
.styles-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.about-panel,
.style-card,
.address-row {
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.about-panel:hover,
.style-card:hover,
.address-row:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.about-panel span,
.style-card span,
.address-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #06111c;
    background: linear-gradient(135deg, #ffffff, color-mix(in srgb, var(--site-accent-1) 60%, white));
}

.about-panel p,
.style-card p,
.address-row strong {
    margin: 0;
    line-height: 1.5;
}

.style-card--family {
    box-shadow: inset 0 0 0 1px rgba(103, 214, 255, 0.12);
}

.style-card--teens {
    box-shadow: inset 0 0 0 1px rgba(154, 26, 255, 0.12);
}

.style-card--adults {
    box-shadow: inset 0 0 0 1px rgba(18, 56, 134, 0.12);
}

.style-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-family: var(--font-title);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 20px;
}

.section-head p {
    margin: 8px 0 0;
    max-width: 62ch;
}

.contact-intro {
    margin-top: 12px;
}

.games-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.game-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.game-card--linked,
.style-card--linked {
    color: inherit;
    text-align: left;
}

.game-card--linked:hover,
.game-card--linked:focus-visible,
.style-card--linked:hover,
.style-card--linked:focus-visible {
    color: inherit;
}

.game-card:hover,
.game-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.game-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.game-card__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.game-card__head strong {
    font-size: 1.05rem;
    line-height: 1.2;
}

.game-card__head span {
    color: color-mix(in srgb, var(--site-muted) 85%, white);
    font-size: 0.8rem;
    white-space: nowrap;
}

.game-card__body p {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.55;
}

.section-split {
    display: grid;
    gap: 18px;
}

.section-card--soft {
    background: linear-gradient(180deg, color-mix(in srgb, var(--site-panel) 94%, white 6%), var(--site-panel));
}

.button-map {
    background: linear-gradient(135deg, #3df08d, #169c61);
    color: #03150d;
    border: 1px solid rgba(61, 240, 141, 0.3);
    box-shadow: 0 18px 34px rgba(24, 174, 101, 0.18);
}

.feature-list,
.schedule-list,
.closure-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.feature-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list--single-line li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    padding: 12px 14px;
}

.contact-grid {
    display: grid;
    gap: 16px;
}

.schedule-compact {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.schedule-compact__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-compact__item strong {
    font-family: var(--font-title);
}

.schedule-compact__item span {
    color: var(--site-muted);
}

.schedule-list,
.closure-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.schedule-list li,
.closure-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-list span,
.closure-list span {
    color: var(--site-muted);
}

.closure-list__period {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.closure-list__title {
    text-align: right;
}

.social-row > span {
    display: block;
    margin-bottom: 8px;
    color: color-mix(in srgb, var(--site-muted) 88%, white);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.muted-text {
    color: var(--site-muted);
}

.contact-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.contact-link {
    display: grid;
    place-items: center;
    min-height: 68px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        rgba(7, 11, 27, 0.46);
    color: #dfe9ff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.24);
}

.contact-link svg {
    width: 26px;
    height: 26px;
}

.contact-link--tiktok svg,
.contact-link--tiktok svg path {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.contact-link--mail,
.contact-link--whatsapp,
.contact-link--phone {
    color: #d7ffea;
}

.contact-link--instagram {
    color: #ff7ad6;
}

.contact-link--facebook {
    color: #7fb7ff;
}

.contact-link--tiktok {
    color: #ffffff;
}

.contact-link--mail {
    color: color-mix(in srgb, #00a9f4 74%, white 26%);
}

.contact-link--whatsapp {
    color: #56f29b;
}

.contact-link--phone {
    color: color-mix(in srgb, #9a1aff 72%, white 28%);
}

.social-row {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.address-row {
    display: grid;
    gap: 4px;
    margin-top: 16px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8px 8px;
    color: var(--site-muted);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.is-visible [data-stagger] > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    transition-delay: var(--stagger-delay, 0ms);
}

[data-split-text] {
    display: inline-block;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

[data-split-text] .split-char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 0.7em, 0) rotateX(72deg);
    filter: blur(10px);
    transform-origin: 50% 80%;
}

.hero h1 .split-char {
    background: none;
    color: var(--site-text);
    -webkit-text-fill-color: currentColor;
}

.reveal.is-visible [data-split-text] .split-char,
.hero-copy [data-split-text] .split-char {
    animation: splitRise 0.72s cubic-bezier(0.2, 0.8, 0.22, 1) forwards;
    animation-delay: calc(var(--char-index, 0) * 26ms);
}

.hero-actions > *,
.hero-meta > *,
.about-grid > *,
.styles-grid > *,
.games-grid > *,
.contact-grid > *,
.contact-footer > *,
.social-links > * {
    will-change: transform, opacity;
}

.spark {
    position: fixed;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1), color-mix(in srgb, var(--site-accent-1) 70%, white));
    box-shadow: 0 0 16px color-mix(in srgb, var(--site-accent-1) 50%, transparent);
    pointer-events: none;
    z-index: 90;
    animation: sparkBurst 720ms ease-out forwards;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -14px, 0) scale(1.06); }
}

@keyframes cardFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -8px, 0) rotate(0.7deg); }
}

@keyframes mascotBob {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(2deg); }
}

@keyframes gridDrift {
    from { transform: translateY(0); }
    to { transform: translateY(42px); }
}

@keyframes headerGlow {
    0%, 100% { box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24); }
    50% { box-shadow: 0 18px 50px rgba(0, 169, 244, 0.12); }
}

@keyframes scanline {
    from { transform: translateX(-20%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    to { transform: translateX(20%); opacity: 0; }
}

@keyframes sparkBurst {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0.95;
    }

    100% {
        transform: translate(calc(-50% + var(--spark-x, 0px)), calc(-50% + var(--spark-y, 0px))) scale(0);
        opacity: 0;
    }
}

@keyframes splitRise {
    from {
        opacity: 0;
        transform: translate3d(0, 0.7em, 0) rotateX(72deg);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 839px) {
    .site-shell {
        padding-bottom: 112px;
    }

    .site-header {
        position: fixed;
        top: auto;
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        grid-template-columns: auto 1fr auto;
        border-radius: 28px;
        padding: 10px 12px;
    }

    .brand-copy {
        display: none;
    }

    .brand-logo {
        width: 110px;
        max-width: 110px;
    }

    .site-nav {
        display: none;
    }

    .header-cta {
        grid-column: 2;
        justify-self: center;
        min-width: 128px;
        padding-inline: 16px;
        font-size: 0.92rem;
    }

    .language-menu {
        grid-column: 3;
    }

    .language-toggle {
        width: 44px;
        height: 44px;
    }

    .language-panel {
        top: auto;
        bottom: calc(100% + 10px);
        right: 0;
        left: auto;
        transform-origin: bottom right;
    }

    .feature-list--single-line li {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.35;
    }
}

@media (min-width: 840px) {
    .site-shell {
        padding: 20px 20px 32px;
    }

    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        gap: 22px;
        min-height: calc(100vh - 120px);
    }

    .hero-visual {
        min-height: 560px;
    }

    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .styles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-links {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 559px) {
    .contact-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1120px) {
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
