@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Roboto:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --shadow-dark: #0A0A0F;
    --mystical-purple: #6A0572;
    --deep-violet: #AB83A1;
    --blood-red: #8B0000;
    --mystic-glow: #D4ADFC;
    --text-light: #E8E8F0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(ellipse at center, #1a0f1e 0%, var(--shadow-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
}

/* Navigation */
.main-header {
    background: linear-gradient(180deg, rgba(106, 5, 114, 0.3) 0%, rgba(10, 10, 15, 0.9) 100%);
    border-bottom: 1px solid var(--mystical-purple);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.header-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--mystical-purple), var(--mystic-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.site-brand::before {
    content: '✦ ';
}

.site-brand::after {
    content: ' ✦';
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.navigation a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.navigation a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--mystic-glow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navigation a:hover {
    color: var(--mystic-glow);
}

.navigation a:hover::before {
    width: 100%;
}

.nav-hamburger {
    display: none;
    background: none;
    border: 2px solid var(--mystical-purple);
    color: var(--mystic-glow);
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
}

/* Main Content */
.page-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.hero-banner {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(106, 5, 114, 0.2), rgba(171, 131, 161, 0.1));
    border: 1px solid var(--mystical-purple);
    border-radius: 8px;
    margin-bottom: 3rem;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--mystical-purple), var(--mystic-glow), var(--mystical-purple));
    border-radius: 8px;
    opacity: 0.1;
    z-index: -1;
}

.hero-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--mystic-glow);
    text-shadow: 0 0 20px rgba(212, 173, 252, 0.5);
}

.hero-banner p {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.9;
}

.warning-panel {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid var(--blood-red);
    border-radius: 6px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.warning-panel h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--mystic-glow);
    font-size: 2.3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.warning-items {
    list-style: none;
}

.warning-items li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(106, 5, 114, 0.4);
    padding-left: 2.5rem;
    position: relative;
}

.warning-items li:last-child {
    border-bottom: none;
}

.warning-items li::before {
    content: '⚜';
    position: absolute;
    left: 0;
    color: var(--blood-red);
    font-size: 1.5rem;
}

.mystical-card {
    background: rgba(26, 15, 30, 0.8);
    border: 1px solid var(--mystical-purple);
    border-radius: 8px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 32px rgba(106, 5, 114, 0.3);
}

.mystical-card h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--mystic-glow);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mystical-card h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--deep-violet);
    font-size: 1.9rem;
    margin: 2.5rem 0 1.5rem;
}

.mystical-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.9;
}

.mystical-card ul, .mystical-card ol {
    margin: 1.5rem 0 1.5rem 2.5rem;
}

.mystical-card li {
    margin-bottom: 1rem;
}

.game-portal {
    text-align: center;
    margin: 4rem 0;
}

.game-portal h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--mystic-glow);
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 20px rgba(212, 173, 252, 0.4);
}

.portal-frame {
    border: 3px solid var(--mystical-purple);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(106, 5, 114, 0.5), inset 0 0 20px rgba(212, 173, 252, 0.1);
    position: relative;
}

.portal-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--mystical-purple), var(--mystic-glow));
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.portal-frame iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
}

/* Footer */
.dark-footer {
    background: var(--shadow-dark);
    border-top: 1px solid var(--mystical-purple);
    padding: 3rem 0;
    margin-top: 5rem;
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    text-align: center;
}

.footer-resources h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--mystic-glow);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-resources ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-resources a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-resources a:hover {
    color: var(--mystic-glow);
}

/* Age Verification */
.age-veil {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(106, 5, 114, 0.95), rgba(10, 10, 15, 0.98));
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-veil.active {
    display: flex;
}

.age-chamber {
    background: linear-gradient(135deg, rgba(26, 15, 30, 0.95), rgba(10, 10, 15, 0.95));
    border: 3px solid var(--mystical-purple);
    border-radius: 12px;
    padding: 4rem;
    max-width: 550px;
    text-align: center;
    margin: 1rem;
    box-shadow: 0 0 60px rgba(106, 5, 114, 0.6);
    position: relative;
}

.age-chamber::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--mystical-purple), var(--mystic-glow), var(--mystical-purple));
    border-radius: 12px;
    opacity: 0.2;
    z-index: -1;
}

.age-chamber h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--mystic-glow);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(212, 173, 252, 0.5);
}

.age-chamber p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.age-choices {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.age-choice {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    border: 2px solid;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-choice.enter {
    border-color: var(--mystical-purple);
    color: var(--mystic-glow);
}

.age-choice.enter:hover {
    background: var(--mystical-purple);
    color: white;
    box-shadow: 0 0 30px rgba(106, 5, 114, 0.6);
}

.age-choice.leave {
    border-color: #555;
    color: #999;
}

.age-choice.leave:hover {
    background: #333;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: var(--shadow-dark);
        transition: right 0.3s ease;
        padding-top: 5rem;
        border-left: 1px solid var(--mystical-purple);
    }

    .navigation.open {
        right: 0;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .navigation li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(106, 5, 114, 0.3);
        padding: 1.5rem 0;
    }

    .header-content {
        padding: 1rem 1.5rem;
    }

    .site-brand {
        font-size: 2rem;
    }

    .page-content {
        padding: 2rem 1.5rem;
    }

    .hero-banner {
        padding: 3rem 1.5rem;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .hero-banner p {
        font-size: 1.1rem;
    }

    .portal-frame iframe {
        height: 400px;
    }

    .age-choices {
        flex-direction: column;
    }

    .age-choice {
        width: 100%;
    }

    .footer-resources ul {
        flex-direction: column;
        gap: 1.5rem;
    }
}
