@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --teal-900: #042f2e;
    --teal-800: #115e59;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --white: #ffffff;
    --gray-100: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--teal-900) 100%);
    color: var(--gray-100);
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

a {
    color: var(--emerald-400);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--white);
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.top-bar-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: var(--emerald-600);
    border-radius: 8px;
    display: grid;
    place-items: center;
    position: relative;
}

.logo-mark::after {
    content: 'A';
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-400);
}

.desktop-nav {
    display: flex;
    gap: 1rem;
}

.desktop-nav a {
    color: var(--gray-100);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.desktop-nav a:hover {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-400);
}

.burger {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    height: 3px;
    background: var(--emerald-400);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--slate-900);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--gray-100);
}

.main-wrapper {
    padding-top: 80px;
}

.intro-block {
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.intro-block h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--white);
    margin-bottom: 1.25rem;
}

.intro-block h1 span {
    color: var(--emerald-400);
}

.intro-block p {
    max-width: 720px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.85;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
}

.tag {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-400);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-embed {
    background: var(--slate-800);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.game-embed iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
}

.cards-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.info-card .ico {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--emerald-400);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.details-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.details-section h2 {
    text-align: center;
    color: var(--emerald-400);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.detail-block {
    background: rgba(30, 41, 59, 0.5);
    border-left: 3px solid var(--emerald-500);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
}

.detail-block h3 {
    color: var(--emerald-400);
    margin-bottom: 0.5rem;
}

.static-page {
    padding: 6rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.static-page h1 {
    color: var(--emerald-400);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.static-page h2 {
    color: var(--emerald-500);
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}

.static-page p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.static-page ul {
    margin: 0.75rem 0 1rem 1.5rem;
}

.static-page li {
    margin-bottom: 0.4rem;
}

.play-view {
    padding: 5rem 2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.play-view h1 {
    text-align: center;
    color: var(--emerald-400);
    margin-bottom: 0.75rem;
}

.play-view > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.85;
}

.bottom-bar {
    background: var(--slate-800);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    margin-top: 4rem;
}

.bottom-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.help-links a {
    color: var(--gray-100);
    opacity: 0.75;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.help-links a:hover {
    opacity: 1;
    color: var(--emerald-400);
}

.disclaimer-line {
    font-size: 0.85rem;
    opacity: 0.5;
}

.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.age-screen.gone {
    display: none;
}

.age-dialog {
    background: var(--slate-800);
    border: 2px solid var(--emerald-500);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 420px;
}

.age-dialog h2 {
    color: var(--emerald-400);
    margin-bottom: 1rem;
}

.age-dialog p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.age-btns {
    display: flex;
    gap: 0.75rem;
}

.btn-yes {
    flex: 1;
    background: var(--emerald-600);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-yes:hover {
    background: var(--emerald-500);
}

.btn-no {
    flex: 1;
    background: transparent;
    color: var(--gray-100);
    border: 1px solid var(--gray-100);
    padding: 0.875rem;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .top-bar-inner {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .intro-block {
        padding: 3rem 1rem 2rem;
    }

    .game-embed iframe {
        height: 450px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .tags-row {
        flex-direction: column;
        align-items: center;
    }

    .static-page {
        padding: 5rem 1rem 3rem;
    }

    .age-dialog {
        padding: 2rem;
    }

    .age-btns {
        flex-direction: column;
    }
}
