/* Dewthorn.xyz - Elegant Vintage Design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #8B2635;
    --gold: #D4AF37;
    --cream: #F5F1E8;
    --forest: #2D5016;
    --charcoal: #3A3A3A;
    --ivory: #FFFFF0;
    --bronze: #CD7F32;
    --sage: #9CAF88;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--cream);
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.05) 35px, rgba(212, 175, 55, 0.05) 70px);
    color: var(--charcoal);
    line-height: 1.75;
}

header {
    background: linear-gradient(180deg, var(--charcoal) 0%, #2A2A2A 100%);
    border-bottom: 4px solid var(--gold);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-style: italic;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--ivory);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu a:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu div {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.hero-area {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
    border: 3px solid var(--gold);
    border-radius: 10px;
    padding: 4rem 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.hero-area::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    pointer-events: none;
}

.hero-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    position: relative;
}

.hero-area .tagline {
    font-size: 1.4rem;
    color: var(--charcoal);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 300;
    font-style: italic;
}

.notice-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-panel {
    background: var(--ivory);
    border: 2px solid var(--bronze);
    border-radius: 5px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.notice-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.notice-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.notice-panel p {
    color: #555;
    line-height: 1.7;
}

.gaming-section {
    background: var(--ivory);
    border: 3px solid var(--forest);
    border-radius: 10px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gaming-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--burgundy);
    margin-bottom: 2rem;
    font-weight: 900;
}

.game-display {
    width: 100%;
    height: 700px;
    border: 4px solid var(--charcoal);
    border-radius: 5px;
    background: #000;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.article-section {
    background: var(--ivory);
    border: 2px solid var(--bronze);
    border-radius: 5px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 0.5rem;
}

.article-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--forest);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-section p {
    color: #4A4A4A;
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.85;
}

.article-section ul {
    margin-left: 2.5rem;
    color: #4A4A4A;
}

.article-section li {
    margin-bottom: 0.8rem;
}

footer {
    background: linear-gradient(180deg, var(--charcoal) 0%, #1A1A1A 100%);
    border-top: 4px solid var(--gold);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    color: var(--ivory);
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 3px;
}

.responsible-links a:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

footer p {
    opacity: 0.85;
    font-size: 0.95rem;
}

.age-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 58, 58, 0.96);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-overlay.show {
    display: flex;
}

.age-dialog {
    background: var(--ivory);
    border: 5px solid var(--gold);
    border-radius: 10px;
    padding: 4rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.age-dialog::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--bronze);
    border-radius: 5px;
    pointer-events: none;
}

.age-dialog h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.age-dialog p {
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.age-controls {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: 3px solid;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn.enter {
    background: var(--burgundy);
    color: var(--ivory);
    border-color: var(--burgundy);
}

.age-btn.enter:hover {
    background: #6B1B28;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 38, 53, 0.4);
}

.age-btn.exit {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.age-btn.exit:hover {
    background: var(--charcoal);
    color: var(--ivory);
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: var(--charcoal);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 0;
        transition: right 0.3s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-area h1 {
        font-size: 2.8rem;
    }

    .hero-area .tagline {
        font-size: 1.1rem;
    }

    .game-display {
        height: 500px;
    }

    .notice-sections {
        grid-template-columns: 1fr;
    }

    .age-dialog {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-dialog h2 {
        font-size: 2.2rem;
    }

    .age-controls {
        flex-direction: column;
    }
}