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

body {
    font-family: 'Lato', sans-serif;
    background: #faf9f6;
    color: #2d3748;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Age Verification Modal */
.age-verify-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.age-verify-modal.active {
    display: flex;
}

.age-verify-box {
    background: white;
    padding: 50px;
    border-radius: 12px;
    max-width: 550px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.age-verify-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #d946ef;
}

.age-verify-box p {
    font-size: 17px;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #4a5568;
}

.verify-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-confirm, .btn-decline {
    padding: 16px 45px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.3s ease;
}

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

.btn-confirm:hover {
    background: #059669;
    transform: scale(1.05);
}

.btn-decline {
    background: #6b7280;
    color: white;
}

.btn-decline:hover {
    background: #4b5563;
    transform: scale(1.05);
}

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

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #d946ef 0%, #a855f7 100%);
    color: white;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-header h1 {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.sidebar-footer {
    margin-top: 50px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    background: #d946ef;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

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

@media (max-width: 968px) {
    .main-content {
        margin-left: 0;
        padding: 80px 30px 40px;
    }
}

@media (max-width: 640px) {
    .main-content {
        padding: 80px 20px 30px;
    }
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #f3e8ff 0%, #fae8ff 100%);
    padding: 50px;
    border-radius: 15px;
    margin-bottom: 50px;
    border-left: 6px solid #d946ef;
}

.welcome-banner h2 {
    font-size: 38px;
    color: #7e22ce;
    margin-bottom: 15px;
}

.lead {
    font-size: 20px;
    color: #5b21b6;
    line-height: 1.8;
}

/* Essential Notices */
.essential-notices {
    margin-bottom: 50px;
}

.essential-notices h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1f2937;
}

.notice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.notice-box {
    padding: 35px;
    border-radius: 12px;
    border: 2px solid;
}

.notice-box.warning {
    background: #fef3c7;
    border-color: #f59e0b;
}

.notice-box.info {
    background: #dbeafe;
    border-color: #3b82f6;
}

.notice-box.alert {
    background: #fee2e2;
    border-color: #ef4444;
}

.notice-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.notice-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f2937;
}

.notice-box p {
    color: #4a5568;
    line-height: 1.7;
}

/* About Platform */
.about-platform {
    margin-bottom: 50px;
}

.about-platform h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1f2937;
}

.content-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 968px) {
    .content-split {
        grid-template-columns: 1fr;
    }
}

.text-content p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #4a5568;
}

.highlight-box {
    background: linear-gradient(135deg, #f3e8ff 0%, #fae8ff 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #d946ef;
}

.highlight-box h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #7e22ce;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box li {
    padding: 8px 0;
    font-size: 16px;
    color: #5b21b6;
}

/* Featured Game */
.featured-game {
    margin-bottom: 50px;
}

.featured-game h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1f2937;
}

.game-description {
    font-size: 17px;
    margin-bottom: 30px;
    color: #4a5568;
}

.game-embed {
    background: #1f2937;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

/* Platform Benefits */
.platform-benefits {
    margin-bottom: 50px;
}

.platform-benefits h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1f2937;
}

.benefits-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(217, 70, 239, 0.2);
}

.benefit-number {
    display: inline-block;
    font-size: 40px;
    font-weight: 900;
    color: #d946ef;
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.benefit-card h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Responsibility Section */
.responsibility {
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.responsibility h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1f2937;
}

.responsibility p {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.8;
}

/* Play Page */
.play-intro {
    margin-bottom: 40px;
}

.play-intro h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #7e22ce;
}

.play-intro p {
    font-size: 18px;
    color: #4a5568;
}

.game-container-full {
    margin-bottom: 50px;
}

.game-frame-wrapper {
    background: #1f2937;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

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

.game-details {
    margin-bottom: 50px;
}

.game-details h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1f2937;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.detail-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.detail-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #d946ef;
}

.detail-item p {
    color: #6b7280;
    line-height: 1.7;
}

/* Legal Document */
.legal-document {
    max-width: 900px;
}

.legal-document h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #7e22ce;
}

.document-date {
    font-style: italic;
    color: #9ca3af;
    margin-bottom: 40px;
}

.legal-document article {
    margin-bottom: 35px;
}

.legal-document h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #1f2937;
}

.legal-document p {
    margin-bottom: 15px;
    color: #4a5568;
    line-height: 1.8;
}

.warning-box {
    background: #fef3c7;
    border: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
}

.warning-box h3 {
    color: #92400e;
    margin-bottom: 15px;
}

.warning-box p {
    color: #78350f;
}

/* Footer */
.page-footer {
    background: #f3f4f6;
    padding: 50px 40px;
    border-radius: 15px;
    margin-top: 60px;
}

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #d946ef;
}

.footer-col a {
    display: block;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-col p {
    color: #6b7280;
    line-height: 1.7;
}

.footer-notice {
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 640px) {
    .welcome-banner {
        padding: 30px 25px;
    }

    .welcome-banner h2 {
        font-size: 28px;
    }

    .lead {
        font-size: 17px;
    }

    .essential-notices h3,
    .about-platform h3,
    .featured-game h3,
    .platform-benefits h3,
    .game-details h3 {
        font-size: 26px;
    }

    .game-iframe {
        height: 400px;
    }

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

    .legal-document h2 {
        font-size: 32px;
    }

    .legal-document h3 {
        font-size: 22px;
    }

    .page-footer {
        padding: 40px 25px;
    }
}
