* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003d82;
    --sky-blue: #0066cc;
    --golden: #ffa500;
    --light-gold: #ffd700;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-text: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #001a3d 0%, #003d82 50%, #0066cc 100%);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
    padding: 3rem;
    border-radius: 25px;
    max-width: 500px;
    text-align: center;
    border: 4px solid var(--golden);
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.4);
}

.age-modal-icon {
    margin-bottom: 1.5rem;
}

.age-modal-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-gold);
    letter-spacing: 2px;
}

.age-modal-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.modal-note {
    font-size: 0.95rem;
    opacity: 0.85;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-buttons button {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-confirm {
    background: var(--golden);
    color: var(--primary-blue);
}

.btn-confirm:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4);
}

.btn-deny {
    background: #555;
    color: white;
}

.btn-deny:hover {
    background: #444;
}

/* Header */
.header {
    background: rgba(0, 29, 61, 0.9);
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--golden);
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.nav-active {
    color: var(--golden);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.nav-active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--golden);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 1rem 2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav a:hover {
    background: rgba(255, 165, 0, 0.1);
    border-left-color: var(--golden);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.8), rgba(0, 102, 204, 0.8)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path fill="rgba(255,165,0,0.1)" d="M0,200 Q300,100 600,200 T1200,200 L1200,400 L0,400 Z"/></svg>');
    background-size: cover;
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--light-gold);
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    background: rgba(255, 165, 0, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--golden);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.feature-emoji {
    font-size: 1.5rem;
}

/* Content Grid */
.content-grid {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-item {
    background: rgba(0, 61, 130, 0.5);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
}

.grid-item h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--light-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.grid-item p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-boxes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid;
}

.info-box.blue {
    background: rgba(0, 102, 204, 0.3);
    border-color: #0066cc;
}

.info-box.orange {
    background: rgba(255, 165, 0, 0.2);
    border-color: var(--golden);
}

.info-box.gold {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--light-gold);
}

.info-box h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--golden);
}

/* Game Showcase */
.game-showcase {
    grid-column: 1 / -1;
}

.game-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.game-embed {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.game-cta {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--golden);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
}

/* Benefits Section */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--golden);
    min-width: 60px;
}

.benefit-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
}

.principles-list {
    list-style: none;
    padding-left: 0;
}

.principles-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.principles-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
}

/* Responsibility Box */
.responsibility-box {
    background: rgba(255, 165, 0, 0.15);
    border: 3px solid var(--golden);
}

.help-resources {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.resource-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-link:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: var(--golden);
    transform: translateX(5px);
}

.resource-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.resource-arrow {
    font-size: 1.5rem;
    color: var(--golden);
}

/* Play Page */
.play-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.play-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.play-intro h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--light-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.play-tips {
    margin-bottom: 3rem;
}

.play-tips h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--golden);
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: rgba(0, 61, 130, 0.5);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 165, 0, 0.3);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.game-player {
    margin: 3rem 0;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 20px;
    border: 3px solid var(--golden);
}

.fullscreen-game {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.play-reminders {
    max-width: 800px;
    margin: 3rem auto;
}

.reminder-card {
    background: rgba(255, 165, 0, 0.15);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--golden);
}

.reminder-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--light-gold);
    margin-bottom: 1rem;
}

.reminder-card ul {
    list-style: none;
    padding-left: 0;
}

.reminder-card li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

/* Legal Pages */
.legal-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--golden);
}

.legal-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--light-gold);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.update-date {
    font-size: 1rem;
    opacity: 0.8;
}

.legal-body {
    background: rgba(0, 61, 130, 0.3);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 165, 0, 0.3);
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--golden);
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--light-gold);
    margin: 1.5rem 0 1rem;
}

.terms-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.important-notice, .alert-box {
    background: rgba(255, 165, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--golden);
    margin: 2rem 0;
}

.important-notice h3, .alert-box h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--light-gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.highlight-section {
    background: rgba(255, 215, 0, 0.2);
    border-left: 5px solid var(--light-gold);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--golden);
}

.resource-box h3 {
    color: var(--golden);
    margin-bottom: 1rem;
}

.resource-box a {
    color: var(--light-gold);
    text-decoration: none;
    font-weight: 600;
}

.resource-box a:hover {
    text-decoration: underline;
}

.critical-box {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 165, 0, 0.2));
    border: 3px solid #ff6b6b;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.critical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.critical-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--golden);
}

.critical-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
}

.final-warning {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-gold);
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: rgba(0, 29, 61, 0.95);
    padding: 3rem 2rem 2rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--golden);
    margin: 1rem 0;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-support h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--golden);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links a,
.footer-support a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-support a:hover {
    color: var(--golden);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 165, 0, 0.3);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-notice {
    font-weight: 600;
    color: var(--golden);
    margin-top: 1rem !important;
}

/* Responsive */
@media (max-width: 968px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .game-frame, .fullscreen-game {
        height: 400px;
    }

    .legal-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .age-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .game-frame, .fullscreen-game {
        height: 300px;
    }
}
