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

:root {
    --mint: #98d8c8;
    --sage: #7ba87e;
    --lavender: #b8b8d8;
    --peach: #f6bd99;
    --cream: #faf8f3;
    --soft-gray: #e8e8e8;
    --text-dark: #3a3a3a;
    --text-medium: #6a6a6a;
    --white: #ffffff;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Age Check */
.age-check {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.age-container {
    background: var(--white);
    padding: 60px 50px;
    max-width: 500px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.age-symbol {
    font-size: 80px;
    margin-bottom: 25px;
    animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.age-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--sage);
}

.age-info, .age-prompt {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.age-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn-confirm, .btn-decline {
    padding: 16px 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    border-color: var(--mint);
    color: var(--sage);
}

.btn-confirm:hover {
    background: var(--mint);
    color: var(--white);
}

.btn-decline {
    border-color: var(--soft-gray);
    color: var(--text-medium);
}

.btn-decline:hover {
    background: var(--soft-gray);
}

/* Navigation */
.top-nav {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--sage);
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--sage);
    border-radius: 3px;
    transition: 0.3s;
}

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

.menu-link {
    color: var(--text-medium);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-link:hover, .menu-link.active-link {
    color: var(--sage);
}

.menu-link.active-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--mint);
    border-radius: 2px;
}

/* Hero */
.hero {
    padding: 100px 30px;
    background: linear-gradient(135deg, var(--mint) 0%, var(--lavender) 100%);
    text-align: center;
}

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

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

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-intro {
    font-size: 20px;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.pillar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

/* Sections */
section {
    padding: 80px 30px;
}

.section-header {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--sage);
}

/* Essence */
.essence {
    background: var(--white);
}

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

.essence-card {
    background: var(--cream);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--mint);
}

.essence-card p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* Principles */
.principles {
    background: var(--soft-gray);
}

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

.principle-box {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.principle-box:hover {
    transform: translateY(-5px);
}

.principle-emoji {
    font-size: 60px;
    margin-bottom: 20px;
}

.principle-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--sage);
}

.principle-box p {
    font-size: 16px;
    color: var(--text-medium);
}

/* Showcase */
.showcase {
    background: var(--white);
}

.showcase-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 40px;
}

.game-window {
    max-width: 1000px;
    margin: 0 auto 35px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.play-button {
    display: inline-block;
    margin: 0 auto;
    padding: 18px 45px;
    background: var(--mint);
    color: var(--white);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: table;
}

.play-button:hover {
    background: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123, 168, 126, 0.3);
}

/* Qualities */
.qualities {
    background: var(--soft-gray);
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.quality {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.quality:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.quality-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.quality h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--sage);
}

.quality p {
    font-size: 15px;
    color: var(--text-medium);
}

/* Understanding */
.understanding {
    background: var(--white);
}

.understanding-content {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--cream);
    padding: 50px;
    border-radius: 20px;
}

.understanding-content p {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 20px;
    text-align: center;
}

/* Resources */
.resources {
    background: var(--soft-gray);
}

.resources-note {
    text-align: center;
    font-size: 17px;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 35px;
}

.resources-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 35px;
    background: var(--white);
    border: 2px solid var(--mint);
    color: var(--sage);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: var(--mint);
    color: var(--white);
    transform: translateX(8px);
}

.resource-icon {
    font-size: 24px;
}

/* Footer */
.site-footer {
    background: var(--white);
    padding: 50px 30px 25px;
    border-top: 2px solid var(--soft-gray);
}

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

.footer-col h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--sage);
}

.footer-col p {
    color: var(--text-medium);
    font-size: 15px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: var(--sage);
}

.footer-base {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--soft-gray);
    color: var(--text-medium);
    font-size: 14px;
}

/* Play Page */
.play-intro {
    background: linear-gradient(135deg, var(--peach) 0%, var(--lavender) 100%);
    padding: 80px 30px;
    text-align: center;
}

.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.play-description {
    font-size: 19px;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.play-guide {
    background: var(--white);
    padding: 60px 30px;
}

.guide-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--cream);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--mint);
}

.guide-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--sage);
    text-align: center;
}

.guide-list {
    color: var(--text-medium);
    margin-left: 25px;
    margin-bottom: 25px;
}

.guide-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.tech-info {
    color: var(--text-medium);
    font-size: 15px;
    text-align: center;
}

.play-area {
    background: var(--soft-gray);
    padding: 60px 30px;
}

.game-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.game-iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.play-reminder {
    background: var(--white);
    padding: 50px 30px;
}

.reminder-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(152, 216, 200, 0.1);
    border: 2px solid var(--mint);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
}

.reminder-card p {
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
}

/* Document Pages */
.doc-intro {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--peach) 100%);
    padding: 70px 30px 40px;
    text-align: center;
}

.doc-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.doc-body {
    background: var(--white);
    padding: 60px 30px;
}

.doc-article {
    margin-bottom: 40px;
}

.doc-article h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--sage);
}

.doc-article p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.doc-article ul {
    color: var(--text-medium);
    margin-left: 30px;
    margin-bottom: 16px;
}

.doc-article li {
    margin-bottom: 8px;
    font-size: 15px;
}

.alert-banner {
    background: rgba(152, 216, 200, 0.15);
    border-top: 3px solid var(--mint);
    border-bottom: 3px solid var(--mint);
    padding: 30px;
}

.alert-banner p {
    color: var(--text-dark);
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.closing-message {
    background: rgba(246, 189, 153, 0.15);
    border-top: 3px solid var(--peach);
    border-bottom: 3px solid var(--peach);
    padding: 30px;
}

.closing-message p {
    color: var(--text-dark);
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-link {
        font-size: 18px;
        padding: 18px 0;
        border-bottom: 1px solid var(--soft-gray);
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .section-header {
        font-size: 32px;
    }
    
    .essence-grid {
        grid-template-columns: 1fr;
    }
    
    .principles-flow, .qualities-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .game-iframe {
        height: 500px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    
    .age-container {
        padding: 40px 25px;
    }
    
    .hero {
        padding: 70px 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .understanding-content {
        padding: 30px;
    }
}
