* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0d0d0d;
    color: #e5e5e5;
    min-height: 100vh;
}

/* Top Bar */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(90deg, #0d0d0d 0%, #1a1a1a 100%);
    border-bottom: 2px solid #10B981;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(16, 185, 129, 0.2);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #10B981;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 70px;
    bottom: 0;
    width: 250px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border-right: 2px solid rgba(16, 185, 129, 0.3);
    padding: 30px 0;
    z-index: 999;
    transition: transform 0.3s ease;
}

.nav-list {
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-link .icon {
    font-size: 20px;
}

.nav-link:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-left-color: #10B981;
}

.nav-link.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border-left-color: #10B981;
}

/* Main Area */
.main-area {
    margin-left: 250px;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Split */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-right: 2px solid rgba(16, 185, 129, 0.3);
}

.hero-left h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 22px;
    color: #b0b0b0;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.badge {
    display: inline-block;
    padding: 12px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-size: 15px;
    color: #10B981;
    font-weight: 600;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.hero-card {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 15px;
    padding: 40px;
}

.hero-card h3 {
    font-size: 28px;
    color: #10B981;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #d0d0d0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    color: #10B981;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    color: #b0b0b0;
}

/* Content Sections */
.content-section {
    padding: 60px 40px;
}

.content-section.dark {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    color: #10B981;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 30px;
    text-align: center;
}

/* Content Split */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.content-left p {
    font-size: 17px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.highlight-box {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 30px;
}

.highlight-box h4 {
    font-size: 24px;
    color: #10B981;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    font-size: 16px;
    padding: 10px 0;
    color: #d0d0d0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.highlight-box li:last-child {
    border-bottom: none;
}

/* Info Split */
.info-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-panel {
    background: rgba(16, 185, 129, 0.03);
    border: 2px solid;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
}

.info-panel.critical {
    border-color: #ef4444;
}

.info-panel.safe {
    border-color: #3b82f6;
}

.info-panel.warning {
    border-color: #f59e0b;
}

.panel-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.info-panel h3 {
    font-size: 24px;
    color: #10B981;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', sans-serif;
}

.info-panel p {
    font-size: 16px;
    line-height: 1.7;
    color: #c0c0c0;
}

/* Game Container */
.game-container {
    width: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-reminder {
    margin-top: 25px;
    text-align: center;
    font-size: 16px;
    color: #b0b0b0;
    font-style: italic;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-box h3 {
    font-size: 22px;
    color: #10B981;
    margin-bottom: 15px;
    font-family: 'Space Grotesk', sans-serif;
}

.feature-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Instructions */
.instructions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.instruction-card {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: #10B981;
    color: #0d0d0d;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.instruction-card h3 {
    font-size: 22px;
    color: #10B981;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.instruction-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #c0c0c0;
}

.tech-note {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #d0d0d0;
}

.important-notice {
    margin-top: 25px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #f59e0b;
    font-weight: 600;
}

/* Legal Wrapper */
.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-article {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 25px;
}

.legal-article h2 {
    font-size: 26px;
    color: #10B981;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.legal-article p {
    font-size: 16px;
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 15px;
}

.legal-article ul {
    margin: 15px 0 15px 30px;
}

.legal-article li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #d0d0d0;
}

.legal-article.highlight {
    border: 2px solid #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.highlight-icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
    border-top: 2px solid #10B981;
    padding: 50px 40px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 22px;
    color: #10B981;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #10B981;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #34d399;
    transform: translateX(5px);
}

/* Age Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border-radius: 20px;
    max-width: 500px;
    border: 3px solid #10B981;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.4);
    overflow: hidden;
}

.modal-header {
    background: #10B981;
    padding: 25px 35px;
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    color: #0d0d0d;
    font-weight: 700;
}

.modal-body {
    padding: 35px;
}

.modal-body p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 0 35px 35px;
}

.btn {
    flex: 1;
    padding: 15px 30px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #10B981;
    color: #0d0d0d;
}

.btn-primary:hover {
    background: #34d399;
    transform: scale(1.05);
}

.btn-secondary {
    background: #ef4444;
    color: white;
}

.btn-secondary:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar-nav {
        transform: translateX(-100%);
    }

    .sidebar-nav.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .main-area {
        margin-left: 0;
    }

    .topbar {
        padding: 0 20px;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-left {
        border-right: none;
        border-bottom: 2px solid rgba(16, 185, 129, 0.3);
        padding: 40px 30px;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-right {
        padding: 40px 30px;
    }

    .content-split {
        grid-template-columns: 1fr;
    }

    .info-split {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .instructions-container {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 40px 20px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .section-heading {
        font-size: 32px;
    }

    .game-frame {
        height: 500px;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-box {
        margin: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 32px;
    }

    .game-frame {
        height: 400px;
    }

    .logo-text {
        font-size: 20px;
    }
}
