@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400&display=swap');

:root {
    --primary: #8b5cf6;
    --secondary: #06b6d4;
    --dark: #1e1b4b;
    --light: #f0f9ff;
    --accent: #c084fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, #312e81 100%);
    color: var(--light);
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(30, 27, 75, 0.95);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: 0.3s;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    text-shadow: 0 0 30px rgba(192, 132, 252, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.game-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-container h2 {
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    color: var(--accent);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: #000;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    padding-left: 1rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.notice-banner {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.notice-banner h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

footer {
    background: rgba(30, 27, 75, 0.95);
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(192, 132, 252, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark), #312e81);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(192, 132, 252, 0.5);
}

.age-modal h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.age-modal p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: var(--secondary);
    color: white;
}

.btn-yes:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.btn-no {
    background: #dc2626;
    color: white;
}

.btn-no:hover {
    background: #b91c1c;
}

.content-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1rem;
}

.content-section h3 {
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(30, 27, 75, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s;
    }
    
    nav ul.active {
        left: 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-frame {
        height: 400px;
    }
}
