* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to right, #e8f5e3, #f0f7ed);
    color: #2c3e2f;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    color: #1a4d2e;
    font-weight: 600;
}

.main-header {
    background: linear-gradient(90deg, #1a4d2e 0%, #2d7a4f 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 500;
}

.header-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 700;
    color: #f4d03f;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #f4d03f;
    border-bottom-color: #f4d03f;
}

.nav-link.active {
    color: #f4d03f;
    border-bottom-color: #f4d03f;
    font-weight: 600;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-burger span {
    width: 30px;
    height: 3px;
    background: #f4d03f;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero-banner {
    background: linear-gradient(135deg, #2d7a4f 0%, #1a4d2e 100%);
    color: #ffffff;
    padding: 6rem 2.5rem;
    text-align: center;
    box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.hero-inner h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #f4d03f;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-inner p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
}

.welcome-block {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border-left: 6px solid #2d7a4f;
}

.welcome-block h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.welcome-block p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3a3a3a;
}

.important-notices {
    margin-bottom: 3rem;
}

.important-notices h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a4d2e;
}

.notice-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.notice-box {
    flex: 1;
    min-width: 280px;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.notice-box.warning {
    background: linear-gradient(135deg, #d64545 0%, #c92a2a 100%);
    color: #ffffff;
}

.notice-box.info {
    background: linear-gradient(135deg, #4c9aff 0%, #2e7dd6 100%);
    color: #ffffff;
}

.notice-box.alert {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #ffffff;
}

.notice-box .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.notice-box h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: inherit;
}

.notice-box p {
    font-size: 1rem;
    line-height: 1.7;
}

.featured-game {
    margin-bottom: 3rem;
}

.featured-game h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1a4d2e;
}

.game-intro,
.game-note {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
}

.game-note {
    font-style: italic;
    margin-top: 1.5rem;
}

.game-embed {
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.game-window {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.advantages {
    margin-bottom: 3rem;
}

.advantages h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #1a4d2e;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2d7a4f;
}

.advantage-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.adv-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.adv-icon {
    font-size: 2.5rem;
}

.advantage-item h4 {
    font-size: 1.5rem;
    color: #1a4d2e;
}

.advantage-item p {
    color: #555;
    line-height: 1.7;
}

.commitment {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #f4d03f;
}

.commitment h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.commitment p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3a3a3a;
}

.site-footer {
    background: linear-gradient(90deg, #1a4d2e 0%, #2d7a4f 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #f4d03f;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-copy {
    font-size: 0.95rem;
    opacity: 0.85;
}

.age-gate {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-gate.active {
    display: flex;
}

.age-gate-content {
    background: linear-gradient(135deg, #f0f7ed, #ffffff);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 550px;
    margin: 1.5rem;
    border: 4px solid #f4d03f;
}

.age-gate-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.age-gate-content p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: #2c3e2f;
}

.age-question {
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn.confirm {
    background: #2d7a4f;
    color: #ffffff;
}

.age-btn.confirm:hover {
    background: #1a4d2e;
    transform: scale(1.05);
}

.age-btn.decline {
    background: #c92a2a;
    color: #ffffff;
}

.age-btn.decline:hover {
    background: #a02020;
    transform: scale(1.05);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #2d7a4f;
}

.page-header h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #1a4d2e;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

.play-guide {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.play-guide h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a4d2e;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-num {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #f4d03f;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.step p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.play-tips {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.play-tips h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: #3a3a3a;
    line-height: 1.7;
    border-bottom: 1px solid #e8e8e8;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: #2d7a4f;
    font-weight: 700;
}

.play-reminder {
    background: linear-gradient(135deg, #fff9e6, #ffffff);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border: 2px solid #f4d03f;
}

.play-reminder h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.play-reminder p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3a3a3a;
}

.legal-page .legal-article {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-bottom: 2.5rem;
    border-left: 4px solid #2d7a4f;
}

.legal-article h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a4d2e;
}

.legal-article p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: #3a3a3a;
}

.legal-article.highlight {
    border-left: 6px solid #f4d03f;
    background: linear-gradient(to right, #fff9e6, #ffffff);
    border: 3px solid #f4d03f;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4f 100%);
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem;
        text-align: center;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-left-color: #f4d03f;
        border-bottom-color: transparent;
    }
    
    .nav-burger {
        display: flex;
    }
    
    .hero-inner h2 {
        font-size: 2rem;
    }
    
    .hero-inner p {
        font-size: 1.2rem;
    }
    
    .notice-flex {
        flex-direction: column;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    .game-window {
        height: 400px;
    }
    
    .age-actions {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .game-window {
        height: 300px;
    }
    
    .welcome-block,
    .commitment,
    .play-guide,
    .play-tips,
    .play-reminder,
    .legal-article {
        padding: 1.5rem;
    }
}
