* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #0a1929, #1a3a52);
    color: #e8f4f8;
    line-height: 1.7;
    min-height: 100vh;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0d2238 0%, #1e4976 100%);
    padding: 2rem 0;
    border-right: 3px solid #2196F3;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(33, 150, 243, 0.3);
}

.sidebar-header {
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-icon {
    font-size: 2.5rem;
}

.brand h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #4FC3F7;
}

.nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #b3d9ed;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(33, 150, 243, 0.2);
    color: #4FC3F7;
    transform: translateX(5px);
}

.nav-link.active {
    background: rgba(33, 150, 243, 0.4);
    color: #fff;
    border-left: 4px solid #2196F3;
}

.nav-icon {
    font-size: 1.5rem;
}

.top-nav {
    display: none;
}

.content-area {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
    padding-bottom: 100px;
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(79, 195, 247, 0.1));
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    border: 2px solid rgba(33, 150, 243, 0.4);
}

.welcome-banner h1 {
    font-size: 2.8rem;
    color: #4FC3F7;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.2rem;
    color: #b3d9ed;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.info-pills {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pill {
    background: rgba(33, 150, 243, 0.3);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #2196F3;
    font-weight: 600;
}

.important-notice {
    margin: 3rem 0;
}

.notice-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #2196F3;
}

.notice-card h2 {
    color: #4FC3F7;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.notice-item {
    text-align: center;
}

.notice-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.notice-item h3 {
    color: #4FC3F7;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.about-section {
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #2196F3;
}

.content-block h2 {
    color: #4FC3F7;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-block p {
    margin-bottom: 1.2rem;
}

.featured-game {
    margin: 4rem 0;
    text-align: center;
}

.featured-game h2 {
    font-size: 2.5rem;
    color: #4FC3F7;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #b3d9ed;
    margin-bottom: 2rem;
}

.game-embed-wrapper {
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #2196F3;
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.4);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.game-info-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.15);
    border-radius: 10px;
    border: 1px solid #2196F3;
}

.features-highlight {
    margin: 4rem 0;
}

.features-highlight h2 {
    font-size: 2.5rem;
    color: #4FC3F7;
    text-align: center;
    margin-bottom: 3rem;
}

.features-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.5);
    border-color: #2196F3;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #4FC3F7;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.responsibility-section {
    margin: 4rem 0;
}

.responsibility-card {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(79, 195, 247, 0.05));
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #2196F3;
}

.responsibility-card h2 {
    color: #4FC3F7;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.responsibility-card p {
    margin-bottom: 1.2rem;
}

.commitment-list {
    list-style: none;
    margin-top: 2rem;
}

.commitment-list li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
}

.site-footer {
    background: linear-gradient(180deg, #0d2238 0%, #0a1929 100%);
    border-top: 3px solid #2196F3;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    margin-left: 280px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.footer-col h3 {
    color: #4FC3F7;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.6rem 0;
}

.footer-col a {
    color: #b3d9ed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #4FC3F7;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(33, 150, 243, 0.3);
    color: #7aa8c4;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.93);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.modal-box {
    background: linear-gradient(135deg, #0d2238, #1e4976);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    border: 3px solid #2196F3;
    box-shadow: 0 0 50px rgba(33, 150, 243, 0.6);
}

.modal-header h2 {
    color: #4FC3F7;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-header p {
    color: #b3d9ed;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin: 1rem 0;
    line-height: 1.7;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-confirm,
.btn-deny {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, #2196F3, #4FC3F7);
    color: #fff;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.6);
}

.btn-deny {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #666;
}

.btn-deny:hover {
    background: rgba(255, 255, 255, 0.2);
}

.play-header {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(79, 195, 247, 0.1));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid rgba(33, 150, 243, 0.4);
}

.play-header h1 {
    font-size: 2.5rem;
    color: #4FC3F7;
    margin-bottom: 0.5rem;
}

.gameplay-guide {
    margin: 2rem 0;
}

.guide-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.guide-card h2 {
    color: #4FC3F7;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.guide-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.guide-point {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.point-icon {
    font-size: 2rem;
}

.game-play-area {
    margin: 2rem 0;
}

.game-container-play {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 15px;
    border: 3px solid #2196F3;
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.4);
}

.game-player {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.helpful-tips {
    margin: 2rem 0;
}

.tips-card {
    background: rgba(33, 150, 243, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #2196F3;
}

.tips-card h3 {
    color: #4FC3F7;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.tips-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4FC3F7;
    font-weight: bold;
}

.legal-page {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.8rem;
    color: #4FC3F7;
    text-align: center;
    margin-bottom: 1rem;
}

.doc-date {
    text-align: center;
    color: #7aa8c4;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    border-left: 5px solid #2196F3;
}

.legal-block h2 {
    color: #4FC3F7;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.legal-block p {
    margin-bottom: 1rem;
}

.legal-block ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-block li {
    margin: 0.5rem 0;
}

.important-block {
    background: rgba(33, 150, 243, 0.15);
    border: 3px solid #2196F3;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .top-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(180deg, #0d2238 0%, #1e4976 100%);
        padding: 1rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 998;
        border-bottom: 3px solid #2196F3;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: #4FC3F7;
        border-radius: 2px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: #4FC3F7;
    }

    .content-area {
        margin-left: 0;
        padding-top: 80px;
    }

    .site-footer {
        margin-left: 0;
    }

    .welcome-banner h1 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .info-pills {
        flex-direction: column;
        align-items: center;
    }

    .game-iframe,
    .game-player {
        height: 500px;
    }

    .features-flex,
    .notice-grid,
    .guide-points {
        grid-template-columns: 1fr;
    }
}
