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

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

:root {
    --sand-light: #f5e6c8;
    --sand-gold: #c9a227;
    --terracotta: #c75b39;
    --deep-brown: #2c1810;
    --bronze: #b87333;
    --cream: #faf3e3;
    --burgundy: #722f37;
    --text-dark: #1a0f0a;
    --text-light: #f5e6c8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--deep-brown) 0%, #3d2317 50%, var(--deep-brown) 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.75;
}

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

a {
    color: var(--sand-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--terracotta);
}

/* Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(44, 24, 16, 0.98), rgba(44, 24, 16, 0.9));
    z-index: 1000;
    border-bottom: 2px solid var(--sand-gold);
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon {
    width: 50px;
    height: 50px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--sand-gold);
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--sand-gold);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(5px, 8px);
}

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

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(5px, -8px);
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.navigation a {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem;
    color: var(--cream);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation a:hover,
.navigation a.selected {
    background: var(--sand-gold);
    color: var(--deep-brown);
}

/* Main */
main {
    padding-top: 85px;
}

.banner-area {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.1), transparent);
    position: relative;
}

.banner-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23c9a227' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    pointer-events: none;
}

.banner-area h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--sand-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.banner-area .subtitle {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
    color: var(--sand-light);
    position: relative;
}

/* Notice Boxes */
.notices-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.notice-box {
    background: linear-gradient(145deg, rgba(201, 162, 39, 0.15), rgba(44, 24, 16, 0.8));
    border: 1px solid var(--bronze);
    padding: 2.5rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.notice-box:hover {
    transform: scale(1.03);
    border-color: var(--sand-gold);
    box-shadow: 0 15px 40px rgba(201, 162, 39, 0.2);
}

.notice-box .symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-box h3 {
    color: var(--sand-gold);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.notice-box p {
    color: var(--sand-light);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Game Display */
.game-display {
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, rgba(199, 91, 57, 0.15) 0%, transparent 70%);
}

.game-holder {
    max-width: 1200px;
    margin: 0 auto;
}

.game-label {
    text-align: center;
    margin-bottom: 2rem;
}

.game-label h2 {
    font-size: 2.5rem;
    color: var(--terracotta);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.game-embed {
    position: relative;
    width: 100%;
    padding-bottom: 58%;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--bronze);
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
    background: var(--deep-brown);
}

.game-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Blocks */
.content-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.content-block {
    background: rgba(44, 24, 16, 0.7);
    border-left: 4px solid var(--terracotta);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
}

.content-block h3 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.content-block p {
    color: var(--sand-light);
    opacity: 0.9;
}

/* Page Sections */
.page-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-section h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--sand-gold);
}

.page-section h2 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem;
    color: var(--terracotta);
}

.page-section p {
    margin-bottom: 1.5rem;
    color: var(--sand-light);
    opacity: 0.9;
}

.page-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--sand-light);
}

.page-section li {
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

/* Play Page */
.game-instructions {
    max-width: 850px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--bronze);
    border-radius: 8px;
    text-align: center;
}

.game-instructions h3 {
    color: var(--sand-gold);
    margin-bottom: 1rem;
}

.game-instructions p {
    color: var(--sand-light);
    opacity: 0.9;
}

/* Footer */
.bottom-footer {
    background: var(--deep-brown);
    border-top: 2px solid var(--bronze);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

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

.footer-heading {
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.support-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.support-links a {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--bronze);
    border-radius: 4px;
    font-weight: 500;
}

.support-links a:hover {
    background: var(--sand-gold);
    color: var(--deep-brown);
    border-color: var(--sand-gold);
}

.footer-legal {
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 115, 51, 0.3);
    color: var(--sand-light);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 15, 10, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
}

.age-overlay.closed {
    display: none;
}

.age-dialog {
    background: linear-gradient(145deg, var(--deep-brown), #3d2317);
    border: 2px solid var(--sand-gold);
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 80px rgba(201, 162, 39, 0.3);
}

.age-dialog h2 {
    color: var(--sand-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-dialog p {
    color: var(--sand-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-yes, .btn-no {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: linear-gradient(135deg, var(--sand-gold), var(--bronze));
    color: var(--deep-brown);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(201, 162, 39, 0.4);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--terracotta);
    color: var(--terracotta);
}

.btn-no:hover {
    background: var(--terracotta);
    color: var(--cream);
}

.rejection-notice {
    display: none;
    margin-top: 1.5rem;
    color: var(--terracotta);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .notices-container {
        grid-template-columns: 1fr;
    }

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

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

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: var(--deep-brown);
        padding: 80px 1.5rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--bronze);
    }

    .navigation.visible {
        right: 0;
    }

    .navigation ul {
        flex-direction: column;
    }

    .navigation a {
        display: block;
        text-align: center;
    }

    .header-wrap {
        padding: 0.8rem 1rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .banner-area {
        padding: 3rem 1rem;
    }

    .age-btns {
        flex-direction: column;
    }

    .support-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.1rem;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .page-section h1 {
        font-size: 2.2rem;
    }
}
