* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --sidebar-width: 280px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 2rem 0;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.sidebar-nav {
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: white;
}

.nav-icon {
    font-size: 1.25rem;
}

.nav-label {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    align-items: center;
    padding: 0 1rem;
    z-index: 999;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    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);
}

.mobile-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
}

.mobile-logo .logo-text {
    color: var(--primary);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-feature span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-feature p {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Info Section */
.info-section {
    padding: 5rem 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-box {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-box-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.info-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 3rem;
    background: var(--bg-white);
}

.game-embed {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-notice {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-innovora {
    padding: 5rem 3rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Why Section */
.why-section {
    padding: 5rem 3rem;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    padding: 2rem;
    background: var(--bg-main);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Play Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.game-player {
    padding: 4rem 3rem;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.player-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.game-tags {
    display: flex;
    gap: 0.75rem;
}

.tag {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-details {
    padding: 4rem 3rem;
    background: var(--bg-white);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.details-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.detail-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.detail-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

.play-reminders {
    padding: 4rem 3rem;
}

.reminder-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--primary);
}

.reminder-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.reminder-box ul {
    list-style: none;
}

.reminder-box li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Content Pages */
.content-page {
    padding: 4rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.update-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.terms-document,
.privacy-document,
.disclaimer-document {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.doc-section {
    margin-bottom: 2.5rem;
}

.doc-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.doc-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.doc-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.doc-section ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-gray);
}

.doc-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.terms-summary,
.privacy-summary,
.disclaimer-summary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-top: 3rem;
}

.alert-box {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid var(--accent);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.alert-box h2 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.summary-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
}

.summary-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.summary-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.summary-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.final-acknowledgment {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    text-align: center;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-content {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.age-modal-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.age-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 3rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.05rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .game-iframe {
        height: 450px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .terms-document,
    .privacy-document,
    .disclaimer-document {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .game-iframe {
        height: 350px;
    }

    .content-page h1 {
        font-size: 2rem;
    }
}
