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

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

:root {
    --primary: #ff1493;
    --secondary: #00bfff;
    --accent: #ffd700;
    --success: #00ff7f;
    --bg-light: #fff5f8;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --gradient: linear-gradient(135deg, #ff1493, #ff6b6b, #ffa500, #ffd700);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Container */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
header {
    background: var(--bg-white);
    padding: 1.3rem 0;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

nav ul li a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Main Content */
main {
    padding: 3.5rem 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 3.5rem;
}

.main-heading {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sub-heading {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.card ul {
    margin: 1rem 0 1.5rem 2rem;
    color: var(--text-dark);
}

/* Alert Cards */
.alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.alert-card {
    background: linear-gradient(135deg, #fff, #fffaf0);
    border: 3px solid var(--accent);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.alert-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
}

.alert-card p {
    margin: 0;
    color: var(--text-dark);
}

/* Game Wrapper */
.game-wrapper {
    background: linear-gradient(135deg, #e0f7ff, #ffe6f0);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.2);
}

.game-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    background: white;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
}

.footer-inner {
    text-align: center;
}

.footer-inner h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

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

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--primary);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* Age Verification */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 20, 147, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.visible {
    display: flex;
}

.age-box {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 30px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-box h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.age-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-buttons button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: 'Fredoka One', cursive;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: var(--gradient);
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.btn-reject {
    background: #e0e0e0;
    color: var(--text-dark);
}

.btn-reject:hover {
    background: #c0c0c0;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-white);
        transition: 0.4s;
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li a {
        display: block;
        padding: 1.5rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .brand-logo {
        font-size: 2rem;
    }

    .main-heading {
        font-size: 2.8rem;
    }

    .sub-heading {
        font-size: 1.2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .age-box {
        margin: 1.5rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .card {
        padding: 2rem;
    }
}
