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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ecf0f1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #006064;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

/* Age Verification */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 96, 100, 0.98);
    z-index: 20000;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-box {
    background: white;
    max-width: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-header {
    background: linear-gradient(135deg, #006064 0%, #00838f 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.age-header h2 {
    color: white;
    font-size: 2.2rem;
    margin: 0;
}

.age-body {
    padding: 3rem;
    text-align: center;
}

.age-body p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #34495e;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.age-actions button {
    flex: 1;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm {
    background: #006064;
    color: white;
}

.btn-confirm:hover {
    background: #004d51;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 96, 100, 0.3);
}

.btn-deny {
    background: #e74c3c;
    color: white;
}

.btn-deny:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #006064 0%, #004d51 100%);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand h2 {
    color: #00e5ff;
    font-size: 1.8rem;
    margin: 0;
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin: 0.5rem 0;
}

.sidebar-nav a {
    display: block;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(0, 229, 255, 0.2);
    border-left: 4px solid #00e5ff;
    padding-left: calc(2rem - 4px);
}

.sidebar-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.age-badge {
    display: inline-block;
    background: #00e5ff;
    color: #006064;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    background: #ecf0f1;
}

.top-bar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #006064;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.top-brand span {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #006064;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #006064 0%, #00838f 100%);
    color: white;
    padding: 5rem 3rem;
    text-align: center;
}

.banner h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.banner-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.25);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* Content Box */
.content-box {
    background: white;
    padding: 3rem;
    margin: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-box h2 {
    margin-bottom: 1.5rem;
}

.content-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Sections */
.about, .advantages, .philosophy {
    padding: 2rem 0;
}

/* Key Points */
.key-points {
    padding: 3rem 3rem;
}

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

.point-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid;
}

.red-accent {
    border-top-color: #e74c3c;
}

.blue-accent {
    border-top-color: #3498db;
}

.orange-accent {
    border-top-color: #f39c12;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.point-card h3 {
    margin-bottom: 1rem;
}

.point-card p {
    line-height: 1.8;
}

/* Game Frame */
.game-frame {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Advantages */
.advantage-list {
    margin-top: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #ecf0f1;
}

.advantage-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.advantage-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.advantage-text h3 {
    margin-bottom: 0.5rem;
}

.advantage-text p {
    margin: 0;
    line-height: 1.7;
}

/* Philosophy */
.philosophy-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Play Page */
.play-banner {
    background: linear-gradient(135deg, #006064 0%, #00838f 100%);
    color: white;
    padding: 3rem;
    text-align: center;
}

.play-banner h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.play-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
}

.game-instructions {
    padding: 2rem 0;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inst-number {
    width: 60px;
    height: 60px;
    background: #006064;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.game-play-area {
    padding: 2rem 0;
}

.game-details {
    padding: 2rem 0;
}

.detail-list {
    list-style: none;
    margin-top: 1.5rem;
}

.detail-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #ecf0f1;
}

.detail-list li:last-child {
    border-bottom: none;
}

.important-reminder {
    padding: 2rem 3rem;
}

.reminder-box {
    background: #fff3cd;
    border: 3px solid #ffc107;
    border-radius: 15px;
    padding: 2.5rem;
}

.reminder-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.reminder-box p {
    color: #856404;
    font-size: 1.1rem;
    margin: 0;
}

/* Legal Document */
.legal-document {
    padding: 2rem 0;
}

.document-date {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-document h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-document p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.legal-document ul {
    margin: 1.5rem 0 1.5rem 2.5rem;
    line-height: 1.9;
}

.terms-summary {
    background: #d1ecf1;
    border-left: 5px solid #006064;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
}

.terms-summary h3 {
    margin-bottom: 1rem;
}

.terms-summary p {
    margin: 0;
    font-size: 1.1rem;
}

.critical-notice {
    background: #fff3cd;
    border: 3px solid #ffc107;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.critical-notice h2 {
    color: #856404;
    margin-top: 0;
}

.critical-notice p {
    color: #856404;
    margin: 0;
}

/* Footer */
.site-footer {
    background: #006064;
    color: white;
    padding: 3rem 3rem 1.5rem;
}

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

.footer-column h3 {
    color: #00e5ff;
    margin-bottom: 1.5rem;
}

.footer-column p {
    line-height: 1.7;
    opacity: 0.9;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: #00e5ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .close-sidebar {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .banner h1,
    .play-banner h1 {
        font-size: 2rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .banner-features {
        flex-direction: column;
        align-items: center;
    }

    .content-box {
        margin: 1rem;
        padding: 2rem;
    }

    .key-points {
        padding: 2rem 1rem;
    }

    .important-reminder {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .game-frame iframe {
        height: 400px;
    }

    .site-footer {
        padding: 2rem 1.5rem 1rem;
    }

    .age-box {
        margin: 1rem;
    }

    .age-body {
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }
}