@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #2d4a3e 0%, #5a7c6b 50%, #2d4a3e 100%);
    background-attachment: fixed;
    color: #f5f5dc;
    min-height: 100vh;
    line-height: 1.8;
}

header {
    background: rgba(61, 43, 31, 0.95);
    padding: 1.5rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #8b6f47;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #d4a373;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #f5f5dc;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a:hover {
    background: rgba(212, 163, 115, 0.2);
    color: #d4a373;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 32px;
    height: 4px;
    background: #d4a373;
    border-radius: 2px;
    transition: all 0.3s;
}

main {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: rgba(61, 43, 31, 0.85);
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 3px solid #8b6f47;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #d4a373;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.4rem;
    color: #e8d4b8;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    background: rgba(61, 43, 31, 0.85);
    padding: 3.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 6px solid #d4a373;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    color: #d4a373;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-section h3 {
    color: #c19a6b;
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.content-section p {
    color: #e8d4b8;
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.notice-box {
    background: rgba(139, 69, 19, 0.3);
    border: 3px solid #b8860b;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2.5rem 0;
}

.notice-box h3 {
    color: #f4a460;
    margin-top: 0;
}

.notice-box ul {
    margin-left: 2rem;
    margin-top: 1.2rem;
}

.notice-box li {
    margin: 0.8rem 0;
    color: #f5deb3;
}

.game-container {
    background: rgba(61, 43, 31, 0.85);
    padding: 3rem;
    border-radius: 12px;
    margin: 3.5rem 0;
    text-align: center;
    border: 3px solid #8b6f47;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-container iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(90, 124, 107, 0.3);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid rgba(212, 163, 115, 0.4);
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 163, 115, 0.3);
    border-color: #d4a373;
}

.feature-card h3 {
    color: #d4a373;
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.feature-card p {
    color: #e8d4b8;
}

footer {
    background: rgba(61, 43, 31, 0.95);
    padding: 3.5rem 2rem;
    margin-top: 5rem;
    border-top: 5px solid #8b6f47;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4a373;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #f4a460;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #3d2b1f 0%, #5a7c6b 100%);
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 5px solid #d4a373;
    box-shadow: 0 0 60px rgba(212, 163, 115, 0.5);
}

.age-modal-content h2 {
    color: #d4a373;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.age-modal-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f5f5dc;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 900;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-yes {
    background: #8b6f47;
    color: #f5f5dc;
}

.btn-yes:hover {
    background: #a0825a;
    transform: scale(1.08);
}

.btn-no {
    background: #8b4513;
    color: #f5f5dc;
}

.btn-no:hover {
    background: #a0522d;
    transform: scale(1.08);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 320px;
        background: rgba(61, 43, 31, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        border-left: 5px solid #d4a373;
        height: calc(100vh - 80px);
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 1.2rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 2rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-modal-content h2 {
        font-size: 2.2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}