@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Work+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #d4af37;
    --secondary-color: #4a148c;
    --accent-color: #ffd700;
    --dark-bg: #0d0d0d;
    --medium-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-light: #e8e8e8;
    --text-muted: #9e9e9e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: radial-gradient(ellipse at center, var(--medium-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    min-height: 100vh;
}

/* Mysterious particles background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(74, 20, 140, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(212, 175, 55, 0.3), transparent);
    background-size: 200% 200%;
    animation: particles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particles {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Header */
header {
    background: rgba(26, 26, 46, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-symbol {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Main Content */
main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Card */
.hero-card {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.4), rgba(26, 26, 46, 0.6));
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
}

h1 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

h2 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
    color: var(--text-muted);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(26, 26, 46, 0.7);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.card-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
    background: rgba(26, 26, 46, 0.6);
    padding: 3rem;
    border-radius: 20px;
    margin: 2.5rem 0;
    border-left: 5px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 1rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Game Container */
.game-container {
    background: linear-gradient(135deg, rgba(74, 20, 140, 0.5), rgba(13, 13, 13, 0.8));
    padding: 3rem;
    border-radius: 25px;
    margin: 3rem 0;
    border: 3px solid var(--primary-color);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.4);
}

.game-container h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.95);
    padding: 4rem 2rem;
    margin-top: 5rem;
    border-top: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-text {
    color: var(--text-muted);
    margin-top: 2rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--medium-bg), var(--dark-bg));
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.5);
}

.age-modal-content h2 {
    margin-bottom: 2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Rubik Mono One', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--dark-bg);
}

.age-btn.yes:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.age-btn.no {
    background: #444;
    color: white;
}

.age-btn.no:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.3rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .logo-symbol {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-card {
        padding: 2.5rem 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-container {
        padding: 1.5rem;
    }

    .game-container iframe {
        height: 500px;
    }

    .content-section {
        padding: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
