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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.75;
    color: #2D1B4E;
    background: linear-gradient(135deg, #FDF4FF 0%, #FEF3F2 100%);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.top-navigation {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    box-shadow: 0 4px 20px rgba(147,51,234,0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    width: 45px;
    height: 45px;
}

.brand-title {
    color: white;
    font-size: 1.8em;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-line {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.link-item {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.link-item:hover,
.link-item.current {
    background: rgba(249,115,22,0.3);
    color: #FED7AA;
}

/* Hero */
.page-hero {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    position: relative;
    padding: 100px 35px;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20 L30 30 L20 40 L10 30 Z" fill="rgba(147,51,234,0.15)"/><path d="M70 60 L80 70 L70 80 L60 70 Z" fill="rgba(147,51,234,0.12)"/></svg>');
    background-size: 400px 400px;
    opacity: 0.5;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4em;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 4px 25px rgba(0,0,0,0.2);
}

.hero-tagline {
    font-size: 1.6em;
    margin-bottom: 40px;
    opacity: 0.97;
    font-weight: 300;
}

.hero-chips {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.chip {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.35);
    font-size: 1.08em;
}

/* Content */
.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 35px;
}

/* Intro Card */
.intro-card {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(147,51,234,0.12);
    margin-bottom: 80px;
    border-top: 6px solid #9333EA;
}

.card-heading {
    font-size: 2.8em;
    font-weight: 900;
    color: #9333EA;
    margin-bottom: 35px;
}

.card-text {
    font-size: 1.2em;
    color: #57534E;
    margin-bottom: 25px;
    line-height: 1.9;
}

/* Principles Display */
.principles-display {
    margin-bottom: 80px;
}

.section-header {
    font-size: 2.8em;
    font-weight: 900;
    color: #2D1B4E;
    text-align: center;
    margin-bottom: 50px;
}

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

.principle-item {
    padding: 50px;
    border-radius: 25px;
    color: white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.principle-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

.purple-theme {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
}

.orange-theme {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.violet-theme {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.principle-symbol {
    font-size: 4.5em;
    margin-bottom: 30px;
}

.principle-title {
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: 22px;
}

.principle-description {
    font-size: 1.12em;
    line-height: 1.85;
    opacity: 0.97;
}

/* Game Display */
.game-display-area {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(147,51,234,0.12);
    margin-bottom: 80px;
}

.game-display-header {
    text-align: center;
    margin-bottom: 50px;
}

.game-display-text {
    font-size: 1.2em;
    color: #78716C;
    max-width: 800px;
    margin: 25px auto 0;
}

.game-display-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: linear-gradient(135deg, #FDF4FF 0%, #FEF3F2 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 6px 30px rgba(147,51,234,0.08);
}

.game-display-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Panels */
.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.info-panel-left,
.info-panel-right {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(147,51,234,0.12);
}

.panel-heading {
    font-size: 2em;
    font-weight: 700;
    color: #F97316;
    margin-bottom: 28px;
}

.panel-content {
    font-size: 1.12em;
    color: #57534E;
    margin-bottom: 22px;
    line-height: 1.9;
}

/* Features Showcase */
.features-showcase {
    background: linear-gradient(135deg, #2D1B4E 0%, #431E5E 100%);
    padding: 70px 60px;
    border-radius: 30px;
    color: white;
    margin-bottom: 80px;
}

.features-showcase .section-header {
    color: white;
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
}

.feature-icon {
    font-size: 3.5em;
    flex-shrink: 0;
}

.feature-name {
    display: block;
    font-size: 1.45em;
    margin-bottom: 12px;
    color: #FED7AA;
    font-weight: 600;
}

.feature-info {
    font-size: 1.08em;
    opacity: 0.92;
    line-height: 1.7;
}

/* Philosophy Section */
.philosophy-section {
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(147,51,234,0.12);
    margin-bottom: 80px;
}

.philosophy-text {
    font-size: 1.2em;
    color: #57534E;
    margin-bottom: 25px;
    line-height: 1.9;
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, #2D1B4E 0%, #1C1127 100%);
    color: white;
    padding: 70px 35px 35px;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-heading {
    font-size: 1.5em;
    font-weight: 700;
    color: #F97316;
    margin-bottom: 22px;
}

.footer-info {
    color: #E7E5E4;
    margin-bottom: 18px;
    line-height: 1.75;
}

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

.footer-menu li {
    margin-bottom: 14px;
}

.footer-menu a {
    color: #F5F5F4;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.08em;
}

.footer-menu a:hover {
    color: #F97316;
}

.footer-base {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #A8A29E;
}

/* Age Verification */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45,27,78,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(12px);
}

.age-verification.show {
    display: flex;
}

.age-verification-box {
    background: white;
    padding: 70px 60px;
    border-radius: 30px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
    border-top: 8px solid #F97316;
}

.age-icon {
    font-size: 7em;
    margin-bottom: 30px;
}

.age-title {
    font-size: 2.6em;
    font-weight: 900;
    color: #2D1B4E;
    margin-bottom: 25px;
}

.age-message {
    font-size: 1.3em;
    color: #44403C;
    margin-bottom: 20px;
}

.age-notice {
    font-size: 1.08em;
    color: #78716C;
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 45px;
}

.age-actions {
    display: flex;
    gap: 22px;
    justify-content: center;
}

.age-button {
    padding: 20px 50px;
    font-size: 1.22em;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.confirm-age {
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    color: white;
}

.confirm-age:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(147,51,234,0.4);
}

.deny-age {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: white;
}

.deny-age:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(220,38,38,0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 85px);
        background: linear-gradient(180deg, #9333EA 0%, #7C3AED 100%);
        flex-direction: column;
        padding: 35px 25px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        right: 0;
    }

    .link-item {
        padding: 16px 22px;
    }

    .page-hero {
        padding: 70px 30px;
    }

    .hero-title {
        font-size: 2.8em;
    }

    .hero-tagline {
        font-size: 1.35em;
    }

    .content-wrapper {
        padding: 0 25px;
    }

    .intro-card,
    .game-display-area,
    .philosophy-section {
        padding: 40px 30px;
    }

    .card-heading,
    .section-header {
        font-size: 2.2em;
    }

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

    .features-showcase {
        padding: 50px 30px;
    }

    .age-verification-box {
        margin: 25px;
        padding: 50px 40px;
    }

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

    .age-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .brand-title {
        font-size: 1.5em;
    }

    .hero-title {
        font-size: 2.2em;
    }

    .hero-tagline {
        font-size: 1.2em;
    }

    .card-heading,
    .section-header {
        font-size: 1.9em;
    }

    .info-panels {
        grid-template-columns: 1fr;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .feature-block {
        flex-direction: column;
        text-align: center;
    }
}
