@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Montserrat:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blood-red: #8b0000;
    --ghost-white: #f8f8ff;
    --shadow-black: #0a0a0a;
    --mist-gray: #2a2a2a;
    --bone-beige: #e8dcc0;
    --ember-orange: #ff4500;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #1a0a0a, #0a0a0a);
    color: var(--ghost-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 0, 0, 0.03) 2px,
            rgba(139, 0, 0, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

/* Top Navigation Bar */
.top-bar {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 3px solid var(--blood-red);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Creepster', cursive;
    font-size: 42px;
    color: var(--blood-red);
    text-decoration: none;
    text-shadow: 0 0 10px var(--blood-red), 0 0 20px rgba(139, 0, 0, 0.5);
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.site-logo:hover {
    text-shadow: 0 0 20px var(--blood-red), 0 0 40px rgba(139, 0, 0, 0.8);
    transform: scale(1.05);
}

.site-tagline {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--bone-beige);
    margin-top: 5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    color: var(--bone-beige);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blood-red);
    border-bottom-color: var(--blood-red);
}

/* Hamburger for Mobile */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-btn div {
    width: 30px;
    height: 3px;
    background: var(--blood-red);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    border-left: 3px solid var(--blood-red);
    padding: 100px 40px 40px 40px;
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    color: var(--bone-beige);
    text-decoration: none;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--mist-gray);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--blood-red);
    padding-left: 15px;
}

/* Main Content Container */
.content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h1 {
    font-family: 'Creepster', cursive;
    font-size: 72px;
    color: var(--blood-red);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.8);
    letter-spacing: 4px;
}

.page-title p {
    font-size: 20px;
    color: var(--bone-beige);
    opacity: 0.8;
}

/* Content Blocks */
.content-block {
    background: rgba(42, 42, 42, 0.6);
    border: 2px solid var(--blood-red);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(139, 0, 0, 0.1);
}

.content-block h2 {
    font-family: 'Creepster', cursive;
    font-size: 42px;
    color: var(--ember-orange);
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.content-block h3 {
    font-family: 'Creepster', cursive;
    font-size: 28px;
    color: var(--blood-red);
    margin: 30px 0 15px 0;
}

.content-block p {
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--bone-beige);
}

.content-block ul,
.content-block ol {
    padding-left: 35px;
    margin-bottom: 20px;
    color: var(--bone-beige);
}

.content-block li {
    margin: 12px 0;
    line-height: 1.7;
}

/* Warning Boxes */
.warning-panel {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid var(--blood-red);
    border-left-width: 6px;
    padding: 25px;
    margin: 25px 0;
    border-radius: 5px;
}

.warning-panel.info {
    background: rgba(255, 69, 0, 0.2);
    border-color: var(--ember-orange);
}

.warning-panel h3 {
    color: var(--blood-red);
    margin: 0 0 15px 0;
    font-family: 'Creepster', cursive;
}

.warning-panel.info h3 {
    color: var(--ember-orange);
}

/* Feature Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(10, 10, 10, 0.8));
    border: 2px solid var(--blood-red);
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-family: 'Creepster', cursive;
    color: var(--ember-orange);
    font-size: 26px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--bone-beige);
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Game Frame */
.game-frame {
    background: rgba(10, 10, 10, 0.9);
    border: 3px solid var(--blood-red);
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.5);
}

.game-frame iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

/* Footer */
.site-footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 3px solid var(--blood-red);
    padding: 50px 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Creepster', cursive;
    color: var(--ember-orange);
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--bone-beige);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blood-red);
}

/* Age Gate Modal */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-gate.visible {
    display: flex;
}

.age-gate-box {
    background: linear-gradient(135deg, #1a0a0a, #0a0a0a);
    border: 4px solid var(--blood-red);
    border-radius: 15px;
    padding: 60px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 60px rgba(139, 0, 0, 0.7);
    position: relative;
}

.age-gate-box::before {
    content: '?';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 60px;
    color: var(--blood-red);
}

.age-gate-box h2 {
    font-family: 'Creepster', cursive;
    font-size: 48px;
    color: var(--blood-red);
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.8);
}

.age-gate-box p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--bone-beige);
}

.age-gate-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.age-gate-btn {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: 3px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.age-gate-btn.accept {
    background: var(--blood-red);
    border-color: var(--blood-red);
    color: white;
}

.age-gate-btn.accept:hover {
    background: transparent;
    color: var(--blood-red);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.5);
}

.age-gate-btn.decline {
    background: transparent;
    border-color: var(--mist-gray);
    color: var(--mist-gray);
}

.age-gate-btn.decline:hover {
    border-color: var(--ghost-white);
    color: var(--ghost-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .nav-container {
        padding: 0 20px;
    }

    .site-logo {
        font-size: 32px;
    }

    .content-wrapper {
        padding: 40px 20px;
    }

    .page-title h1 {
        font-size: 48px;
    }

    .content-block {
        padding: 25px;
    }

    .game-frame iframe {
        height: 500px;
    }

    .age-gate-box {
        padding: 40px 25px;
        margin: 20px;
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
