* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0f3460 0%, #16213e 100%);
    padding: 30px 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 20px 30px;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
    margin-bottom: 30px;
}

.logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #4A90E2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4A90E2;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    list-style: none;
    padding: 0 20px;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.nav-links a:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #4A90E2;
    transform: translateX(5px);
}

.nav-links a.active {
    background: linear-gradient(90deg, rgba(74, 144, 226, 0.3), rgba(74, 144, 226, 0.1));
    color: #4A90E2;
    border-left: 4px solid #4A90E2;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
    width: calc(100% - 280px);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(22, 33, 62, 0.3));
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: #4A90E2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.tagline {
    font-size: 22px;
    color: #b0b0b0;
    font-weight: 400;
}

/* Sections */
.intro-section {
    margin-bottom: 50px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.intro-card h2 {
    font-size: 32px;
    color: #4A90E2;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.intro-card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #d0d0d0;
}

/* Important Notices */
.important-notices {
    margin-bottom: 50px;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.notice-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-card.red {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.notice-card.blue {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.notice-card.orange {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.notice-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.notice-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #c0c0c0;
}

/* Game Section */
.game-section {
    margin-bottom: 50px;
}

.game-section h2 {
    font-size: 36px;
    color: #4A90E2;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.game-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    color: #b0b0b0;
}

.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Features Section */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    font-size: 36px;
    color: #4A90E2;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateY(-5px);
}

.feature-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 22px;
    color: #4A90E2;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #c0c0c0;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 42px;
    color: #4A90E2;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.page-header p {
    font-size: 18px;
    color: #b0b0b0;
}

/* Play Info */
.play-info {
    margin-bottom: 40px;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.info-box h2 {
    font-size: 28px;
    color: #4A90E2;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.info-list {
    list-style: none;
    margin-bottom: 20px;
}

.info-list li {
    font-size: 17px;
    padding: 12px 0;
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list li:last-child {
    border-bottom: none;
}

.reminder {
    background: rgba(243, 156, 18, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    color: #f39c12;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.legal-section h2 {
    font-size: 26px;
    color: #4A90E2;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.legal-section ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.legal-section li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: #d0d0d0;
}

.highlight-section {
    border: 2px solid #f39c12;
    background: rgba(243, 156, 18, 0.05);
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 2px solid rgba(74, 144, 226, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    font-size: 20px;
    color: #4A90E2;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #4A90E2;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6bb0ff;
    text-decoration: underline;
}

/* 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-content {
    background: linear-gradient(135deg, #16213e, #0f3460);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid #4A90E2;
    box-shadow: 0 0 50px rgba(74, 144, 226, 0.5);
}

.modal-content h2 {
    font-size: 32px;
    color: #4A90E2;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.modal-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #d0d0d0;
}

.modal-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.modal-buttons button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
}

.btn-yes {
    background: #27ae60;
    color: white;
}

.btn-yes:hover {
    background: #2ecc71;
    transform: scale(1.05);
}

.btn-no {
    background: #e74c3c;
    color: white;
}

.btn-no:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 80px 20px 40px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .modal-content {
        padding: 30px;
        margin: 20px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons button {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 26px;
    }

    .intro-card h2,
    .game-section h2,
    .features-section h2 {
        font-size: 24px;
    }

    .game-frame {
        height: 400px;
    }
}
