@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B0000;
    --secondary: #DC143C;
    --dark: #1a0000;
    --darker: #0d0000;
    --light: #2a0a0a;
    --accent: #ff4444;
    --text: #e0e0e0;
    --text-dim: #999;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, var(--darker) 0%, var(--dark) 100%);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    display: block;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    background: linear-gradient(180deg, var(--primary) 0%, var(--dark) 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 10px rgba(0,0,0,0.5);
    position: fixed;
    height: 100vh;
    width: 250px;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 0 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.sidebar-logo a {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent);
    display: block;
}

.sidebar-logo .logo-symbol {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav li {
    margin: 0.5rem 0;
}

.sidebar nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    font-weight: 600;
}

.sidebar nav a:hover {
    background: rgba(255,68,68,0.1);
    border-left-color: var(--accent);
    color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    background: var(--primary);
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    padding: 3rem;
}

.page-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.content-card {
    background: var(--light);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.content-card h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-card p {
    margin-bottom: 1.2rem;
    color: var(--text);
}

.content-card ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.content-card ul li {
    margin-bottom: 0.5rem;
}

.warning-banner {
    background: linear-gradient(135deg, #1a0a00 0%, #331100 100%);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 20px rgba(255,68,68,0.3);
}

.warning-banner h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.warning-banner ul {
    list-style: none;
    margin-left: 0;
}

.warning-banner li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.warning-banner li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.game-section {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.game-section iframe {
    width: 100%;
    max-width: 900px;
    height: 650px;
    border: 3px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

footer {
    background: var(--darker);
    border-top: 2px solid var(--primary);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.age-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark) 0%, var(--light) 100%);
    border: 3px solid var(--accent);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 0 40px rgba(255,68,68,0.5);
    position: relative;
    z-index: 100000;
    pointer-events: auto;
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: 2px solid;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.btn-confirm {
    background: var(--primary);
    border-color: var(--accent);
    color: white;
}

.btn-confirm:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.btn-decline {
    background: transparent;
    border-color: var(--text-dim);
    color: var(--text);
}

.btn-decline:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        transition: left 0.3s;
        z-index: 1500;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding: 5rem 1.5rem 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .game-section iframe {
        height: 450px;
    }
}
