/* Hellthorn - Gothic Theme with Top Navigation */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blood-red: #8b0000;
    --dark-red: #4a0000;
    --deep-black: #0d0d0d;
    --charcoal: #1a1a1a;
    --stone-gray: #2d2d2d;
    --parchment: #e8dcc8;
    --pale-text: #c9c9c9;
    --gold-accent: #d4af37;
}

body {
    font-family: 'Crimson Text', serif;
    background: var(--deep-black);
    color: var(--parchment);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.site-header {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--stone-gray) 100%);
    border-bottom: 3px solid var(--blood-red);
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--pale-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blood-red);
    transition: width 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--blood-red);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--blood-red);
    transition: all 0.3s ease;
}

/* Main Content */
.page-content {
    min-height: 100vh;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
    padding: 100px 40px;
    text-align: center;
    border-bottom: 2px solid var(--blood-red);
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--blood-red);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-size: 24px;
    color: var(--parchment);
    font-style: italic;
    margin-bottom: 30px;
}

.decorative-line {
    font-size: 24px;
    color: var(--gold-accent);
    letter-spacing: 20px;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Intro Section */
.intro-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--blood-red);
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.9;
    text-align: center;
    margin-bottom: 60px;
    color: var(--pale-text);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.pillar-card {
    background: var(--charcoal);
    padding: 40px;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4);
    border-color: var(--gold-accent);
}

.pillar-icon {
    font-size: 64px;
    margin-bottom: 25px;
}

.pillar-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--blood-red);
    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 18px;
    color: var(--pale-text);
    line-height: 1.7;
}

/* Warning Section */
.warning-section {
    background: var(--stone-gray);
    border-top: 3px solid var(--blood-red);
    border-bottom: 3px solid var(--blood-red);
}

.warning-banner {
    background: var(--charcoal);
    border: 3px solid var(--gold-accent);
    border-radius: 10px;
    padding: 40px;
}

.warning-banner h3 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--gold-accent);
    margin-bottom: 30px;
    text-align: center;
}

.warning-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.warning-item {
    padding: 20px;
    background: rgba(139, 0, 0, 0.1);
    border-left: 4px solid var(--blood-red);
}

.warning-item strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--blood-red);
    margin-bottom: 10px;
}

.warning-item p {
    font-size: 18px;
    color: var(--pale-text);
    margin: 0;
}

/* Game Showcase */
.game-showcase {
    background: var(--deep-black);
}

.game-showcase h2 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--blood-red);
    text-align: center;
    margin-bottom: 25px;
}

.game-description {
    font-size: 20px;
    text-align: center;
    color: var(--pale-text);
    margin-bottom: 40px;
}

.game-frame-wrapper {
    background: var(--charcoal);
    padding: 30px;
    border: 3px solid var(--blood-red);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.3);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border-radius: 10px;
    background: #000;
}

.game-note {
    text-align: center;
    font-size: 18px;
    color: var(--gold-accent);
    margin-top: 25px;
}

/* Lore Section */
.lore-section {
    background: var(--charcoal);
}

.lore-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.lore-block {
    background: var(--stone-gray);
    padding: 35px;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
}

.lore-block h3 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--blood-red);
    margin-bottom: 20px;
}

.lore-block p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--pale-text);
}

/* Page Title */
.page-title {
    text-align: center;
    padding: 60px 40px 40px;
    background: var(--charcoal);
    border-bottom: 2px solid var(--blood-red);
}

.page-title h1 {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    color: var(--blood-red);
    margin-bottom: 15px;
}

.subtitle {
    font-size: 22px;
    color: var(--pale-text);
    font-style: italic;
}

.date-notice {
    font-size: 16px;
    color: var(--gold-accent);
    margin-top: 10px;
}

/* Play Page */
.play-instructions {
    background: var(--stone-gray);
}

.instruction-banner {
    background: var(--charcoal);
    padding: 30px;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
}

.instruction-banner p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.instruction-banner p:last-child {
    margin-bottom: 0;
}

.game-play-area {
    background: var(--deep-black);
}

