* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --bronze: #8b6f47;
    --dark-brown: #2a1810;
    --darker-brown: #1a0f08;
    --cream: #f5f1e8;
    --light-tan: #e8dcc4;
}

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(135deg, var(--darker-brown) 0%, var(--dark-brown) 100%);
    color: var(--cream);
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--darker-brown) 100%);
    border-right: 3px solid var(--gold);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow-y: auto;
}

.logo-container {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--bronze);
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.logo-title {
    font-family: 'Pirata One', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--light-tan);
    font-style: italic;
}

.sidebar-nav {
    padding: 2rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold);
    color: var(--gold);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile Header */
.mobile-header {
    display: none;
    background: var(--dark-brown);
    border-bottom: 3px solid var(--gold);
    padding: 1rem;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-logo {
    font-family: 'Pirata One', cursive;
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 2px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 0;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(139, 111, 71, 0.15));
    border-bottom: 3px solid var(--gold);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="50" opacity="0.05">💰</text></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.hero-text {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Pirata One', cursive;
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--light-tan);
}

/* Notices Section */
.notices-section {
    padding: 4rem 2rem;
}

.section-heading {
    font-family: 'Pirata One', cursive;
    font-size: 3rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-card {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.3), rgba(42, 24, 16, 0.5));
    border: 2px solid var(--bronze);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2.5rem;
}

.notice-card h3 {
    font-family: 'Pirata One', cursive;
    font-size: 1.8rem;
    color: var(--gold);
}

.notice-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    background: rgba(42, 24, 16, 0.3);
}

.section-subheading {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-tan);
    margin-bottom: 3rem;
}

.game-frame-container,
.game-frame-container-large {
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.game-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.game-badge {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text h2 {
    font-family: 'Pirata One', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-item {
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.3), rgba(42, 24, 16, 0.5));
    border: 2px solid var(--bronze);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    border-color: var(--gold);
    transform: translateX(10px);
}

.showcase-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.showcase-item h4 {
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.showcase-item p {
    color: var(--light-tan);
}

/* Age 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;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark-brown), var(--darker-brown));
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    border: 4px solid var(--gold);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-content h2 {
    font-family: 'Pirata One', cursive;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.age-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-requirement {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.age-disclaimer {
    font-size: 0.95rem;
    color: var(--light-tan);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
}

.age-btn {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gold);
    background: transparent;
    border-radius: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--cream);
}

.yes-btn:hover {
    background: var(--gold);
    color: var(--dark-brown);
    transform: translateY(-2px);
}

.no-btn {
    border-color: #c43e3e;
    color: #c43e3e;
}

.no-btn:hover {
    background: #c43e3e;
    color: var(--cream);
}

/* Play Page */
.play-hero {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid var(--bronze);
}

.play-title {
    font-family: 'Pirata One', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.play-subtitle {
    font-size: 1.2rem;
    color: var(--light-tan);
}

.instructions-box {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.instructions-title {
    font-family: 'Pirata One', cursive;
    font-size: 2rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.instruction {
    background: rgba(139, 111, 71, 0.3);
    border: 2px solid var(--bronze);
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 1.05rem;
}

.play-game-section {
    padding: 2rem;
}

.play-reminders {
    padding: 3rem 2rem;
}

.reminder-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.reminder {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
}

/* Content Pages */
.content-header {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid var(--bronze);
}

.content-title {
    font-family: 'Pirata One', cursive;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.content-date {
    font-size: 1.1rem;
    color: var(--light-tan);
}

.content-article {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem 3rem;
}

.content-article h2 {
    font-family: 'Pirata One', cursive;
    font-size: 2rem;
    color: var(--gold);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Footer */
.footer {
    background: var(--darker-brown);
    border-top: 3px solid var(--gold);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-heading {
    font-family: 'Pirata One', cursive;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bronze);
    color: var(--light-tan);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title,
    .play-title {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .notice-cards {
        grid-template-columns: 1fr;
    }

    .game-badges,
    .reminder-row {
        gap: 1rem;
    }

    .content-title {
        font-size: 2.5rem;
    }

    .game-frame-container,
    .game-frame-container-large {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        font-size: 1.5rem;
    }

    .hero-title,
    .play-title {
        font-size: 2rem;
    }

    .age-modal-content {
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}