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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a0a2e;
    --primary-purple: #3d1a78;
    --accent-gold: #d4a017;
    --accent-light: #f0e68c;
    --text-white: #ffffff;
    --text-muted: #b8b8d1;
    --card-bg: #2a1052;
    --border-glow: #7b3fe4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0d0515 100%);
    color: var(--text-white);
    min-height: 100vh;
    line-height: 1.7;
}

.site-header {
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-glow);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
}

.logo svg {
    width: 42px;
    height: 42px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.hero-section {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(123, 63, 228, 0.2) 0%, transparent 60%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--text-white), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-light);
}

.game-section {
    padding: 3rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(42, 16, 82, 0.5) 50%, transparent 100%);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 60px rgba(123, 63, 228, 0.4);
    border: 2px solid var(--border-glow);
}

.game-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.features-section {
    padding: 4rem 2rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(123, 63, 228, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(123, 63, 228, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-section {
    padding: 4rem 2rem;
    background: var(--card-bg);
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
}

.info-content h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.info-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.notice-box {
    background: rgba(212, 160, 23, 0.15);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.notice-box h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.notice-box p {
    color: var(--text-white);
    margin: 0;
}

.content-section {
    padding: 6rem 2rem 4rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-glow);
}

.content-wrapper h2 {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin: 2rem 0 1rem;
}

.content-wrapper p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.content-wrapper ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
}

.content-wrapper ul li::before {
    content: '◆';
    position: absolute;
    left: -1.5rem;
    color: var(--accent-gold);
}

.site-footer {
    background: rgba(26, 10, 46, 0.95);
    border-top: 1px solid var(--border-glow);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.responsible-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: var(--accent-gold);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: var(--card-bg);
    border: 2px solid var(--border-glow);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 100%;
}

.age-modal-content h2 {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.age-btn-yes {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-light));
    color: var(--primary-dark);
}

.age-btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 160, 23, 0.4);
}

.age-btn-no {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.age-btn-no:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-glow);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-nav a {
        font-size: 1.1rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper iframe {
        height: 450px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .badge-row {
        gap: 0.5rem;
    }

    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .responsible-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-content {
        padding: 2rem 1.5rem;
    }

    .age-btn {
        padding: 0.8rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .content-wrapper h1 {
        font-size: 1.8rem;
    }
}
