@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a2e1a;
    --secondary-dark: #2d3748;
    --accent-amber: #f59e0b;
    --text-light: #e2e8f0;
    --card-bg: #0f1e0f;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #0f1e0f 0%, #1a2e1a 50%, #0a150a 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 280px;
    background: rgba(15, 30, 15, 0.95);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    border-right: 3px solid var(--accent-amber);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.logo-section {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-amber);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
    letter-spacing: 3px;
}

.sidebar nav {
    padding: 2rem 0;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 0.5rem;
}

.sidebar nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar nav ul li a:hover {
    background: rgba(245, 158, 11, 0.15);
    border-left-color: var(--accent-amber);
    padding-left: 2rem;
}

.hamburger-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--accent-amber);
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    transition: 0.3s;
    border-radius: 2px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    padding: 3rem;
    width: 100%;
}

.page-header {
    background: rgba(45, 51, 72, 0.6);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 2px solid var(--accent-amber);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-header p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
}

.content-card {
    background: rgba(45, 51, 72, 0.4);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-amber);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.content-card h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-amber);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.content-card h3 {
    font-family: 'Cinzel', serif;
    color: #fbbf24;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-card p {
    margin-bottom: 1rem;
}

.alert-panel {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border: 2px solid var(--accent-amber);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.alert-panel h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-amber);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.alert-panel ul {
    list-style: none;
}

.alert-panel ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.alert-panel ul li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-amber);
    font-size: 0.8rem;
}

.game-display {
    background: rgba(15, 30, 15, 0.8);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 3px solid var(--accent-amber);
    box-shadow: 0 15px 50px rgba(245, 158, 11, 0.3);
}

.game-display h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    color: var(--accent-amber);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.game-frame {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 10px;
}

.game-frame iframe {
    max-width: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

footer {
    background: rgba(15, 30, 15, 0.95);
    padding: 3rem 2rem;
    border-top: 3px solid var(--accent-amber);
    margin-top: auto;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
}

.footer-container h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-amber);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: rgba(45, 51, 72, 0.5);
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-weight: 600;
}

.footer-links a:hover {
    background: var(--accent-amber);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    margin-top: 2rem;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--accent-amber);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    backdrop-filter: blur(15px);
}

.age-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    max-width: 550px;
    border: 4px solid var(--accent-amber);
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.5);
    animation: modalEntry 0.5s ease-out;
}

@keyframes modalEntry {
    from {
        transform: scale(0.7) rotate(-5deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.age-modal-box h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-amber);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.age-modal-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.age-modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-modal-buttons button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-confirm {
    background: var(--accent-amber);
    color: var(--primary-dark);
}

.btn-confirm:hover {
    background: #fbbf24;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
}

.btn-decline {
    background: #7f1d1d;
    color: var(--text-light);
}

.btn-decline:hover {
    background: #991b1b;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .hamburger-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .content-wrapper {
        padding: 1.5rem;
        padding-top: 5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .age-modal-box {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-box h2 {
        font-size: 1.8rem;
    }

    .age-modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-buttons button {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
