* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #4CAF50;
    --orange: #FF9800;
    --red: #F44336;
    --lime: #CDDC39;
    --teal: #009688;
    --amber: #FFC107;
    --bg-cream: #FFFBF5;
    --bg-white: #FFFFFF;
    --text-dark: #37474F;
    --text-medium: #607D8B;
    --text-light: #90A4AE;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Gate */
.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.gate-overlay.hidden {
    display: none;
}

.gate-content {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.gate-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.gate-content h2 {
    font-family: 'Pacifico', cursive;
    font-size: 32px;
    color: var(--green);
    margin-bottom: 20px;
}

.gate-content p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.gate-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-approve,
.btn-decline {
    flex: 1;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-approve {
    background: var(--green);
    color: white;
}

.btn-approve:hover {
    background: #45A049;
    transform: translateY(-2px);
}

.btn-decline {
    background: var(--text-medium);
    color: white;
}

.btn-decline:hover {
    background: var(--text-dark);
}

/* Navigation */
.site-nav {
    background: var(--bg-white);
    border-bottom: 3px solid var(--green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 40px;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 30px;
    color: var(--green);
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 8px;
}

.navigation a:hover,
.navigation a.current {
    color: var(--green);
    background: rgba(76, 175, 80, 0.1);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn span {
    width: 28px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.banner-wrapper h1 {
    font-family: 'Pacifico', cursive;
    font-size: 56px;
    margin-bottom: 20px;
}

.banner-tagline {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--amber);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    transition: all 0.3s;
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* About Us */
.about-us {
    padding: 80px 20px;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.image-placeholder {
    font-size: 120px;
    text-align: center;
    padding: 40px;
    background: var(--bg-cream);
    border-radius: 20px;
}

.about-text h2 {
    font-family: 'Pacifico', cursive;
    font-size: 38px;
    color: var(--green);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Core Values */
.core-values {
    padding: 80px 20px;
    background: var(--bg-cream);
}

.center-title {
    font-family: 'Pacifico', cursive;
    font-size: 38px;
    color: var(--green);
    text-align: center;
    margin-bottom: 50px;
}

.values-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.value-emoji {
    font-size: 56px;
    margin-bottom: 20px;
}

.value-box h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.value-box p {
    font-size: 15px;
    color: var(--text-medium);
}

/* Key Notices */
.key-notices {
    padding: 80px 20px;
    background: var(--bg-white);
}

.notices-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.notice-card {
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid;
}

.alert-red {
    background: rgba(244, 67, 54, 0.08);
    border-color: var(--red);
}

.alert-green {
    background: rgba(76, 175, 80, 0.08);
    border-color: var(--green);
}

.alert-orange {
    background: rgba(255, 152, 0, 0.08);
    border-color: var(--orange);
}

.notice-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.notice-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Game Feature */
.game-feature {
    padding: 80px 20px;
    background: var(--bg-cream);
}

.feature-desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--orange);
    font-size: 15px;
    color: var(--text-medium);
}

.info-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

/* Benefits */
.benefits {
    padding: 80px 20px;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-tile {
    background: var(--bg-cream);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.benefit-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.benefit-tile h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-tile p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Responsibility */
.responsibility {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--lime) 0%, var(--green) 100%);
    color: var(--text-dark);
}

.responsibility-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 20px;
}

.responsibility-content h2 {
    font-family: 'Pacifico', cursive;
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--green);
}

.responsibility-intro {
    text-align: center;
    font-size: 17px;
    margin-bottom: 30px;
}

.responsibility-items {
    list-style: none;
    margin: 30px 0;
}

.responsibility-items li {
    padding: 12px 0 12px 30px;
    font-size: 16px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.responsibility-items li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.responsibility-closing {
    text-align: center;
    font-size: 16px;
    margin-top: 25px;
    font-style: italic;
}

/* Play Page */
.play-intro {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    text-align: center;
    color: white;
}

.play-intro h1 {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    margin-bottom: 15px;
}

.play-intro-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.play-area {
    padding: 40px 20px;
    background: var(--bg-white);
}

.play-box {
    background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
    padding: 20px;
    border-radius: 20px;
}

.play-game-frame {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Instructions */
.instructions {
    padding: 80px 20px;
    background: var(--bg-cream);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.instruction-box {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    border-top: 4px solid var(--green);
}

.instruction-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.instruction-box h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.instruction-box ul {
    list-style: none;
}

.instruction-box li {
    padding: 8px 0 8px 20px;
    font-size: 14px;
    color: var(--text-medium);
    position: relative;
}

.instruction-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* Gameplay Tips */
.gameplay-tips {
    padding: 80px 20px;
    background: var(--bg-white);
}

.tips-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tip-card {
    background: var(--bg-cream);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--orange);
}

.tip-label {
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 13px;
}

.tip-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tip-card p {
    font-size: 15px;
    color: var(--text-medium);
}

/* Legal Pages */
.legal-header {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    text-align: center;
    color: white;
}

.legal-header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    margin-bottom: 10px;
}

.legal-header p {
    font-size: 16px;
}

.legal-section {
    padding: 60px 20px 100px;
    background: var(--bg-cream);
}

.legal-doc {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-doc h2 {
    font-size: 26px;
    color: var(--green);
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-doc h2:first-child {
    margin-top: 0;
}

.legal-doc p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-doc ul {
    margin: 15px 0 15px 30px;
    color: var(--text-medium);
}

.legal-doc li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.alert-box {
    padding: 25px;
    margin: 25px 0;
    background: rgba(76, 175, 80, 0.08);
    border-radius: 10px;
    border-left: 5px solid var(--green);
}

.final-alert {
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    color: var(--red);
    margin-top: 35px;
    padding: 20px;
    background: rgba(244, 67, 54, 0.08);
    border: 2px solid var(--red);
    border-radius: 10px;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    padding: 60px 20px 20px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-block h3 {
    font-family: 'Pacifico', cursive;
    font-size: 22px;
    color: var(--lime);
    margin-bottom: 20px;
}

.footer-block p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-block ul {
    list-style: none;
}

.footer-block li {
    margin-bottom: 10px;
}

.footer-block a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: var(--lime);
}

.footer-base {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        padding: 20px;
        gap: 0;
        transition: left 0.3s;
        border-bottom: 3px solid var(--green);
    }

    .navigation.active {
        left: 0;
    }

    .navigation a {
        padding: 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .banner-wrapper h1 {
        font-size: 38px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .values-row,
    .notices-flex,
    .benefits-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .play-game-frame {
        height: 500px;
    }

    .legal-doc {
        padding: 30px 20px;
    }

    .gate-content {
        margin: 20px;
        padding: 40px 25px;
    }

    .gate-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .banner-wrapper h1 {
        font-size: 30px;
    }

    .logo-text {
        font-size: 22px;
    }

    .game-frame {
        height: 350px;
    }

    .play-game-frame {
        height: 400px;
    }
}