.game-container-play {
    background: var(--charcoal);
    padding: 30px;
    border: 3px solid var(--blood-red);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.3);
}

.game-iframe-play {
    width: 100%;
    height: 750px;
    border-radius: 10px;
    background: #000;
}

.guidance-section {
    background: var(--charcoal);
}

.guidance-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--blood-red);
    text-align: center;
    margin-bottom: 40px;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.guidance-card {
    background: var(--stone-gray);
    padding: 30px;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
}

.guidance-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--blood-red);
    margin-bottom: 15px;
}

.guidance-card p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--pale-text);
}

/* Legal Document */
.legal-document {
    background: var(--deep-black);
}

.terms-article {
    background: var(--charcoal);
    padding: 50px;
    border: 2px solid var(--blood-red);
    border-radius: 10px;
}

.terms-article h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--blood-red);
    margin-top: 40px;
    margin-bottom: 20px;
}

.terms-article h2:first-child {
    margin-top: 0;
}

.terms-article h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--gold-accent);
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-article p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--pale-text);
}

.terms-article ul {
    margin: 20px 0 20px 30px;
}

.terms-article li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--pale-text);
}

.terms-article a {
    color: var(--blood-red);
    text-decoration: underline;
}

.terms-article a:hover {
    color: var(--gold-accent);
}

.terms-reminder,
.critical-notice {
    background: var(--stone-gray);
    border: 3px solid var(--gold-accent);
    padding: 30px;
    margin-top: 40px;
    border-radius: 10px;
    text-align: center;
}

.critical-notice h2,
.critical-notice h3 {
    color: var(--gold-accent);
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: var(--stone-gray);
    border-top: 3px solid var(--blood-red);
    padding: 50px 40px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-block h4 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--blood-red);
    margin-bottom: 15px;
}

.footer-block p {
    font-size: 16px;
    color: var(--pale-text);
    margin-bottom: 15px;
}

.resource-links,
.footer-nav {
    list-style: none;
    padding: 0;
}

.resource-links li,
.footer-nav li {
    margin-bottom: 10px;
}

.resource-links a,
.footer-nav a {
    color: var(--pale-text);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.resource-links a:hover,
.footer-nav a:hover {
    color: var(--blood-red);
}

.footer-notice {
    font-size: 15px;
    line-height: 1.8;
}

.footer-decoration {
    text-align: center;
    font-size: 28px;
    color: var(--gold-accent);
    letter-spacing: 30px;
    margin-top: 30px;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: var(--charcoal);
    border: 4px solid var(--blood-red);
    border-radius: 15px;
    max-width: 550px;
    width: 90%;
    padding: 50px;
    text-align: center;
    box-shadow: 0 0 60px rgba(139, 0, 0, 0.6);
}

.modal-decoration {
    font-size: 48px;
    color: var(--gold-accent);
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: var(--blood-red);
    margin-bottom: 30px;
}

.modal-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--pale-text);
}

.modal-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.btn-verify-accept,
.btn-verify-decline {
    padding: 15px 45px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    border: 3px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-verify-accept {
    background: var(--blood-red);
    color: var(--parchment);
    border-color: var(--blood-red);
}

.btn-verify-accept:hover {
    background: transparent;
    color: var(--blood-red);
}

.btn-verify-decline {
    background: transparent;
    color: var(--pale-text);
    border-color: var(--pale-text);
}

.btn-verify-decline:hover {
    background: var(--pale-text);
    color: var(--deep-black);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 100px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 100px);
        background: var(--charcoal);
        border-left: 3px solid var(--blood-red);
        flex-direction: column;
        padding: 40px 20px;
        transition: right 0.3s ease;
        gap: 20px;
    }

    .main-nav.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-banner h1 {
        font-size: 38px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .intro-section h2,
    .game-showcase h2,
    .guidance-section h2 {
        font-size: 32px;
    }

    .content-wrapper {
        padding: 40px 20px;
    }

    .pillars-grid,
    .guidance-grid {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 450px;
    }

    .game-iframe-play {
        height: 550px;
    }

    .terms-article {
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn-verify-accept,
    .btn-verify-decline {
        width: 100%;
    }
}
