* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #f1f1f1;
    line-height: 1.65;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Age Gate Modal */
.age-gate {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-gate.visible {
    display: flex;
}

.age-gate-dialog {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    max-width: 500px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(231, 76, 60, 0.5);
    border: 4px solid #ffffff;
}

.age-gate-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    text-align: center;
}

.age-gate-header h2 {
    font-size: 1.8rem;
    color: #ffffff;
}

.age-gate-body {
    padding: 2rem;
    text-align: center;
}

.age-gate-body p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #ffffff;
}

.age-gate-note {
    font-style: italic;
    font-size: 0.95rem;
    color: #ffd700;
    font-weight: 600;
}

.age-gate-actions {
    display: flex;
    gap: 1rem;
    padding: 0 2rem 2rem;
}

.age-accept,
.age-reject {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-accept {
    background: #27ae60;
    color: white;
}

.age-accept:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.4);
}

.age-reject {
    background: #34495e;
    color: white;
}

.age-reject:hover {
    background: #2c3e50;
    transform: translateY(-3px);
}

/* Header */
.top-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 4px solid #e74c3c;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 30px;
    height: 4px;
    background: #e74c3c;
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 3px;
}

.primary-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.primary-nav a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
}

.primary-nav a:hover,
.primary-nav a.current {
    color: #e74c3c;
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 7rem 2rem 2rem;
        transition: right 0.4s ease;
        border-left: 4px solid #e74c3c;
        gap: 0.5rem;
    }

    .primary-nav.active {
        right: 0;
    }

    .primary-nav a {
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
        padding: 1rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -7px);
    }
}

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro Hero */
.intro-hero {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(192, 57, 43, 0.2) 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 3px solid #e74c3c;
}

.hero-inner h1 {
    font-size: 3.2rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-lead {
    font-size: 1.5rem;
    color: #f1f1f1;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag-item {
    background: rgba(231, 76, 60, 0.2);
    border: 3px solid #e74c3c;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
}

/* About Platform */
.about-platform {
    padding: 5rem 2rem;
}

.about-platform h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #e74c3c;
    margin-bottom: 1.5rem;
}

.intro-text {
    text-align: center;
    font-size: 1.15rem;
    max-width: 950px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    border: 3px solid rgba(231, 76, 60, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.feature-symbol {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.feature-box p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Game Display */
.game-display {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.25);
}

.game-display h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.game-intro-text {
    text-align: center;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.game-frame-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border: 4px solid #e74c3c;
}

.game-frame-wrapper.full-size {
    max-width: 100%;
}

.embedded-game {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
}

.game-info-banner {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(231, 76, 60, 0.15);
    border-left: 6px solid #e74c3c;
    border-radius: 8px;
}

/* Important Notices */
.important-notices {
    padding: 5rem 2rem;
}

.important-notices h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #e74c3c;
    margin-bottom: 3rem;
}

.notice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-panel {
    padding: 2.5rem;
    border-radius: 16px;
    border: 4px solid;
}

.red-panel {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
}

.blue-panel {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.orange-panel {
    background: rgba(230, 126, 34, 0.1);
    border-color: #e67e22;
}

.notice-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.notice-panel p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Value Propositions */
.value-propositions {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.25);
}

.value-propositions h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #e74c3c;
    margin-bottom: 3rem;
}

.proposition-list {
    max-width: 1000px;
    margin: 0 auto;
}

.proposition-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.prop-number {
    font-size: 4rem;
    font-weight: 700;
    color: #e74c3c;
    font-family: 'Oswald', sans-serif;
    min-width: 90px;
    text-align: center;
}

.prop-details h3 {
    font-size: 1.8rem;
    color: #e74c3c;
    margin-bottom: 0.8rem;
}

.prop-details p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Community Values */
.community-values {
    padding: 5rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.08);
}

.value-card h3 {
    font-size: 1.6rem;
    color: #e74c3c;
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Call to Action */
.call-to-action {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
}

.cta-content h2 {
    font-size: 2.8rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.primary-cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: #e74c3c;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 4px solid #e74c3c;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.primary-cta-button:hover {
    background: transparent;
    color: #e74c3c;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

/* Play Page */
.play-hero {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
}

.play-hero h1 {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.play-tagline {
    font-size: 1.4rem;
    color: #f1f1f1;
}

.game-area {
    padding: 4rem 2rem;
}

.how-to-play {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 3px solid rgba(231, 76, 60, 0.3);
}

.how-to-play h2 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.play-steps {
    list-style: none;
    margin: 1.5rem 0;
}

.play-steps li {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-requirements {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
}

.play-disclaimer {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(230, 126, 34, 0.15);
    border: 4px solid #e67e22;
    border-radius: 16px;
}

.play-disclaimer h3 {
    color: #e67e22;
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-intro {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 4px solid #e74c3c;
}

.legal-intro h1 {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.effective-date {
    font-style: italic;
    color: #bdc3c7;
}

.legal-text {
    padding: 4rem 2rem;
}

.terms-document,
.privacy-document,
.disclaimer-document {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 16px;
    border: 3px solid rgba(231, 76, 60, 0.2);
}

.terms-document h2,
.privacy-document h2,
.disclaimer-document h2 {
    color: #e74c3c;
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.terms-document h2:first-child,
.privacy-document h2:first-child,
.disclaimer-document h2:first-child {
    margin-top: 0;
}

.terms-document p,
.privacy-document p,
.disclaimer-document p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.terms-document ul,
.privacy-document ul,
.disclaimer-document ul {
    margin: 1rem 0 1rem 2.5rem;
    line-height: 1.8;
}

.terms-document li,
.privacy-document li,
.disclaimer-document li {
    margin-bottom: 0.6rem;
}

.terms-acceptance,
.privacy-summary,
.final-confirmation {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(231, 76, 60, 0.15);
    border: 4px solid #e74c3c;
    border-radius: 12px;
}

.warning-block {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(230, 126, 34, 0.15);
    border-left: 8px solid #e67e22;
    border-radius: 8px;
}

.final-confirmation ul {
    list-style: none;
    margin-left: 0;
}

.final-confirmation li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Footer */
.page-footer {
    background: rgba(26, 26, 46, 0.95);
    padding: 3rem 2rem 1.5rem;
    border-top: 4px solid #e74c3c;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-nav a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(231, 76, 60, 0.3);
    color: #bdc3c7;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-inner h1 {
        font-size: 2.3rem;
    }

    .hero-lead {
        font-size: 1.2rem;
    }

    .hero-tags {
        flex-direction: column;
        align-items: center;
    }

    .tag-item {
        width: 100%;
        max-width: 300px;
    }

    .about-platform h2,
    .game-display h2,
    .important-notices h2,
    .value-propositions h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .feature-row,
    .notice-columns {
        grid-template-columns: 1fr;
    }

    .embedded-game {
        height: 500px;
    }

    .proposition-item {
        flex-direction: column;
        text-align: center;
    }

    .prop-number {
        min-width: auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .play-hero h1 {
        font-size: 2.3rem;
    }

    .legal-intro h1 {
        font-size: 2.3rem;
    }

    .terms-document,
    .privacy-document,
    .disclaimer-document {
        padding: 2rem 1.5rem;
    }

    .age-gate-actions {
        flex-direction: column;
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 1.4rem;
    }

    .hero-inner h1 {
        font-size: 1.9rem;
    }

    .embedded-game {
        height: 400px;
    }
}