* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(to bottom, #1a1a2e 0%, #2d1b3d 50%, #1a1a2e 100%);
    color: #e8e8e8;
    line-height: 1.6;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 30, 0.95);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 3px solid #9b59b6;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    color: #9b59b6;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: #c8c8c8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #9b59b6;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #9b59b6;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #9b59b6;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-nav-overlay {
    display: none;
    background: rgba(15, 15, 30, 0.98);
    padding: 25px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 3px solid #9b59b6;
}

.mobile-link {
    color: #c8c8c8;
    text-decoration: none;
    font-weight: 500;
    padding: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.mobile-link:hover,
.mobile-link.active {
    color: #9b59b6;
    border-left-color: #9b59b6;
    background: rgba(155, 89, 182, 0.1);
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-box {
    background: linear-gradient(135deg, #2d1b3d 0%, #1a1a2e 100%);
    padding: 45px;
    border-radius: 16px;
    text-align: center;
    max-width: 520px;
    border: 3px solid #9b59b6;
    box-shadow: 0 10px 50px rgba(155, 89, 182, 0.4);
}

.age-icon {
    font-size: 70px;
    margin-bottom: 20px;
}

.age-modal-box h2 {
    color: #9b59b6;
    margin-bottom: 18px;
    font-size: 30px;
    font-weight: 600;
}

.age-text {
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: 17px;
}

.age-requirement {
    background: rgba(155, 89, 182, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #9b59b6;
}

.age-requirement strong {
    color: #9b59b6;
    font-size: 18px;
}

.age-requirement p {
    margin-top: 8px;
    font-size: 14px;
    color: #c0c0c0;
}

.age-actions {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.age-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
}

.age-btn-primary {
    background: #9b59b6;
    color: white;
}

.age-btn-primary:hover {
    background: #8e44ad;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.5);
}

.age-btn-secondary {
    background: #e74c3c;
    color: white;
}

.age-btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2) 0%, rgba(45, 27, 61, 0.5) 100%);
    padding: 90px 0;
    text-align: center;
    border-bottom: 2px solid rgba(155, 89, 182, 0.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 52px;
    color: #9b59b6;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero-tagline {
    font-size: 22px;
    color: #d0d0d0;
    margin-bottom: 35px;
    font-weight: 300;
}

.hero-features {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(155, 89, 182, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #9b59b6;
    color: #d0d0d0;
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    padding: 70px 0;
}

.intro-header {
    text-align: center;
    margin-bottom: 35px;
}

.intro-header h2 {
    font-size: 40px;
    color: #9b59b6;
    margin-bottom: 15px;
}

.header-underline {
    width: 80px;
    height: 4px;
    background: #9b59b6;
    margin: 0 auto;
}

.intro-text {
    font-size: 17px;
    color: #c8c8c8;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
}

/* Principles Section */
.principles-section {
    padding: 70px 0;
    background: rgba(155, 89, 182, 0.05);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.principle-box {
    background: rgba(45, 27, 61, 0.4);
    padding: 35px;
    border-radius: 14px;
    border: 2px solid rgba(155, 89, 182, 0.4);
    transition: all 0.3s;
    position: relative;
}

.principle-box:hover {
    transform: translateY(-8px);
    border-color: #9b59b6;
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.3);
}

.principle-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: #9b59b6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.principle-box h3 {
    color: #9b59b6;
    margin-bottom: 18px;
    margin-top: 25px;
    font-size: 22px;
}

.principle-box p {
    color: #c0c0c0;
    line-height: 1.8;
}

/* Game Showcase */
.game-showcase {
    padding: 70px 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 45px;
}

.showcase-header h2 {
    font-size: 40px;
    color: #9b59b6;
    margin-bottom: 12px;
}

.showcase-header p {
    font-size: 18px;
    color: #c0c0c0;
}

.game-wrapper {
    max-width: 950px;
    margin: 0 auto;
}

.game-embed {
    background: #0f0f1e;
    padding: 20px;
    border-radius: 14px;
    border: 3px solid #9b59b6;
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.3);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px;
}

.game-details {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    background: rgba(45, 27, 61, 0.4);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid rgba(155, 89, 182, 0.4);
    color: #c0c0c0;
}

.detail-item strong {
    color: #9b59b6;
}

/* Value Section */
.value-section {
    padding: 70px 0;
    background: rgba(155, 89, 182, 0.05);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(45, 27, 61, 0.4);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(155, 89, 182, 0.3);
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: #9b59b6;
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.value-icon {
    font-size: 55px;
    color: #9b59b6;
    margin-bottom: 18px;
}

.value-card h4 {
    color: #9b59b6;
    margin-bottom: 12px;
    font-size: 20px;
}

.value-card p {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 15px;
}

/* Info Panel */
.info-panel {
    padding: 70px 0;
}

.info-panel h3 {
    color: #9b59b6;
    margin-bottom: 25px;
    font-size: 32px;
    text-align: center;
}

.info-panel p {
    color: #c8c8c8;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

/* Play Page */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    background: rgba(155, 89, 182, 0.05);
    border-bottom: 2px solid rgba(155, 89, 182, 0.3);
}

.page-header h1 {
    font-size: 46px;
    color: #9b59b6;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 19px;
    color: #c0c0c0;
}

.play-info {
    padding: 50px 0;
}

.info-box {
    background: rgba(155, 89, 182, 0.1);
    padding: 35px;
    border-radius: 14px;
    border: 2px solid #9b59b6;
}

.info-box h3 {
    color: #9b59b6;
    margin-bottom: 20px;
    font-size: 24px;
}

.info-list {
    list-style: none;
    color: #c8c8c8;
}

.info-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.info-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #9b59b6;
    font-size: 18px;
}

.play-area {
    padding: 40px 0 70px;
}

.play-notice {
    max-width: 950px;
    margin: 25px auto 0;
    text-align: center;
    padding: 22px;
    background: rgba(231, 76, 60, 0.15);
    border: 2px solid #e74c3c;
    border-radius: 10px;
    color: #f5b7b1;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
    min-height: calc(100vh - 350px);
}

.legal-page h1 {
    font-size: 44px;
    color: #9b59b6;
    margin-bottom: 12px;
}

.update-date {
    color: #888;
    margin-bottom: 45px;
    font-style: italic;
}

.legal-block {
    margin-bottom: 40px;
    background: rgba(45, 27, 61, 0.3);
    padding: 32px;
    border-radius: 12px;
    border-left: 5px solid #9b59b6;
}

.legal-block h2 {
    color: #9b59b6;
    margin-bottom: 18px;
    font-size: 28px;
}

.legal-block h3 {
    color: #ae7dbd;
    margin-top: 22px;
    margin-bottom: 12px;
    font-size: 21px;
}

.legal-block p {
    color: #c8c8c8;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-block ul {
    margin: 18px 0;
    padding-left: 28px;
    color: #c8c8c8;
}

.legal-block li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-block a {
    color: #9b59b6;
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}

.warning-block {
    background: rgba(231, 76, 60, 0.15);
    border-left-color: #e74c3c;
}

.warning-block h2 {
    color: #ec7063;
}

/* Footer */
.site-footer {
    background: #0f0f1e;
    border-top: 3px solid #9b59b6;
    padding: 50px 0 25px;
    margin-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 40px;
    margin-bottom: 35px;
}

.footer-col h4 {
    color: #9b59b6;
    margin-bottom: 18px;
    font-size: 19px;
}

.footer-desc {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #9b59b6;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(155, 89, 182, 0.3);
    color: #999;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-nav-overlay.active {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .intro-header h2,
    .showcase-header h2 {
        font-size: 32px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 450px;
    }

    .age-modal-box {
        margin: 20px;
        padding: 35px 25px;
    }

    .age-modal-box h2 {
        font-size: 26px;
    }

    .age-actions {
        flex-direction: column;
    }

    .legal-page h1 {
        font-size: 34px;
    }

    .legal-block h2 {
        font-size: 24px;
    }
}
