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

:root {
    --arcade-purple: #7b2cbf;
    --pixel-pink: #ff006e;
    --coin-gold: #ffbe0b;
    --joystick-blue: #3a86ff;
    --button-red: #fb5607;
    --screen-green: #8ecae6;
    --ink-dark: #10002b;
    --panel: rgba(16, 0, 43, 0.88);
    --header-h: 72px;
    --r-lg: 18px;
    --r-md: 12px;
    --ease: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden !important;
}

body {
    margin: 0;
    font-family: Poppins, system-ui, sans-serif;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #f8f5ff;
    min-height: 100vh;
    background-color: var(--ink-dark);
    background-image:
        repeating-linear-gradient(
            105deg,
            rgba(123, 44, 191, 0.07) 0,
            rgba(123, 44, 191, 0.07) 1px,
            transparent 1px,
            transparent 14px
        ),
        repeating-linear-gradient(
            -105deg,
            rgba(58, 134, 255, 0.06) 0,
            rgba(58, 134, 255, 0.06) 1px,
            transparent 1px,
            transparent 18px
        ),
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(123, 44, 191, 0.35), transparent 55%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4 {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease), box-shadow var(--ease), transform 0.15s ease;
}

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

ul.u-list-plain {
    list-style: none;
    margin: 0;
    padding: 0;
}

.u-hidden {
    display: none !important;
}

.u-text-center {
    text-align: center;
}

.u-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.u-mt-sm {
    margin-top: 0.75rem;
}

.u-mt-lg {
    margin-top: 2rem;
}

.u-mb-0 {
    margin-bottom: 0;
}

.u-max-w-prose {
    max-width: 42rem;
}

.u-max-w-wide {
    max-width: 1120px;
}

.u-pad-x {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.u-flex {
    display: flex;
}

.u-flex-col {
    flex-direction: column;
}

.u-items-center {
    align-items: center;
}

.u-items-start {
    align-items: flex-start;
}

.u-justify-between {
    justify-content: space-between;
}

.u-gap-sm {
    gap: 0.5rem;
}

.u-gap-md {
    gap: 1rem;
}

.u-gap-lg {
    gap: 1.75rem;
}

.u-wrap {
    flex-wrap: wrap;
}

.width-wrap {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--panel);
    border-bottom: 2px solid rgba(255, 190, 11, 0.25);
    backdrop-filter: blur(10px);
}

.top-bar-inner {
    height: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--coin-gold);
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: #e8e0f5;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--screen-green);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--coin-gold);
    transition: transform var(--ease), opacity var(--ease);
}

