:root {
    --bg: #fff7e8;
    --bg-2: #ffe9f6;
    --bg-3: #e8fbff;
    --ink: #1d2240;
    --ink-soft: #59607f;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-2: rgba(255, 247, 232, 0.92);
    --line: rgba(29, 34, 64, 0.12);
    --line-strong: rgba(29, 34, 64, 0.18);
    --pink: #ff5fa7;
    --pink-2: #ff7fbc;
    --orange: #ff9e45;
    --yellow: #ffd95a;
    --mint: #67e7cc;
    --sky: #69b8ff;
    --violet: #8f7cff;
    --shadow: 0 20px 50px rgba(86, 59, 125, 0.14);
    --shadow-soft: 0 10px 26px rgba(86, 59, 125, 0.08);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 126, 188, 0.28), transparent 18%),
        radial-gradient(circle at 92% 14%, rgba(105, 184, 255, 0.24), transparent 18%),
        radial-gradient(circle at 24% 82%, rgba(103, 231, 204, 0.22), transparent 16%),
        radial-gradient(circle at 85% 78%, rgba(255, 217, 90, 0.22), transparent 18%),
        linear-gradient(180deg, #fff6e7 0%, #fff9fb 48%, #eefcff 100%);
}
body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(12px);
}
body::before {
    width: 260px;
    height: 260px;
    left: -80px;
    top: 120px;
    background: rgba(255, 159, 69, 0.12);
}
body::after {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: 40px;
    background: rgba(143, 124, 255, 0.12);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
iframe { display: block; width: 100%; border: 0; }
.container { width: min(var(--container), calc(100% - 34px)); margin: 0 auto; }
.site-shell { overflow: clip; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 14px 0 0;
    background: linear-gradient(180deg, rgba(255,248,237,0.92), rgba(255,248,237,0.72) 74%, rgba(255,248,237,0));
    backdrop-filter: blur(14px);
}
.header-bar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,248,232,0.9)),
        linear-gradient(135deg, rgba(255,95,167,0.06), rgba(103,231,204,0.08));
    box-shadow: 0 14px 34px rgba(255, 145, 185, 0.14), 0 10px 24px rgba(82, 94, 153, 0.08);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.brand-badge {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: linear-gradient(145deg, #79c6ff, #8f7cff 52%, #ff77b7 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.08em;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.34), 0 10px 20px rgba(123, 111, 255, 0.26);
    transform: rotate(-4deg);
}
.brand-text strong {
    display: block;
    font-size: clamp(24px, 2vw, 34px);
    line-height: .95;
    letter-spacing: -0.04em;
}
.brand-text em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    color: var(--ink-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}
.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.site-nav a {
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,240,228,0.96));
    box-shadow: inset 0 0 0 1px rgba(29,34,64,0.08), 0 8px 16px rgba(255, 145, 185, 0.12);
    transform: translateY(-1px);
}
.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fff3e8);
    box-shadow: var(--shadow-soft);
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 999px;
}

.section { padding: 32px 0; }
.hero { padding: 22px 0 16px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: stretch; }
.hero-copy,
.hero-card,
.panel,
.feature-card,
.game-card,
.info-card,
.legal-card,
.contact-card,
.frame-card,
.story-card,
.legal-text {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,248,232,0.86));
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}
.hero-copy,
.panel,
.feature-card,
.game-card,
.info-card,
.legal-card,
.contact-card,
.story-card,
.legal-text { outline: 1px solid var(--line); }

.hero-copy {
    padding: 42px;
    overflow: hidden;
}
.hero-copy::before,
.hero-copy::after,
.hero-card::before,
.game-card::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-copy::before {
    width: 180px;
    height: 180px;
    right: -40px;
    top: -24px;
    background: radial-gradient(circle, rgba(255,126,188,0.24), transparent 70%);
}
.hero-copy::after {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(103,231,204,0.22), transparent 70%);
}
.eyebrow,
.chip-row span,
.note-strip span,
.badge-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(29,34,64,0.08);
    box-shadow: 0 4px 12px rgba(255,255,255,0.46) inset;
}
.hero h1,
.page-hero h1 {
    margin: 18px 0 14px;
    line-height: .94;
    letter-spacing: -0.05em;
    font-size: clamp(42px, 6.5vw, 78px);
}
.hero p.lead,
.page-hero p {
    margin: 0 0 24px;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.72;
    color: var(--ink-soft);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px) scale(1.01); }
