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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a1f3d 0%, #1a3a5c 50%, #0d2847 100%);
    color: #e0f2ff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 15, 30, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2847 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 150, 255, 0.3);
    border: 2px solid rgba(100, 200, 255, 0.3);
}

.age-gate-logo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-gate-content h2 {
    color: #60d5ff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.age-gate-content p {
    margin-bottom: 1rem;
    color: #b0d9f0;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #0096ff 0%, #0066cc 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 150, 255, 0.4);
}

.btn-no {
    background: #444;
    color: white;
}

.btn-no:hover {
    background: #555;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #0d2847 0%, #1a3a5c 100%);
    padding: 2rem 0;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 2px solid rgba(100, 200, 255, 0.2);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid rgba(100, 200, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #60d5ff;
}

.close-btn {
    background: none;
    border: none;
    color: #60d5ff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

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

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

.sidebar-nav a {
    color: #b0d9f0;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(100, 200, 255, 0.1);
    border-left-color: #60d5ff;
    color: #60d5ff;
}

.sidebar-nav a.active {
    background: rgba(100, 200, 255, 0.15);
    border-left-color: #60d5ff;
    color: #60d5ff;
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 999;
}

.overlay.active {
    display: block;
}

/* Header */
.header {
    background: rgba(13, 40, 71, 0.95);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(100, 200, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 900;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #60d5ff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #90e5ff;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60d5ff;
}

.header-tagline {
    color: #b0d9f0;
    font-size: 0.9rem;
    font-style: italic;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(26, 58, 92, 0.6) 0%, rgba(13, 40, 71, 0.6) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 2.8rem;
    color: #60d5ff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 150, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #b0d9f0;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.notice-card {
    background: rgba(26, 58, 92, 0.5);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(100, 200, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: #60d5ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.game-showcase {
    text-align: center;
    margin-bottom: 3rem;
}

.game-showcase h2 {
    font-size: 2.2rem;
    color: #60d5ff;
    margin-bottom: 1rem;
}

.game-showcase > p {
    color: #b0d9f0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-container {
    background: rgba(13, 40, 71, 0.6);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #0096ff 0%, #0066cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 150, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 150, 255, 0.6);
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 2.2rem;
    color: #60d5ff;
    text-align: center;
    margin-bottom: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-item {
    background: rgba(26, 58, 92, 0.4);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #60d5ff;
}

.about-item h3 {
    color: #60d5ff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.features {
    background: rgba(26, 58, 92, 0.4);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.features h2 {
    font-size: 2.2rem;
    color: #60d5ff;
    text-align: center;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.features-list li {
    padding: 1rem;
    background: rgba(13, 40, 71, 0.5);
    border-radius: 10px;
    color: #b0d9f0;
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #60d5ff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #b0d9f0;
    font-size: 1.1rem;
}

/* Play Page */
.game-play-section {
    margin-bottom: 3rem;
}

.game-info {
    background: rgba(26, 58, 92, 0.5);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.game-info h2 {
    color: #60d5ff;
    margin-bottom: 1rem;
}

.controls-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.control-item {
    padding: 1rem;
    background: rgba(13, 40, 71, 0.5);
    border-radius: 10px;
    border-left: 3px solid #60d5ff;
}

.game-container-full {
    background: rgba(13, 40, 71, 0.6);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.play-notice {
    background: rgba(26, 58, 92, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(100, 200, 255, 0.3);
    text-align: center;
}

.play-notice h3 {
    color: #60d5ff;
    margin-bottom: 1rem;
}

/* Legal Content */
.legal-content {
    background: rgba(26, 58, 92, 0.4);
    padding: 3rem;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #60d5ff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

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

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #b0d9f0;
}

/* Footer */
.footer {
    background: rgba(13, 40, 71, 0.95);
    color: #b0d9f0;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(100, 200, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #60d5ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b0d9f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60d5ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 200, 255, 0.2);
    color: #90b8d0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .notice-cards {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .game-frame-full {
        height: 500px;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .age-gate-content {
        margin: 1rem;
        padding: 2rem;
    }

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

    .btn-yes, .btn-no {
        width: 100%;
    }
}
