@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Merriweather:wght@300;400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --blood-red: #8b0000;
    --light-red: #c41e3a;
    --gray: #4a4a4a;
    --light-gray: #b0b0b0;
}

body {
    font-family: 'Merriweather', serif;
    background: linear-gradient(to bottom, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    color: var(--light-gray);
    line-height: 1.8;
    min-height: 100vh;
}

.header-wrapper {
    background: var(--darker-bg);
    border-bottom: 3px solid var(--blood-red);
    box-shadow: 0 5px 30px rgba(139, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: 'Crimson Text', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--blood-red);
    text-decoration: none;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(139, 0, 0, 0.8);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: 'Crimson Text', serif;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.main-nav a:hover {
    color: var(--light-red);
    border-color: var(--blood-red);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.mobile-toggle span {
    width: 35px;
    height: 3px;
    background: var(--blood-red);
    transition: 0.3s;
}

.page-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-banner {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(13, 13, 13, 0.8) 100%);
    padding: 4rem 3rem;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.4);
}

.page-banner h1 {
    font-family: 'Crimson Text', serif;
    font-size: 3.5rem;
    color: var(--blood-red);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(139, 0, 0, 0.8);
}

.page-banner p {
    font-size: 1.2rem;
    line-height: 2;
}

.content-block {
    background: rgba(26, 26, 26, 0.9);
    padding: 3rem;
    border: 1px solid var(--gray);
    border-left: 5px solid var(--blood-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.content-block h2 {
    font-family: 'Crimson Text', serif;
    color: var(--light-red);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--blood-red);
    padding-bottom: 0.5rem;
}

.content-block h3 {
    font-family: 'Crimson Text', serif;
    color: var(--light-red);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.content-block p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: rgba(26, 26, 26, 0.9);
    padding: 2rem;
    border: 1px solid var(--gray);
    border-top: 4px solid var(--blood-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.sidebar-widget h3 {
    font-family: 'Crimson Text', serif;
    color: var(--blood-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: rgba(139, 0, 0, 0.1);
    border-left: 3px solid var(--blood-red);
    padding-left: 1rem;
}

.sidebar-widget li strong {
    color: var(--light-red);
}

.game-display-area {
    background: var(--darker-bg);
    padding: 3rem;
    border: 3px solid var(--blood-red);
    box-shadow: 0 15px 50px rgba(139, 0, 0, 0.6);
    grid-column: 1 / -1;
}

.game-display-area h2 {
    font-family: 'Crimson Text', serif;
    text-align: center;
    color: var(--blood-red);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(139, 0, 0, 0.8);
}

.game-embed {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
}

.game-embed iframe {
    max-width: 100%;
    border: 2px solid var(--blood-red);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.single-column {
    grid-column: 1 / -1;
}

.page-footer {
    background: var(--darker-bg);
    padding: 4rem 3rem;
    border-top: 3px solid var(--blood-red);
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-wrapper h3 {
    font-family: 'Crimson Text', serif;
    color: var(--blood-red);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-resources {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-resources a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 1rem 2rem;
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid var(--blood-red);
    transition: all 0.3s;
    font-weight: 600;
}

.footer-resources a:hover {
    background: var(--blood-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.footer-secondary {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
}

.footer-secondary a {
    color: var(--light-gray);
    text-decoration: none;
    margin: 0 1.5rem;
    transition: color 0.3s;
}

.footer-secondary a:hover {
    color: var(--light-red);
}

/* Age Modal */
.age-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
}

.age-modal-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 4rem 3rem;
    border: 4px solid var(--blood-red);
    max-width: 600px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(139, 0, 0, 0.8);
    animation: fadeSlideIn 0.5s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal-content h2 {
    font-family: 'Crimson Text', serif;
    color: var(--blood-red);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(139, 0, 0, 0.8);
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.age-modal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-modal-buttons button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: 'Crimson Text', serif;
    font-weight: 700;
    border: 2px solid var(--blood-red);
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-enter {
    background: var(--blood-red);
    color: white;
}

.btn-enter:hover {
    background: var(--light-red);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.7);
}

.btn-exit {
    background: transparent;
    color: var(--light-gray);
}

.btn-exit:hover {
    background: var(--gray);
    color: white;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .game-display-area {
        grid-column: 1;
    }

    .sidebar-column {
        order: 2;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav ul {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background: var(--darker-bg);
        width: 100%;
        padding: 2rem 0;
        transition: 0.3s;
        border-bottom: 3px solid var(--blood-red);
        gap: 0;
    }

    .main-nav ul.active {
        left: 0;
    }

    .main-nav li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .header-content {
        padding: 1.5rem;
    }

    .site-title {
        font-size: 2rem;
    }

    .page-layout {
        padding: 1.5rem;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }

    .content-block {
        padding: 2rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-content h2 {
        font-size: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-buttons button {
        width: 100%;
    }

    .footer-resources {
        flex-direction: column;
        gap: 1rem;
    }
}
