:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --primary-teal: #00B4D8;
    --secondary-teal: #0096C7;
    --purple: #9B59B6;
    --light-bg: #F7F9FC;
    --white: #FFFFFF;
    --dark-text: #2C3E50;
    --medium-text: #5A6C7D;
    --light-text: #7F8C8D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.top-nav {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-orange);
    border-bottom-color: var(--primary-orange);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
    padding: 80px 20px;
    color: var(--white);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.95;
}

.play-now-btn {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.play-now-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.floating-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.floating-card:hover {
    transform: translateY(-10px);
}

.floating-card:nth-child(3) {
    grid-column: 1 / -1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.floating-card p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Info Cards Section */
.info-cards-section {
    padding: 80px 20px;
    background: var(--white);
}

.section-heading {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--dark-text);
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    color: var(--white);
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card.purple {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.info-card.orange {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
}

.info-card.teal {
    background: linear-gradient(135deg, var(--primary-teal), var(--secondary-teal));
}

.info-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* Featured Game Section */
.featured-game-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--medium-text);
}

.game-display {
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    padding: 20px;
    border-radius: 15px;
    border-left: 6px solid var(--primary-orange);
}

.game-note p {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 600;
}

/* Why Section */
.why-section {
    padding: 80px 20px;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-item {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s;
    border-top: 4px solid var(--primary-teal);
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.why-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--dark-text);
    font-weight: 700;
}

.why-item p {
    color: var(--medium-text);
    line-height: 1.7;
}

/* Support Section */
.support-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #E8F4F8, #D4E9F2);
}

.support-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--medium-text);
    line-height: 1.8;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-left: 5px solid var(--primary-teal);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.support-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.support-card h3 {
    font-size: 1.6rem;
    color: var(--primary-teal);
    margin-bottom: 12px;
    font-weight: 700;
}

.support-card p {
    color: var(--medium-text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.support-link {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-orange);
}

.footer-text {
    color: #AAA;
    font-size: 0.95rem;
}

/* Age Popup */
.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-popup-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-popup-box h2 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.age-popup-box p {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 15px;
}

.age-confirm-text {
    font-size: 1.2rem !important;
    color: var(--dark-text) !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
}

.age-action-buttons {
    display: flex;
    gap: 15px;
}

.btn-confirm,
.btn-deny {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
}

.btn-confirm {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-confirm:hover {
    background: var(--secondary-orange);
    transform: scale(1.05);
}

.btn-deny {
    background: #E74C3C;
    color: var(--white);
}

.btn-deny:hover {
    background: #C0392B;
    transform: scale(1.05);
}

/* Play Page */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.page-title-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-title-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.instructions-section {
    padding: 60px 20px;
    background: var(--white);
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.instruction-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border-top: 4px solid var(--primary-teal);
}

.instruction-box h3 {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.instruction-box p {
    color: var(--medium-text);
    line-height: 1.7;
}

.game-player-section {
    padding: 60px 20px 80px;
    background: var(--light-bg);
}

.game-box {
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.full-game-iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.play-reminder {
    text-align: center;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    padding: 20px;
    border-radius: 15px;
    border-left: 6px solid var(--primary-teal);
}

.play-reminder p {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 600;
}

/* Legal Pages */
.legal-content {
    padding: 80px 20px;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.updated {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-block h3 {
    font-size: 1.3rem;
    color: var(--primary-teal);
    margin: 20px 0 12px;
    font-weight: 700;
}

.legal-block p {
    color: var(--medium-text);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-block ul {
    margin: 15px 0 15px 35px;
}

.legal-block li {
    color: var(--medium-text);
    margin-bottom: 10px;
    line-height: 1.8;
}

.warning-banner {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    padding: 30px;
    border-radius: 15px;
    border-left: 6px solid #E74C3C;
    margin-bottom: 40px;
}

.warning-banner h2 {
    color: #C0392B;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.warning-banner p {
    color: #C0392B;
    font-size: 1.15rem;
    font-weight: 600;
}

.help-resources {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.help-resource {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-teal);
}

.help-resource h3 {
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.help-resource a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
}

.help-resource a:hover {
    text-decoration: underline;
}

.help-resource p {
    margin: 8px 0;
}

.help-note {
    background: #FFF9C4;
    padding: 20px;
    border-radius: 12px;
    font-style: italic;
    border-left: 5px solid #FBC02D;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav a {
        padding: 15px;
        border-bottom: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .game-iframe,
    .full-game-iframe {
        height: 500px;
    }

    .age-popup-box {
        margin: 20px;
        padding: 40px 30px;
    }

    .age-action-buttons {
        flex-direction: column;
    }

    .page-title-section h1 {
        font-size: 2rem;
    }
}
