* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: #020817;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: stars 120s linear infinite;
    color: #e2e8f0;
    line-height: 1.65;
    min-height: 100vh;
}

@keyframes stars {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.top-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #06b6d4;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-icon {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #06b6d4, #0891b2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #020817;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.8); }
    50% { box-shadow: 0 0 40px rgba(6, 182, 212, 1); }
}

.brand-title {
    font-family: 'Audiowide', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    color: #06b6d4;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.7);
}

.nav-toggle {
    display: none;
    background: rgba(6, 182, 212, 0.2);
    border: 2px solid #06b6d4;
    padding: 12px 14px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-toggle:hover {
    background: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
}

.toggle-bar {
    display: block;
    width: 30px;
    height: 3px;
    background: #06b6d4;
    margin: 6px 0;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.primary-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.primary-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.2));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.primary-nav a:hover::before {
    opacity: 1;
}

.primary-nav a:hover {
    color: #67e8f9;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.8);
}

.hero-area {
    padding: 7rem 40px;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-area h1 {
    font-family: 'Audiowide', cursive;
    font-size: 5rem;
    font-weight: 400;
    color: #06b6d4;
    margin-bottom: 2rem;
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    max-width: 1000px;
    margin: 0 auto 3rem;
    line-height: 1.9;
    font-weight: 500;
}

.info-alert {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    border: 3px solid #06b6d4;
    border-radius: 20px;
    padding: 3.5rem;
    margin: 4rem auto;
    max-width: 1200px;
    box-shadow: 0 15px 50px rgba(6, 182, 212, 0.3);
    backdrop-filter: blur(10px);
}

.info-alert h2 {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: #06b6d4;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.7);
}

.info-alert ul {
    list-style: none;
}

.info-alert li {
    padding: 1.5rem;
    margin: 1.2rem 0;
    background: rgba(6, 182, 212, 0.1);
    border-left: 6px solid #06b6d4;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.info-alert li:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: translateX(8px);
}

.game-space {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 40px;
}

.game-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.7));
    border: 3px solid #06b6d4;
    border-radius: 25px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.4);
    backdrop-filter: blur(10px);
}

.game-panel h2 {
    font-family: 'Audiowide', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: #06b6d4;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.game-iframe {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 15px;
    background: #000000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3.5rem;
    max-width: 1600px;
    margin: 7rem auto;
    padding: 0 40px;
}

.content-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.6));
    border: 2px solid rgba(6, 182, 212, 0.4);
    border-radius: 20px;
    padding: 3.5rem;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.content-panel::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.content-panel:hover {
    transform: translateY(-15px);
    border-color: #06b6d4;
    box-shadow: 0 25px 60px rgba(6, 182, 212, 0.5);
}

.content-panel h3 {
    font-family: 'Audiowide', cursive;
    font-size: 2.3rem;
    font-weight: 400;
    color: #06b6d4;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.content-panel p {
    color: #cbd5e1;
    line-height: 1.9;
    font-size: 1.15rem;
    font-weight: 500;
}

.text-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 40px;
}

.text-section h1 {
    font-family: 'Audiowide', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    color: #06b6d4;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.text-section h2 {
    font-family: 'Audiowide', cursive;
    font-size: 2.8rem;
    font-weight: 400;
    color: #06b6d4;
    margin: 4rem 0 2rem;
    letter-spacing: 2px;
}

.text-section p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 500;
}

.bottom-footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    padding: 5rem 40px;
    margin-top: 8rem;
    border-top: 3px solid #06b6d4;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 3rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.footer-menu a {
    color: #06b6d4;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.footer-menu a:hover {
    color: #67e8f9;
    text-shadow: 0 0 15px rgba(6, 182, 212, 1);
}

.footer-copyright {
    margin-top: 3.5rem;
    color: #64748b;
    font-size: 1.05rem;
}

.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.visible {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 700px;
    border: 4px solid #06b6d4;
    box-shadow: 0 30px 80px rgba(6, 182, 212, 0.6);
}

.modal-box h2 {
    font-family: 'Audiowide', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: #06b6d4;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.modal-box p {
    color: #cbd5e1;
    margin-bottom: 4rem;
    font-size: 1.35rem;
    line-height: 1.9;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.modal-button {
    padding: 1.6rem 5rem;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Audiowide', cursive;
    letter-spacing: 2px;
}

.modal-button:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.modal-button.proceed {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #020817;
}

.modal-button.leave {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        transition: left 0.3s;
        padding: 4rem 0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
    }

    .primary-nav.open {
        left: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .primary-nav a {
        font-size: 1.6rem;
    }

    .hero-area h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .game-iframe {
        height: 500px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 2rem;
    }

    .modal-box {
        padding: 3.5rem;
        max-width: 90%;
    }

    .modal-actions {
        flex-direction: column;
        gap: 2rem;
    }
}
