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

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: linear-gradient(to bottom, #e0f2f1 0%, #b2dfdb 100%);
    min-height: 100vh;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 77, 64, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

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

.age-dialog {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    padding: 3rem;
    border-radius: 30px;
    max-width: 500px;
    margin: 0 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-symbol {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-dialog h2 {
    font-size: 2rem;
    color: #00695c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.age-dialog p {
    font-size: 1.05rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.age-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(0, 150, 136, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
}

.age-features span {
    font-size: 0.95rem;
    color: #00695c;
}

.age-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-actions button {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s;
}

.accept-btn {
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    color: white;
}

.accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 137, 123, 0.3);
}

.decline-btn {
    background: #cbd5e0;
    color: #2d3748;
}

.decline-btn:hover {
    background: #a0aec0;
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    color: #00695c;
}

.brand-symbol {
    font-size: 2rem;
}

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

.menu-line {
    width: 28px;
    height: 3px;
    background: #00695c;
    border-radius: 3px;
    transition: 0.3s;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-item:hover {
    color: #00897b;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.welcome-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

.welcome-content h1 {
    font-size: 3.5rem;
    color: #00695c;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.tagline {
    font-size: 1.4rem;
    color: #00897b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 137, 123, 0.4);
}

.welcome-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
}

.circle-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #80cbc4 0%, #4db6ac 100%);
    animation: float 4s ease-in-out infinite;
}

.circle-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #a7ffeb 0%, #64ffda 100%);
    left: 50px;
    animation: float 5s ease-in-out infinite;
}

.circle-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    right: 40px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.principle-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.principle-card:hover {
    transform: translateY(-8px);
}

.principle-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.principle-card h3 {
    font-size: 1.4rem;
    color: #00695c;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.principle-card p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
}

.philosophy {
    padding: 4rem 0;
}

.philosophy-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.philosophy-wrapper h2 {
    font-size: 2.5rem;
    color: #00695c;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.qualities {
    padding: 4rem 0;
}

.qualities h2 {
    font-size: 2.5rem;
    color: #00695c;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.quality {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid #e0f2f1;
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quality h3 {
    font-size: 1.4rem;
    color: #00695c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.quality p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.7;
}

.game-display {
    padding: 4rem 0;
}

.game-display-wrapper {
    text-align: center;
}

.game-display-wrapper h2 {
    font-size: 2.5rem;
    color: #00695c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-description {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
}

.game-container {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
    margin: 0 auto 2rem;
}

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

.secondary-btn {
    display: inline-block;
    background: white;
    color: #00897b;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #00897b;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background: #00897b;
    color: white;
    transform: translateY(-3px);
}

.understanding {
    padding: 4rem 0;
}

.understanding-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.understanding-block {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.understanding-block h3 {
    font-size: 1.8rem;
    color: #00695c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.understanding-block p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.mindfulness {
    padding: 4rem 0;
}

.mindfulness-card {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 3rem;
    border-radius: 30px;
    max-width: 1000px;
    margin: 0 auto;
    border-left: 6px solid #00897b;
}

.mindfulness-card h3 {
    font-size: 1.8rem;
    color: #004d40;
    margin-bottom: 1rem;
    font-weight: 700;
}

.mindfulness-card p {
    font-size: 1.1rem;
    color: #00695c;
    line-height: 1.9;
}

.site-footer {
    background: white;
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-size: 1.2rem;
    color: #00695c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-block p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-block a {
    display: block;
    color: #718096;
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: #00897b;
}

.footer-note {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: #a0aec0;
    font-size: 0.9rem;
}

.page-intro {
    text-align: center;
    padding: 3rem 0;
    background: white;
    border-radius: 30px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-intro h1 {
    font-size: 3rem;
    color: #00695c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-intro p {
    font-size: 1.2rem;
    color: #718096;
}

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

.play-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.play-guide {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.play-guide h2 {
    font-size: 2rem;
    color: #00695c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.play-guide p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.guide-box {
    background: #f0fdfa;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    border-left: 4px solid #00897b;
}

.guide-box h3 {
    font-size: 1.5rem;
    color: #00695c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.guide-list {
    list-style-position: inside;
    color: #4a5568;
}

.guide-list li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.play-game {
    max-width: 100%;
}

.play-reminder {
    background: #fff3e0;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #ff9800;
}

.play-reminder h3 {
    font-size: 1.5rem;
    color: #e65100;
    margin-bottom: 1rem;
    font-weight: 700;
}

.play-reminder p {
    color: #ef6c00;
    font-size: 1.05rem;
    line-height: 1.8;
}

.document-page {
    max-width: 1000px;
    margin: 0 auto;
}

.document-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.document-wrapper h1 {
    font-size: 2.8rem;
    color: #00695c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.doc-date {
    color: #a0aec0;
    font-style: italic;
    margin-bottom: 2rem;
}

.document-text h2 {
    font-size: 1.6rem;
    color: #00695c;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.document-text p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

@media (max-width: 968px) {
    .menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        gap: 0;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-item {
        padding: 1rem 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .welcome-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .welcome-content h1 {
        font-size: 2.5rem;
    }
    
    .welcome-visual {
        height: 300px;
    }
    
    .circle-1 {
        width: 180px;
        height: 180px;
    }
    
    .circle-2 {
        width: 130px;
        height: 130px;
    }
    
    .circle-3 {
        width: 90px;
        height: 90px;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .understanding-wrapper {
        grid-template-columns: 1fr;
    }
    
    .age-dialog {
        padding: 2rem;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
