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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(to bottom, #1a1a2e, #16213e, #0f3460);
    color: #f0f0f0;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 100%);
    border-right: 3px solid #ff6b35;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.sidebar-header h2 {
    font-family: 'Righteous', cursive;
    color: #ff6b35;
    font-size: 1.8rem;
    margin-top: 1rem;
}

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

.nav-link {
    display: block;
    padding: 1rem 2rem;
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    font-weight: 600;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 107, 53, 0.1);
    border-left-color: #ff6b35;
    color: #ff6b35;
}

.sidebar-footer {
    padding: 2rem;
    text-align: center;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    color: #888;
    font-size: 0.9rem;
}

.sidebar-footer p {
    margin: 0.3rem 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    background: #ff6b35;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2rem;
}

/* Splash Section */
.splash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 500px;
    padding: 3rem 0;
}

.splash-content h1 {
    font-family: 'Righteous', cursive;
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #c0c0c0;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.splash-visual {
    position: relative;
    height: 400px;
}

.floating-card, .floating-dice, .floating-coin {
    position: absolute;
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.floating-dice {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.floating-coin {
    bottom: 10%;
    left: 40%;
    animation-delay: 2s;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: #ff6b35;
    font-family: 'Righteous', cursive;
    margin-bottom: 1rem;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 3rem 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.showcase-header p {
    font-size: 1.1rem;
    color: #c0c0c0;
}

.game-embed {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid #ff6b35;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

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

.game-tips {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tip {
    color: #c0c0c0;
    font-size: 0.95rem;
}

/* Important Info */
.important-info {
    padding: 5rem 0;
}

.important-info h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 3rem;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-box {
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid;
}

.info-box.danger {
    background: rgba(255, 50, 50, 0.15);
    border-color: #ff3232;
}

.info-box.warning {
    background: rgba(255, 200, 0, 0.15);
    border-color: #ffc800;
}

.info-box.alert {
    background: rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.info-box h3 {
    font-family: 'Righteous', cursive;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Benefits */
.benefits {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.benefits-container {
    max-width: 800px;
    margin: 0 auto;
}

.benefits h2 {
    font-family: 'Righteous', cursive;
    font-size: 2.5rem;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.check {
    color: #ff6b35;
    font-size: 2rem;
    font-weight: bold;
}

.benefits-list strong {
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem 2rem 1rem;
    margin-top: 5rem;
    border-top: 3px solid #ff6b35;
}

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

.footer-col h4 {
    color: #ff6b35;
    font-family: 'Righteous', cursive;
    margin-bottom: 1rem;
}

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

.footer-col a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin: 0.5rem 0;
}

.footer-col a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    color: #888;
}

/* Age Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.age-modal-box {
    background: linear-gradient(135deg, #2d2d44, #1a1a2e);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #ff6b35;
    box-shadow: 0 10px 50px rgba(255, 107, 53, 0.5);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-box h2 {
    color: #ff6b35;
    font-family: 'Righteous', cursive;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal-box p {
    margin-bottom: 1rem;
    color: #c0c0c0;
}

.age-disclaimer {
    font-size: 0.9rem;
    color: #888;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-buttons button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.5);
}

.btn-deny {
    background: #444;
    color: #fff;
}

.btn-deny:hover {
    background: #555;
}

/* Play Page */
.play-header {
    text-align: center;
    padding: 2rem 0;
}

.play-header h1 {
    font-family: 'Righteous', cursive;
    color: #ff6b35;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-header p {
    color: #c0c0c0;
    max-width: 700px;
    margin: 0 auto;
}

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

.game-fullscreen {
    max-width: 1000px;
    margin: 0 auto;
    border: 3px solid #ff6b35;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
}

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

.play-guide {
    padding: 3rem 0;
}

.play-guide h2 {
    font-family: 'Righteous', cursive;
    color: #ff6b35;
    text-align: center;
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.guide-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.guide-item h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.play-notice {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: 'Righteous', cursive;
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.date-stamp {
    color: #888;
    margin-bottom: 2rem;
}

.legal-block {
    margin-bottom: 2.5rem;
}

.legal-block h2 {
    color: #ff6b35;
    font-family: 'Righteous', cursive;
    margin-bottom: 1rem;
}

.legal-block p {
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar {
        left: -280px;
        transition: left 0.3s;
    }

    .sidebar.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding: 4rem 1rem 1rem;
    }

    .splash {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .splash-content h1 {
        font-size: 2rem;
    }

    .splash-visual {
        height: 300px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }

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

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