* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #f0f4f8, #d9e2ec);
    color: #2d3748;
    line-height: 1.6;
}

/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2em;
    color: #1a202c;
    margin-bottom: 20px;
}

.modal-box p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #4a5568;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.modal-actions button {
    padding: 15px 35px;
    font-size: 1.1em;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-decline {
    background: #e2e8f0;
    color: #718096;
}

.btn-decline:hover {
    background: #cbd5e0;
}

/* Page Layout */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    padding: 0 30px 30px;
    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: 12px;
}

.brand-icon {
    font-size: 2em;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: 1px;
}

.close-sidebar {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-nav {
    padding: 30px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-icon {
    font-size: 1.4em;
}

.sidebar-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-top: auto;
}

.sidebar-notice {
    font-size: 0.9em;
    margin: 5px 0;
    opacity: 0.9;
    font-weight: 600;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar */
.top-bar {
    display: none;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #667eea;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.top-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-brand .brand-icon {
    font-size: 1.8em;
}

.top-brand .brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #667eea;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1em;
}

.tag-purple {
    background: rgba(118, 75, 162, 0.8);
}

.tag-green {
    background: rgba(72, 187, 120, 0.8);
}

.tag-blue {
    background: rgba(66, 153, 225, 0.8);
}

/* Alert Section */
.alert-section {
    padding: 50px 40px;
    background: white;
}

.alert-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.alert-box {
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.alert-info {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.alert-danger {
    background: #f8d7da;
    border-color: #dc3545;
}

.alert-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a202c;
}

.alert-box p {
    color: #2d3748;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8em;
    color: #1a202c;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: #4a5568;
}

.game-embed {
    background: #1a202c;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-emoji {
    font-size: 2em;
}

/* About Platform */
.about-platform {
    padding: 60px 40px;
    background: white;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-main h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5em;
    color: #1a202c;
    margin-bottom: 25px;
}

.about-main p {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #4a5568;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4em;
    color: #667eea;
    margin-bottom: 15px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Responsibility Zone */
.responsibility-zone {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #e6fffa 100%);
    text-align: center;
}

.responsibility-zone h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5em;
    color: #1a202c;
    margin-bottom: 20px;
}

.responsibility-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #4a5568;
}

.resource-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: #2d3748;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 200px;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.resource-icon {
    font-size: 2.5em;
}

.resource-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: #667eea;
}

.resource-desc {
    font-size: 0.9em;
    color: #718096;
}

/* Play Page */
.play-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.play-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3em;
    margin-bottom: 15px;
}

.play-area {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-window {
    background: #1a202c;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.game-iframe-full {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.play-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.play-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2em;
    color: #1a202c;
    margin-bottom: 25px;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.instruction-item {
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.instruction-item strong {
    color: #667eea;
}

.play-reminder {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #ffc107;
    color: #2d3748;
}

.play-reminder strong {
    color: #1a202c;
}

/* Content Pages */
.content-container {
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    min-height: calc(100vh - 200px);
}

.content-container h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3em;
    color: #1a202c;
    margin-bottom: 10px;
}

.meta-date {
    color: #718096;
    font-style: italic;
    margin-bottom: 40px;
}

.terms-content section {
    margin-bottom: 40px;
}

.terms-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2em;
    color: #667eea;
    margin-bottom: 20px;
    margin-top: 30px;
}

.terms-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4em;
    color: #4a5568;
    margin-bottom: 15px;
    margin-top: 20px;
}

.terms-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #4a5568;
}

.terms-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.terms-content li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #4a5568;
}

.warning-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #fc8181;
    margin-bottom: 40px;
    text-align: center;
}

.warning-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #c53030;
    margin-bottom: 15px;
}

.warning-box p {
    color: #742a2a;
}

.acknowledgment-box {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #48bb78;
    margin-top: 40px;
}

.acknowledgment-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: #22543d;
    margin-bottom: 20px;
}

.acknowledgment-box ul {
    list-style: none;
    padding: 0;
}

.acknowledgment-box li {
    margin-bottom: 8px;
    font-weight: 600;
    color: #22543d;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 50px 40px 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-col p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.95em;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .close-sidebar {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .top-bar {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .hero-lead {
        font-size: 1.1em;
    }
    
    .alert-row {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .game-iframe {
        height: 450px;
    }
    
    .game-iframe-full {
        height: 500px;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
