@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #f5f1e8;
    --sand: #e8dcc8;
    --gold: #c9a961;
    --dark-gold: #a88b4a;
    --charcoal: #2c2c2c;
    --light-gray: #f9f7f3;
    --border-light: #d4c5a9;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Header and Navigation */
header {
    background: linear-gradient(to right, var(--sand), var(--cream));
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-symbol {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--charcoal);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-gray), var(--sand));
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid var(--border-light);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.hero p {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.card ul {
    margin-left: 1.5rem;
    color: #555;
}

.card ul li {
    margin-bottom: 0.75rem;
}

/* Notice Panel */
.notice-panel {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
}

.notice-panel h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.notice-panel p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.notice-panel strong {
    font-weight: 700;
}

/* Game Section */
.game-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid var(--border-light);
}

.game-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--gold);
}

.game-wrapper {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.game-wrapper iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 3px solid var(--gold);
    border-radius: 10px;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--sand), var(--cream));
    border-top: 3px solid var(--gold);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dark-gold);
    text-decoration: underline;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    border: 4px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--charcoal);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sand);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 400px;
        border-bottom: 3px solid var(--gold);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1rem 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .footer-links {
        gap: 1.5rem;
    }
}
