@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blood-red: #8B0000;
    --gothic-purple: #4B0082;
    --dark-purple: #2B0040;
    --midnight: #0D0015;
    --shadow-grey: #1a1a1a;
    --pale-pink: #FFE4F0;
    --crimson: #DC143C;
}

body {
    font-family: 'Cinzel', serif;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--dark-purple) 50%, var(--midnight) 100%);
    background-attachment: fixed;
    color: var(--pale-pink);
    line-height: 1.8;
    min-height: 100vh;
}

/* Ornate Border Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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: 0;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--gothic-purple) 50%, var(--blood-red) 100%);
    padding: 2rem 3rem;
    border-bottom: 4px solid var(--crimson);
    box-shadow: 0 10px 50px rgba(139, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    color: var(--pale-pink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    letter-spacing: 6px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.8), 0 0 60px rgba(75, 0, 130, 0.6);
}

.logo-emblem {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--blood-red) 0%, var(--gothic-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 4px solid var(--crimson);
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.6);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(220, 20, 60, 0.6); }
    50% { box-shadow: 0 0 60px rgba(220, 20, 60, 0.9); }
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

nav a {
    color: var(--pale-pink);
    text-decoration: none;
    font-weight: 700;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 3px;
    border: 2px solid transparent;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--crimson);
    border-bottom: 2px solid var(--crimson);
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.8);
}

/* Mobile Menu */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.menu-btn span {
    width: 35px;
    height: 4px;
    background: var(--crimson);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

/* Main Wrapper */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(43, 0, 64, 0.8) 0%, rgba(139, 0, 0, 0.6) 100%);
    border: 4px solid var(--blood-red);
    margin-bottom: 4rem;
    box-shadow: 0 15px 60px rgba(139, 0, 0, 0.5);
    position: relative;
}

.hero::before {
    content: '◆';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--crimson);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--pale-pink);
    letter-spacing: 12px;
    text-shadow: 0 0 40px rgba(220, 20, 60, 0.8);
    text-transform: uppercase;
}

.hero p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

/* Content Section */
.content {
    background: rgba(26, 26, 26, 0.8);
    padding: 4rem;
    margin-bottom: 3rem;
    border: 3px solid var(--blood-red);
    box-shadow: 0 10px 50px rgba(139, 0, 0, 0.4);
    position: relative;
}

.content::before,
.content::after {
    content: '❦';
    position: absolute;
    font-size: 2rem;
    color: var(--crimson);
    opacity: 0.5;
}

.content::before {
    top: 20px;
    left: 20px;
}

.content::after {
    bottom: 20px;
    right: 20px;
}

.content h2 {
    color: var(--crimson);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 6px;
    text-shadow: 0 0 25px rgba(220, 20, 60, 0.7);
    text-transform: uppercase;
}

.content h3 {
    color: var(--gothic-purple);
    font-size: 2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Notice Grid */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.notice {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(75, 0, 130, 0.3) 100%);
    padding: 3rem;
    border: 3px solid var(--blood-red);
    text-align: center;
    transition: all 0.3s ease;
}

.notice:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.5);
}

.notice h3 {
    margin-top: 0;
    font-size: 1.6rem;
    color: var(--crimson);
    text-align: center;
}

.notice p {
    margin: 0;
    font-size: 1.1rem;
}

/* Game Section */
.game-section {
    background: rgba(26, 26, 26, 0.9);
    padding: 4rem;
    margin: 4rem 0;
    border: 4px solid var(--crimson);
    box-shadow: 0 15px 70px rgba(220, 20, 60, 0.6);
    text-align: center;
}

.game-section h2 {
    color: var(--crimson);
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.8);
    text-transform: uppercase;
}

.game-section iframe {
    width: 100%;
    max-width: 1100px;
    height: 750px;
    border: 4px solid var(--blood-red);
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--dark-purple) 100%);
    padding: 5rem 2rem 3rem;
    margin-top: 6rem;
    border-top: 4px solid var(--blood-red);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--crimson);
    letter-spacing: 6px;
    text-shadow: 0 0 25px rgba(220, 20, 60, 0.7);
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0 4rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--pale-pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border: 3px solid var(--blood-red);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-links a:hover {
    background: var(--blood-red);
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.7);
}

/* Age Gate */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 0, 21, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-gate.show {
    display: flex;
}

.age-gate-content {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--midnight) 100%);
    padding: 5rem 4rem;
    max-width: 700px;
    text-align: center;
    border: 5px solid var(--crimson);
    box-shadow: 0 20px 100px rgba(220, 20, 60, 0.8);
}

.age-gate-content h2 {
    color: var(--crimson);
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(220, 20, 60, 0.9);
    text-transform: uppercase;
}

.age-gate-content p {
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.age-buttons button {
    flex: 1;
    padding: 1.5rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.btn-enter {
    background: var(--blood-red);
    color: white;
    border: 4px solid var(--crimson);
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.8);
}

.btn-exit {
    background: rgba(255, 255, 255, 0.1);
    color: #777;
    border: 4px solid #444;
}

.btn-exit:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Lists */
ul {
    padding-left: 2.5rem;
    margin: 2rem 0;
}

li {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 968px) {
    .menu-btn {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: linear-gradient(135deg, var(--midnight) 0%, var(--gothic-purple) 100%);
        padding: 7rem 2rem 3rem;
        transition: right 0.3s ease;
        z-index: 9999;
        border-left: 4px solid var(--crimson);
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        padding: 1.5rem;
        font-size: 1.3rem;
        border-bottom: 2px solid rgba(220, 20, 60, 0.3);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .content {
        padding: 2.5rem;
    }

    .notices {
        grid-template-columns: 1fr;
    }

    .game-section iframe {
        height: 550px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}
