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

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(to bottom right, #2c1810 0%, #4a2c2a 50%, #2c1810 100%);
    color: #f5e6d3;
    line-height: 1.7;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.age-prompt {
    background: linear-gradient(135deg, #8B2635, #6b1a28);
    border: 4px solid #f5e6d3;
    border-radius: 30px;
    padding: 60px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(245, 230, 211, 0.2);
}

.age-title {
    font-size: 38px;
    color: #f5e6d3;
    margin-bottom: 25px;
    font-weight: 700;
}

.age-prompt p {
    font-size: 18px;
    margin-bottom: 18px;
    color: #f5e6d3;
}

.age-note {
    font-size: 16px;
    color: #d9c7b8;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 18px 45px;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: #f5e6d3;
    color: #8B2635;
}

.btn-yes:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 230, 211, 0.4);
}

.btn-no {
    background: #4a2c2a;
    color: #f5e6d3;
}

.btn-no:hover {
    background: #5a3c3a;
}

.site-header {
    background: rgba(44, 24, 16, 0.8);
    border-bottom: 3px solid #8B2635;
    padding: 0;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 6%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #f5e6d3;
}

.logo-accent {
    color: #8B2635;
    font-size: 32px;
}

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

.hamburger-menu .line {
    width: 32px;
    height: 3px;
    background: #f5e6d3;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-list a {
    color: #f5e6d3;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #8B2635;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        z-index: 101;
    }
    
    .nav-list {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 70%;
        background: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        padding: 100px 35px 35px;
        transition: right 0.4s ease;
        border-left: 3px solid #8B2635;
        gap: 25px;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list a {
        font-size: 20px;
    }
}

.main-area {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 30px;
}

.welcome-area {
    background: linear-gradient(135deg, #8B2635, #6b1a28);
    border: 3px solid #f5e6d3;
    border-radius: 25px;
    padding: 70px 35px;
    text-align: center;
    margin-bottom: 55px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.welcome-area h1 {
    font-size: 48px;
    color: #f5e6d3;
    margin-bottom: 18px;
    font-weight: 700;
}

.welcome-subtitle {
    font-size: 22px;
    color: #f5e6d3;
    font-weight: 500;
}

.description-section, .about-us {
    margin: 55px 0;
}

.description-section h2, .about-us h2 {
    font-size: 36px;
    color: #8B2635;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.description-section p, .about-us p {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
}

.important-notices {
    margin: 60px 0;
}

.notice-wrapper {
    background: rgba(139, 38, 53, 0.2);
    border: 3px solid #8B2635;
    border-radius: 25px;
    padding: 45px;
}

.notice-wrapper h3 {
    font-size: 32px;
    color: #f5e6d3;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
}

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

.notice-point {
    background: rgba(44, 24, 16, 0.5);
    padding: 30px;
    border-radius: 18px;
    border: 2px solid #8B2635;
}

.notice-point strong {
    display: block;
    color: #f5e6d3;
    font-size: 20px;
    margin-bottom: 12px;
}

.notice-point p {
    font-size: 16px;
    margin: 0;
}

.game-feature {
    margin: 60px 0;
}

.game-feature h2 {
    font-size: 38px;
    color: #8B2635;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.feature-description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 35px;
}

.game-container {
    background: #000;
    border: 4px solid #8B2635;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

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

.game-info {
    text-align: center;
    font-size: 17px;
}

.features-showcase {
    margin: 60px 0;
}

.features-showcase h2 {
    font-size: 38px;
    color: #8B2635;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

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

.feature-item {
    background: rgba(139, 38, 53, 0.15);
    border: 2px solid #8B2635;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: #f5e6d3;
    box-shadow: 0 12px 30px rgba(139, 38, 53, 0.3);
}

.feature-emoji {
    font-size: 52px;
    display: block;
    margin-bottom: 18px;
}

.feature-item h3 {
    font-size: 22px;
    color: #8B2635;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.7;
}

.play-welcome {
    background: linear-gradient(135deg, #8B2635, #6b1a28);
    border: 3px solid #f5e6d3;
    border-radius: 25px;
    padding: 60px 35px;
    text-align: center;
    margin-bottom: 50px;
}

.play-welcome h1 {
    font-size: 44px;
    color: #f5e6d3;
    margin-bottom: 15px;
    font-weight: 700;
}

.play-description {
    font-size: 20px;
    color: #f5e6d3;
}

.gameplay-section {
    margin: 50px 0;
}

.game-display {
    background: #000;
    border: 4px solid #8B2635;
    border-radius: 20px;
    padding: 20px;
}

.game-player {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .game-player {
        height: 550px;
    }
    
    .game-frame {
        height: 500px;
    }
}

.game-instructions {
    margin: 60px 0;
}

.game-instructions h2 {
    font-size: 36px;
    color: #8B2635;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
}

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

.instruction-box {
    background: rgba(139, 38, 53, 0.15);
    border-left: 5px solid #8B2635;
    border-radius: 12px;
    padding: 30px;
}

.instruction-box h3 {
    font-size: 20px;
    color: #8B2635;
    margin-bottom: 12px;
    font-weight: 700;
}

.instruction-box p {
    font-size: 16px;
}

.friendly-reminder {
    margin: 50px 0;
}

.reminder-panel {
    background: rgba(139, 38, 53, 0.2);
    border: 3px solid #8B2635;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.reminder-panel p {
    font-size: 18px;
}

.page-title {
    background: linear-gradient(135deg, #8B2635, #6b1a28);
    border: 3px solid #f5e6d3;
    border-radius: 25px;
    padding: 55px 35px;
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 42px;
    color: #f5e6d3;
    margin-bottom: 12px;
    font-weight: 700;
}

.doc-updated {
    font-size: 17px;
    color: #d9c7b8;
}

.legal-text {
    background: rgba(139, 38, 53, 0.1);
    border-left: 6px solid #8B2635;
    border-radius: 20px;
    padding: 50px;
}

.legal-text h2 {
    font-size: 28px;
    color: #8B2635;
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 700;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 22px;
    color: #8B2635;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-text p {
    font-size: 17px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.legal-text ul {
    margin: 20px 0 20px 35px;
}

.legal-text li {
    margin: 12px 0;
    line-height: 1.7;
}

.special-notice {
    background: rgba(139, 38, 53, 0.2);
    border: 3px solid #8B2635;
    border-radius: 18px;
    padding: 35px;
    margin: 35px 0;
}

.special-notice h2 {
    margin-top: 0;
}

.site-footer {
    background: rgba(0, 0, 0, 0.7);
    border-top: 3px solid #8B2635;
    padding: 50px 6%;
    margin-top: 80px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 22px;
    color: #8B2635;
    margin-bottom: 18px;
    font-weight: 700;
}

.footer-section p {
    font-size: 16px;
    margin-bottom: 18px;
    line-height: 1.7;
}

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

.footer-links li {
    margin: 12px 0;
}

.footer-links a {
    color: #f5e6d3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8B2635;
}

.footer-copy {
    color: #d9c7b8;
    font-size: 15px;
}

@media (max-width: 768px) {
    .main-area {
        padding: 30px 20px;
    }
    
    .welcome-area h1 {
        font-size: 36px;
    }
    
    .welcome-subtitle {
        font-size: 18px;
    }
    
    .legal-text {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