.burger.is-active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger.is-active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .burger {
        display: flex;
    }

    .nav-main {
        position: fixed;
        top: calc(var(--header-h) - 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 0;
        background: rgba(16, 0, 43, 0.98);
        border-bottom: 2px solid rgba(255, 190, 11, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--ease), opacity var(--ease);
    }

    .nav-main.is-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        padding: 0.85rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

.cookie-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: 420px;
    margin: 1rem;
    padding: 1rem 1.2rem;
    z-index: 1100;
    border-radius: var(--r-md);
    background: var(--panel);
    border: 2px solid rgba(255, 0, 110, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cookie-bar p {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-bar.is-hidden {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background var(--ease);
}

.btn:focus-visible {
    outline: 2px solid var(--coin-gold);
    outline-offset: 2px;
}

.btn-3d-primary {
    background: linear-gradient(180deg, var(--pixel-pink) 0%, #c9184a 100%);
    color: #fff;
    box-shadow: 0 5px 0 #6a040f, 0 8px 24px rgba(255, 0, 110, 0.35);
}

.btn-3d-primary:hover {
    filter: brightness(1.06);
}

.btn-3d-primary:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #6a040f, 0 4px 12px rgba(255, 0, 110, 0.3);
}

.btn-3d-ghost {
    background: transparent;
    color: var(--screen-green);
    border: 2px solid rgba(142, 202, 230, 0.5);
    box-shadow: 0 3px 0 rgba(58, 134, 255, 0.25);
}

.btn-3d-ghost:hover {
    background: rgba(58, 134, 255, 0.15);
}

.btn-3d-ghost:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(58, 134, 255, 0.2);
}

.btn-play {
    font-size: 1.12rem;
    padding: 0.85rem 2.2rem;
    border-radius: 12px;
}

.hero {
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: 2.5rem;
}

.card-surface {
    background: linear-gradient(160deg, rgba(123, 44, 191, 0.35), rgba(16, 0, 43, 0.75));
    border: 2px solid rgba(255, 190, 11, 0.2);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card-surface--soft {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-showcase {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.game-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.25rem;
    border-radius: 22px;
    border: 3px solid var(--joystick-blue);
    box-shadow: 0 6px 0 rgba(58, 134, 255, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
}

.game-showcase h1 {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    margin: 0 0 0.65rem;
}

.game-description {
    margin: 0 0 1.6rem;
    opacity: 0.92;
}

.features-section {
    padding: 1rem 0 3.5rem;
}

.features-heading {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 34rem;
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    color: var(--coin-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 1.4rem;
    border-radius: var(--r-lg);
}

.feature-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    color: var(--screen-green);
}

.feature-card p {
    margin: 0;
    font-size: 0.96rem;
    opacity: 0.9;
}

.faq-section {
    padding: 1rem 0 3rem;
}

.faq-title {
    text-align: center;
    margin-bottom: 1.75rem;
    color: var(--coin-gold);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    background: none;
    border: none;
    color: #f8f5ff;
    font-family: Poppins, sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    color: var(--coin-gold);
    font-size: 1.2rem;
}

.faq-item.is-active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.is-active .faq-answer {
    max-height: 420px;
}

.faq-answer p {
    margin: 0 0 0.9rem;
    opacity: 0.88;
}

.cta-block {
    padding: 2.5rem 0 4rem;
}

.cta-inner {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--r-lg);
}

.cta-inner h2 {
    margin: 0 0 0.5rem;
}

.cta-inner p {
    margin: 0 0 1.35rem;
    opacity: 0.9;
}

.page-main {
    padding-top: calc(var(--header-h) + 1.75rem);
    padding-bottom: 2.5rem;
}

.page-header h1 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    margin: 0 0 0.5rem;
}

.lead {
    font-size: 1.08rem;
    opacity: 0.9;
    margin: 0;
}

.content-block {
    margin-bottom: 1.5rem;
    padding: 1.35rem 1.4rem;
    border-radius: var(--r-lg);
}

.content-block h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.22rem;
    color: var(--coin-gold);
}

.content-block p,
.content-block li {
    opacity: 0.9;
}

.content-block ul {
    margin: 0.4rem 0 0.8rem;
    padding-left: 1.2rem;
}

.content-block ul li {
    margin-bottom: 0.3rem;
}

.blog-grid {
    display: grid;
    gap: 1.75rem;
    max-width: 900px;
}

.blog-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.35rem;
    align-items: start;
    padding: 1.35rem;
    border-radius: var(--r-lg);
}

@media (max-width: 560px) {
    .blog-card {
        grid-template-columns: 1fr;
    }
}

.blog-card img {
    border-radius: var(--r-md);
    border: 2px solid rgba(255, 190, 11, 0.25);
}

.category-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-dark);
    background: var(--coin-gold);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}

.blog-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.18rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 0.6rem 0 0.9rem;
}

.form-grid {
    display: grid;
    gap: 0.9rem;
    max-width: 500px;
}

.form-grid label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: var(--r-md);
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #f8f5ff;
    font-family: inherit;
    font-size: 1rem;
}

.form-grid input:focus,
.form-grid textarea:focus {
    outline: none;
    border-color: var(--joystick-blue);
}

.form-success {
    display: none;
    padding: 0.7rem 0.95rem;
    border-radius: var(--r-md);
    background: rgba(56, 176, 0, 0.2);
    border: 1px solid rgba(56, 176, 0, 0.45);
    font-weight: 600;
    margin-top: 0.35rem;
}

.site-footer {
    padding: 2.25rem 0 1.75rem;
    border-top: 2px solid rgba(123, 44, 191, 0.35);
    margin-top: 1.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-heading {
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: var(--coin-gold);
    font-size: 0.92rem;
}

.footer-link {
    display: block;
    padding: 0.22rem 0;
    font-size: 0.93rem;
    opacity: 0.85;
}

.footer-link:hover {
    color: var(--screen-green);
}

.footer-bottom {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
    opacity: 0.72;
}

.article-page {
    padding-top: calc(var(--header-h) + 1.75rem);
    padding-bottom: 2.5rem;
}

.article-header h1 {
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    margin: 0 0 0.85rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-size: 0.88rem;
    opacity: 0.78;
}

.article-content section {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    color: var(--coin-gold);
    font-size: 1.25rem;
    margin: 1.75rem 0 0.6rem;
}

.article-content p {
    margin: 0 0 0.9rem;
    opacity: 0.9;
}

.article-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    text-align: center;
}

.article-cta h3 {
    margin: 0 0 0.85rem;
}

.article-footer {
    max-width: 720px;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.article-navigation a:hover {
    color: var(--screen-green);
}

.legal-page .content-block {
    max-width: 800px;
}
