@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
    color: #fff;
    min-height: 100vh;
}

header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #00d4ff;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #00ffc8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f2027;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav a {
    padding: 0.7rem 1.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover, nav a.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00ffc8;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 200, 0.15));
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #00ffc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    color: #00ffc8;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.alert-banner {
    background: rgba(255, 87, 87, 0.15);
    border: 2px solid #ff5757;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.alert-banner h3 {
    color: #ff8787;
}

.alert-banner ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.alert-banner li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 2.5rem;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    line-height: 1.8;
    color: #d0d0d0;
}

.content-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 2px solid rgba(0, 212, 255, 0.15);
}

.content-box p {
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

.content-box ul, .content-box ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-box li {
    margin-bottom: 0.7rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.game-section {
    text-align: center;
    margin: 3rem 0;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    border: 3px solid #00d4ff;
    max-width: 950px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    background: #000;
}

footer {
    background: rgba(0, 0, 0, 0.6);
    border-top: 3px solid #00d4ff;
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00ffc8;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #0f2027, #2c5364);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid #00d4ff;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
}

.modal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #d0d0d0;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.modal-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, #00d4ff, #00ffc8);
    color: #0f2027;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.btn-decline {
    background: #ff5757;
    color: white;
}

.btn-decline:hover {
    background: #ff3838;
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 3px solid #00d4ff;
    }
    
    nav.mobile-open {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-banner {
        padding: 2rem 1.5rem;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 500px;
    }
}