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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #333;
    line-height: 1.6;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.age-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.age-modal-header h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.age-modal-body p {
    color: #f0f0f0;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-confirm,
.btn-deny {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: #4CAF50;
    color: white;
}

.btn-confirm:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-deny {
    background: #f44336;
    color: white;
}

.btn-deny:hover {
    background: #da190b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar .logo {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav a {
    display: block;
    padding: 15px 30px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #4a90e2;
    padding-left: 35px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: #4a90e2;
}

.header-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.header-tagline {
    color: #b0c4de;
    font-size: 14px;
    font-weight: 300;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9) 0%, rgba(103, 126, 234, 0.9) 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #e8f4f8;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #4a90e2;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f0f8ff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Info Section */
.info-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #f0f0f0;
    font-size: 15px;
    line-height: 1.6;
}

/* Notice Section */
.notice-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.9);
}

.notice-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.notice-box h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.notice-box p {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

/* Game Section */
.game-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.game-container {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 900px;
}

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

/* Features Section */
.features-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.feature-item h4 {
    color: #4a90e2;
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Play Section */
.play-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    min-height: 70vh;
}

.play-section h1 {
    text-align: center;
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.play-info {
    max-width: 800px;
    margin: 0 auto 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #4a90e2;
}

.play-info p {
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

.play-info p:last-child {
    margin-bottom: 0;
}

/* Legal Section */
.legal-section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    min-height: 70vh;
}

.legal-section h1 {
    text-align: center;
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.update-date {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 15px 0 15px 25px;
}

.legal-content li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: auto;
    backdrop-filter: blur(10px);
}

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

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: #4a90e2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .game-frame {
        height: 400px;
    }

    .legal-content {
        padding: 25px;
    }

    .age-modal-content {
        padding: 30px 20px;
    }

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

    .sidebar {
        width: 280px;
        left: -280px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }

    .game-frame {
        height: 300px;
    }

    .header-logo {
        font-size: 20px;
    }
}
