@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --secondary: #0066ff;
    --dark: #0a1128;
    --card: #1a2332;
    --accent: #ff6b35;
    --light: #f0f4f8;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(26, 35, 50, 0.98);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -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;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 102, 255, 0.1));
    border: 2px solid var(--accent);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.notice-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.notice-section ul {
    list-style: none;
    padding-left: 0;
}

.notice-section li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.notice-section li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.3rem;
}

.game-section {
    background: var(--card);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.game-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.game-section iframe {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.content-section {
    background: var(--card);
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary);
}

.content-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: var(--card);
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s;
}

.footer-links a:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: var(--card);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.age-modal-content h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-modal-buttons button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: var(--primary);
    color: var(--dark);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
}

.btn-no {
    background: var(--accent);
    color: white;
}

.btn-no:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--card);
        transition: right 0.3s;
        padding-top: 80px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem;
    }

    nav li {
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .game-section iframe {
        height: 400px;
    }

    .content-section {
        padding: 2rem;
    }
}
