* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #ffd700;
    --orange: #ff9500;
    --dark-brown: #2d1810;
    --light-brown: #4a2f1f;
    --cream: #fff5e6;
    --text-dark: #1a1a1a;
}

body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(to bottom, var(--cream) 0%, #ffe4c4 100%);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
}

header {
    background: var(--dark-brown);
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 15px rgba(45, 24, 16, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    font-style: italic;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--orange);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
    border-radius: 2px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 149, 0, 0.15) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--light-brown);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.info-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--orange);
}

.info-section h2 {
    color: var(--dark-brown);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.info-list li {
    padding: 1rem;
    margin: 0.8rem 0;
    background: linear-gradient(to right, var(--cream) 0%, white 100%);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    font-size: 1.1rem;
}

.game-section {
    background: var(--dark-brown);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(45, 24, 16, 0.4);
}

.game-section h2 {
    color: var(--gold);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: 5px solid var(--gold);
    border-radius: 10px;
    background: white;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--orange);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 149, 0, 0.3);
}

.feature-card h3 {
    color: var(--dark-brown);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-brown);
    line-height: 1.7;
}

.notice-banner {
    background: linear-gradient(to right, var(--orange) 0%, var(--gold) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
}

.notice-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(to bottom, var(--cream) 0%, white 100%);
    margin: 8% auto;
    padding: 3rem;
    border: 5px solid var(--gold);
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
}

.modal-content h2 {
    color: var(--dark-brown);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: var(--light-brown);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    border: 3px solid var(--dark-brown);
    background: var(--gold);
    color: var(--dark-brown);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--orange);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-brown);
}

.btn-secondary:hover {
    background: var(--light-brown);
    color: white;
}

.content-page {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--gold);
}

.content-page h1 {
    color: var(--dark-brown);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-page h2 {
    color: var(--light-brown);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-page p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-brown);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 1rem;
        border-bottom: 1px solid var(--light-brown);
    }

    nav a::after {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .game-frame {
        height: 450px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
