@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    color: #2d3436;
    min-height: 100vh;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #667eea;
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '🎮';
    font-size: 2rem;
    -webkit-text-fill-color: initial;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #2d3436;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* Main Content */
main {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.hero {
    background: white;
    border-radius: 30px;
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    z-index: -1;
}

.hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.notice-box {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 35px rgba(255, 193, 7, 0.3);
    border: 3px solid #ffc107;
}

.notice-box h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: #f57c00;
    margin-bottom: 1.5rem;
    text-align: center;
}

.notice-box ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.notice-box li {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.notice-box li:hover {
    transform: translateY(-3px);
}

.content-section {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.6rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.content-section p {
    font-size: 1.1rem;
    color: #636e72;
    line-height: 1.9;
    margin-bottom: 1.3rem;
}

.game-container {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.12);
    border: 3px solid #667eea;
}

.game-container h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.game-container iframe {
    border: none;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    height: 610px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: white;
}

.game-container p {
    margin-top: 1.5rem;
    color: #636e72;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.9rem;
    color: #2d3436;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

.footer-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.05);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 4px solid transparent;
    background-clip: padding-box;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    z-index: -1;
}

.age-modal-content::after {
    content: '🎲';
    font-size: 4rem;
    display: block;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

.age-modal-content h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    margin-top: 2rem;
}

.age-modal-content p {
    font-size: 1.15rem;
    color: #636e72;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.age-btn.yes {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.age-btn.yes:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.6);
}

.age-btn.no {
    background: #e0e0e0;
    color: #636e72;
}

.age-btn.no:hover {
    background: #d0d0d0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        transition: right 0.3s ease;
        padding: 5rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .hero {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .content-section {
        padding: 2rem;
    }

    .content-section h2 {
        font-size: 2.2rem;
    }

    .game-container {
        padding: 2rem 1rem;
    }

    .game-container iframe {
        height: 450px;
    }

    .age-modal-content {
        padding: 3rem 2rem;
        margin: 1rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .notice-box ul {
        flex-direction: column;
        align-items: stretch;
    }
}