.button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    box-shadow: 0 12px 26px rgba(255, 109, 157, 0.26), inset 0 1px 0 rgba(255,255,255,0.24);
}
.button--secondary,
.button--ghost,
.button--small {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,245,238,0.96));
    border: 1px solid rgba(29,34,64,0.1);
    box-shadow: var(--shadow-soft);
}
.button--small {
    min-height: 44px;
    padding: 0 18px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.hero-card {
    padding: 18px;
    overflow: hidden;
    transform: rotate(1deg);
}
.hero-card::before {
    width: 170px;
    height: 170px;
    left: -60px;
    bottom: -60px;
    background: radial-gradient(circle, rgba(255,217,90,0.22), transparent 70%);
}
.hero-card__visual {
    min-height: 540px;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.55), rgba(255,255,255,0.16));
    position: relative;
    outline: 1px solid rgba(29,34,64,0.08);
}
.hero-card__visual::after {
    content: "";
    position: absolute;
    inset: 18px auto auto 18px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.72), rgba(255,255,255,0.1));
    box-shadow: 110px 22px 0 -12px rgba(255,255,255,0.18), 52px 350px 0 6px rgba(255,255,255,0.14);
    pointer-events: none;
}
.hero-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-card__float {
    position: absolute;
    inset: auto 18px 18px 18px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(10px);
    outline: 1px solid rgba(29,34,64,0.08);
    box-shadow: var(--shadow-soft);
}
.hero-card__float strong { display: block; font-size: 24px; }
.hero-card__float span { display: block; margin-top: 6px; color: var(--ink-soft); }

.grid-3, .grid-4, .games-grid, .legal-grid, .contact-grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card, .info-card, .game-card, .legal-card, .contact-card, .story-card, .legal-text { padding: 24px; }
.feature-card img.icon,
.info-card img.icon { width: 56px; height: 56px; margin-bottom: 16px; }
.feature-card h3,
.info-card h3,
.game-card h3,
.legal-card h3,
.story-card h3 { margin: 0 0 10px; font-size: 23px; letter-spacing: -0.03em; }
.feature-card p,
.info-card p,
.game-card p,
.legal-card p,
.contact-card p,
.story-card p,
.footer-card p,
.legal-text p,
.legal-text li,
.contact-list li { color: var(--ink-soft); line-height: 1.74; }
.feature-card:nth-child(2n),
.info-card:nth-child(2n),
.game-card:nth-child(2n) { transform: rotate(-.4deg); }
.feature-card:nth-child(2n+1),
.info-card:nth-child(2n+1),
.game-card:nth-child(2n+1) { transform: rotate(.3deg); }
.feature-card:hover,
.info-card:hover,
.game-card:hover,
.story-card:hover { transform: translateY(-4px) rotate(0deg); }

.marquee {
    margin: 10px 0 8px;
    overflow: hidden;
    border-top: 1px dashed rgba(29,34,64,0.14);
    border-bottom: 1px dashed rgba(29,34,64,0.14);
    background: rgba(255,255,255,0.42);
}
.marquee-track {
    display: flex;
    gap: 26px;
    white-space: nowrap;
    animation: ticker 24s linear infinite;
    padding: 13px 0;
}
.marquee-track span { color: var(--ink); font-weight: 800; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.showcase { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: center; }
.showcase-media {
    min-height: 470px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    outline: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,244,232,0.7));
}
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-copy { padding: 32px; }
.panel { padding: 32px; }

.games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}
.game-card::before {
    width: 120px;
    height: 120px;
    right: -34px;
    top: -26px;
    background: radial-gradient(circle, rgba(105,184,255,0.18), transparent 70%);
}
.game-thumb {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1 / .92;
    margin-bottom: 18px;
    background: #fff;
    outline: 1px solid rgba(29,34,64,0.08);
}
.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.05); }
.game-card .meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.game-card .meta span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 159, 69, 0.14);
    color: #cf6b08;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 900;
    white-space: nowrap;
}
.game-card .meta small {
    display: block;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.45;
    text-align: right;
}
.game-card h3 {
    margin-bottom: 10px;
    min-height: 52px;
}
.game-card p {
    margin: 0;
    flex-grow: 1;
}

