@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;800&family=Source+Sans+Pro:wght@300;400;600&display=swap');

:root {
    --gold: #d4a574;
    --bronze: #8b6914;
    --cream: #f5f0e6;
    --charcoal: #2d2d2d;
    --mahogany: #4a1c1c;
    --warm-white: #fffef9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.8;
}

header {
    background: linear-gradient(135deg, var(--mahogany), var(--charcoal));
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    margin: 6px 0;
    transition: 0.3s;
}

.banner {
    background: linear-gradient(to right, var(--mahogany), var(--bronze), var(--mahogany));
    padding: 120px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--warm-white);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner p {
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 45px;
    font-weight: 300;
}

.golden-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--mahogany);
    padding: 18px 55px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.golden-btn:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.info-strip {
    background: var(--charcoal);
    padding: 35px 20px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--cream);
}

.info-item .icon {
    font-size: 2rem;
}

.info-item span {
    font-size: 1rem;
    letter-spacing: 1px;
}

.game-area {
    padding: 80px 30px;
    background: var(--warm-white);
}

.game-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--mahogany);
    margin-bottom: 50px;
}

.game-container {
    max-width: 1100px;
    margin: 0 auto;
    border: 8px solid var(--bronze);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-container iframe {
    width: 100%;
    height: 620px;
    display: block;
    border: none;
}

.about-section {
    padding: 100px 30px;
    background: linear-gradient(180deg, var(--cream), var(--warm-white));
}

.about-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

.about-card {
    background: var(--warm-white);
    padding: 45px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--gold);
}

.about-card .symbol {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--mahogany);
    margin-bottom: 15px;
}

.about-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.content-page {
    padding: 50px 30px 100px;
    min-height: 80vh;
}

.content-page .inner {
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--mahogany);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--gold);
}

.content-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--bronze);
    margin: 40px 0 20px;
}

.content-page p {
    margin-bottom: 18px;
    color: #444;
}

.content-page ul {
    margin: 15px 0 25px 30px;
    color: #444;
}

.content-page li {
    margin-bottom: 10px;
}

footer {
    background: var(--charcoal);
    padding: 60px 30px;
    color: var(--cream);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    margin-bottom: 35px;
}

.footer-nav a {
    color: var(--gold);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--cream);
}

.responsible-links {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-links p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.responsible-links a {
    color: var(--gold);
    margin: 0 12px;
    text-decoration: none;
    font-size: 0.85rem;
}

.copyright {
    margin-top: 30px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-box {
    background: var(--warm-white);
    padding: 60px 50px;
    border-radius: 10px;
    text-align: center;
    max-width: 480px;
    margin: 20px;
    border-top: 5px solid var(--gold);
}

.modal-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--mahogany);
    margin-bottom: 20px;
}

.modal-box p {
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 14px 40px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.modal-btn.confirm {
    background: var(--gold);
    color: var(--mahogany);
}

.modal-btn.deny {
    background: var(--mahogany);
    color: var(--cream);
}

.modal-btn:hover {
    transform: scale(1.05);
}

.denied-view {
    color: var(--mahogany);
}

.denied-view h2 {
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .banner h1 {
        font-size: 2.4rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
    
    .info-strip {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .game-container iframe {
        height: 400px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}
