@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff006e;
    --secondary-color: #8338ec;
    --accent-color: #fb5607;
    --light-accent: #ffbe0b;
    --bg-dark: #120c18;
    --bg-medium: #1e1428;
    --bg-light: #2a1f3d;
    --text-light: #f8f9fa;
    --text-gray: #b8b8b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-medium));
    color: var(--text-light);
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(30, 20, 40, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(255, 0, 110, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Righteous', cursive;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px var(--primary-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.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 80%;
}

nav a:hover {
    color: var(--light-accent);
    background: rgba(255, 0, 110, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(131, 56, 236, 0.15));
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 3rem;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

h1 {
    font-family: 'Righteous', cursive;
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Righteous', cursive;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-medium), var(--bg-light));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 110, 0.3);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Content Sections */
.content-section {
    background: var(--bg-medium);
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-color);
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Game Container */
.game-section {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-dark));
    padding: 3rem;
    border-radius: 25px;
    margin: 3rem 0;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(131, 56, 236, 0.4);
}

.game-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.game-section iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Footer */
footer {
    background: var(--bg-medium);
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)) 1;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-family: 'Righteous', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--light-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 0, 110, 0.1);
    transform: scale(1.05);
}

.footer-note {
    color: var(--text-gray);
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 12, 24, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--bg-medium), var(--bg-dark));
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 30px 80px rgba(255, 0, 110, 0.6);
}

.age-modal-content h2 {
    margin-bottom: 2rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Righteous', cursive;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.age-btn.yes:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.5);
}

.age-btn.no {
    background: #444;
    color: white;
}

.age-btn.no:hover {
    background: #555;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 90px);
        background: rgba(30, 20, 40, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.3rem;
        display: block;
        padding: 1rem;
    }

    .logo {
        font-size: 2rem;
    }

    .logo-emoji {
        font-size: 2.2rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .game-section {
        padding: 1.5rem;
    }

    .game-section 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;
    }
}
