@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #DC2626;
    --secondary: #FBBF24;
    --dark: #18181B;
    --light: #FAFAF9;
    --gray: #A1A1AA;
    --accent: #F59E0B;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--dark);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-logo {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-box {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
}

.logo-text {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.sidebar-nav {
    padding: 2rem 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    border-left-color: var(--primary);
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--dark);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

.main-content {
    flex: 1;
    margin-left: 280px;
}

.top-banner {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.top-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.top-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-area {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section-block {
    margin-bottom: 4rem;
}

.section-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-block p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #52525B;
}

.alert-panel {
    background: #FEF3C7;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.alert-panel h3 {
    color: #92400E;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.alert-panel ul {
    list-style: none;
}

.alert-panel li {
    padding: 0.7rem 0;
    color: #78350F;
    font-weight: 500;
}

.alert-panel li::before {
    content: "🔔 ";
    margin-right: 0.8rem;
}

.game-frame-wrapper {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 3rem 0;
}

.game-frame-wrapper h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-frame-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.site-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-resources {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.footer-resources a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-resources a:hover {
    color: white;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate.hidden {
    display: none;
}

.age-gate-box {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    margin: 1rem;
}

.age-gate-box h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.age-gate-box p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.age-btn.confirm {
    background: var(--primary);
    color: white;
}

.age-btn.deny {
    background: #71717A;
    color: white;
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .top-banner h1 {
        font-size: 2.2rem;
    }
    
    .top-banner p {
        font-size: 1rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame-wrapper iframe {
        height: 450px;
    }
}

@media (max-width: 640px) {
    .age-actions {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
}
