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

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

:root {
    --primary: #ff4d6d;
    --secondary: #2d1b4e;
    --accent: #c9184a;
    --dark: #1a0d2e;
    --light: #f8f0fc;
    --gradient: linear-gradient(135deg, #ff4d6d 0%, #9c27b0 100%);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    min-height: 100vh;
}

.header {
    background: rgba(45, 27, 78, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
}

.logo svg {
    width: 42px;
    height: 42px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: 0.3s;
}

.nav-menu a:hover {
    background: var(--primary);
}

main {
    padding-top: 80px;
}

.hero {
    background: var(--gradient);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-wrapper {
    background: var(--secondary);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(255, 77, 109, 0.2);
}

.game-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(145deg, var(--secondary), var(--dark));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 109, 0.3);
    transition: transform 0.3s;
}

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

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-block {
    background: var(--secondary);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-block p {
    margin-bottom: 1rem;
}

.content-block ul {
    margin: 1rem 0 1rem 2rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

footer {
    background: var(--secondary);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 2px solid var(--primary);
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 1rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--light);
}

.responsible-gaming {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 77, 109, 0.3);
}

.responsible-gaming a {
    color: var(--light);
    opacity: 0.7;
    text-decoration: none;
    font-size: 0.9rem;
}

.responsible-gaming a:hover {
    opacity: 1;
    color: var(--primary);
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 13, 46, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: var(--secondary);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    border: 2px solid var(--primary);
    box-shadow: 0 0 50px rgba(255, 77, 109, 0.4);
}

.age-popup h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-popup p {
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

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

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 77, 109, 0.5);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-no:hover {
    background: var(--primary);
    color: white;
}

.page-header {
    background: var(--gradient);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        display: none;
        border-bottom: 2px solid var(--primary);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .game-wrapper {
        padding: 1rem;
    }
    
    .age-popup-content {
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