.page-hero { padding: 28px 0 14px; }
.page-hero__card { padding: 34px; }
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 14px;
}
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.story-card--media { padding: 0; overflow: hidden; }
.story-card--media img { width: 100%; height: 100%; object-fit: cover; }
.bullet-list, .legal-text ul { padding-left: 18px; margin: 0; }
.bullet-list li, .legal-text li { margin-bottom: 10px; }
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-card iframe { min-height: 220px; border-radius: 18px; }
.frame-card { padding: 18px; }
.frame-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.frame-shell {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.9);
    outline: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #fff6ed);
    box-shadow: var(--shadow-soft);
}
.frame-shell iframe { aspect-ratio: 16 / 9; min-height: 70vh; }
.note-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.legal-grid { grid-template-columns: repeat(2, 1fr); }
.legal-text h2 { margin-top: 0; }

.site-footer { padding: 28px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.footer-card {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,245,235,0.9));
    border: 1px solid rgba(255,255,255,0.92);
    outline: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.footer-card__icon img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 10px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-weight: 700; }
.footer-links--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { text-align: center; padding-top: 16px; color: var(--ink-soft); }

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 240, 242, 0.72);
    backdrop-filter: blur(12px);
}
.age-gate.is-visible { display: flex; }
.age-gate__panel {
    width: min(580px, 100%);
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,247,232,0.96));
    border: 1px solid rgba(255,255,255,0.94);
    outline: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    text-align: center;
}
.age-gate__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 80;
    display: none;
}
.cookie-bar.is-visible { display: block; }
.cookie-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.94);
    outline: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cookie-bar__inner p { margin: 0; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 1024px) {
    .hero-grid,
    .showcase,
    .story-grid,
    .contact-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .games-grid,
    .grid-3,
    .legal-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-card { transform: none; }
    .frame-shell iframe { min-height: 58vh; }
}

@media (max-width: 768px) {
    .site-header { padding-top: 10px; }
    .header-bar {
        min-height: 78px;
        border-radius: 28px;
        padding: 12px;
        align-items: center;
    }
    .brand-text strong { font-size: 22px; }
    .brand-text em { letter-spacing: 0.1em; font-size: 11px; }
    .nav-toggle { display: block; flex: 0 0 auto; }
    .site-nav {
        position: absolute;
        left: 17px;
        right: 17px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255,255,255,0.97);
        border: 1px solid rgba(255,255,255,0.96);
        outline: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { width: 100%; }
    .hero-copy,
    .hero-card,
    .panel,
    .feature-card,
    .game-card,
    .legal-text,
    .footer-card,
    .contact-card,
    .story-card,
    .legal-card { padding: 22px; }
    .games-grid,
    .grid-3,
    .grid-4,
    .legal-grid,
    .footer-links--two { grid-template-columns: 1fr; }
    .hero-card__visual { min-height: 420px; }
    .game-card .meta { flex-direction: column; align-items: flex-start; }
    .game-card .meta small { text-align: left; }
    .game-card h3 { min-height: 0; }
    .cookie-bar { bottom: 10px; }
    .cookie-bar__inner { flex-direction: column; align-items: stretch; }
    .frame-shell iframe { min-height: 52vh; }
}

@media (max-width: 480px) {
    .container { width: min(var(--container), calc(100% - 20px)); }
    .hero { padding-top: 12px; }
    .hero h1,
    .page-hero h1 { font-size: 36px; }
    .hero p.lead,
    .page-hero p { font-size: 16px; }
    .brand-badge {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        font-size: 18px;
    }
    .brand { gap: 10px; }
    .brand-text em { font-size: 10px; }
    .hero-copy { padding: 24px; }
    .hero-card__visual { min-height: 360px; }
    .frame-shell iframe { min-height: 46vh; }
}
