* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --royal-blue: #1e3a8a;
    --deep-purple: #4c1d95;
    --gold: #f59e0b;
    --dark: #0f172a;
    --light: #f1f5f9;
    --white: #ffffff;
    --shadow: rgba(30, 58, 138, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-blue);
}

.brand-symbol {
    color: var(--gold);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.link-item {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.link-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.link-item:hover,
.link-item.active {
    color: var(--royal-blue);
}

.link-item:hover::after,
.link-item.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--royal-blue);
    transition: all 0.3s;
    border-radius: 3px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-purple) 100%);
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    width: 100%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 20px;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: var(--white);
}

.main-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--royal-blue);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--light);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.6rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

/* Notices Section */
.notices-section {
    padding: 5rem 0;
    background: var(--light);
}

.notices-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.notice-card {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid;
}

.notice-red {
    border-color: #dc2626;
}

.notice-blue {
    border-color: #2563eb;
}

.notice-gold {
    border-color: var(--gold);
}

.notice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* Game Feature */
.game-feature {
    padding: 5rem 0;
    background: var(--white);
}

.feature-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--dark);
    opacity: 0.8;
}

.game-display {
    max-width: 1000px;
    margin: 0 auto;
}

.game-frame-container {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

/* Platform Info */
.platform-info {
    padding: 5rem 0;
    background: var(--light);
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.info-column h3 {
    font-size: 2rem;
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
}

.info-column p {
    margin-bottom: 1.2rem;
}

/* Play Pages */
.play-header {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-purple) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.play-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.play-guide {
    padding: 4rem 0;
    background: var(--white);
}

.guide-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.guide-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--royal-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
}

.guide-card h3 {
    color: var(--royal-blue);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.play-platform {
    padding: 4rem 0;
    background: var(--light);
}

.play-notice {
    padding: 3rem 0;
    background: var(--white);
}

.notice-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    text-align: center;
}

.notice-box h3 {
    color: var(--royal-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Legal Pages */
.legal-intro {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-purple) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.legal-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.date-stamp {
    opacity: 0.9;
}

.legal-main {
    padding: 4rem 0;
    background: var(--white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-document h2 {
    font-size: 1.9rem;
    color: var(--royal-blue);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-document p,
.legal-document li {
    margin-bottom: 1.2rem;
}

.legal-document ul {
    margin-left: 2.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 3.5rem 0 1.5rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-top: 0.6rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.7rem;
}

.footer-menu a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(241, 245, 249, 0.2);
    opacity: 0.7;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.93);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    border: 3px solid var(--royal-blue);
}

.age-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.2rem;
}

.age-modal-content h2 {
    font-size: 2.2rem;
    color: var(--royal-blue);
    margin-bottom: 1rem;
}

.age-modal-content p {
    margin-bottom: 1rem;
}

.age-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Outfit', sans-serif;
}

.age-btn:hover {
    transform: translateY(-2px);
}

.age-yes {
    background: var(--royal-blue);
    color: var(--white);
}

.age-no {
    background: #dc2626;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 20px;
        gap: 0;
        box-shadow: 0 5px 20px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        border-bottom: 1px solid var(--light);
    }

    .link-item {
        display: block;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}
