* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #f5f5f5;
    background: #050813;
    overflow-x: hidden;
}

/* Animated neon background */
.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;

    /* Base gradient */
    background:
        radial-gradient(circle at 0% 0%, rgba(36, 198, 220, 0.25), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(162, 33, 255, 0.25), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 61, 151, 0.25), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(0, 255, 170, 0.18), transparent 55%),
        #050813;
    animation: bgGlow 22s ease-in-out infinite alternate;
}

/* Moving light streaks */
.bg-overlay::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05) 100%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px,
            transparent 6px
        );
    mix-blend-mode: screen;
    opacity: 0.26;
    transform: translate3d(-10%, -10%, 0) skewX(-8deg);
    animation: bgDrift 30s linear infinite;
}

/* --- POLICE SIREN BACKGROUND ANIMATION --- */

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: #050813; /* darkest base */
}

.bg-overlay::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 20% 40%, rgba(0, 90, 255, 0.55), transparent 60%);
    filter: blur(120px);
    animation: sirenBlue 4s ease-in-out infinite;
    opacity: 0.7;
}

.bg-overlay::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 80% 60%, rgba(255, 0, 0, 0.55), transparent 60%);
    filter: blur(120px);
    animation: sirenRed 4s ease-in-out infinite;
    opacity: 0.7;
}

/* Blue fades in → out → in */
@keyframes sirenBlue {
    0%   { opacity: 0.15; transform: translateX(-10%) scale(1); }
    25%  { opacity: 0.65; transform: translateX(5%) scale(1.1); }
    50%  { opacity: 0.15; transform: translateX(20%) scale(1); }
    75%  { opacity: 0.65; transform: translateX(5%) scale(1.1); }
    100% { opacity: 0.15; transform: translateX(-10%) scale(1); }
}

/* Red fades in opposite to blue */
@keyframes sirenRed {
    0%   { opacity: 0.65; transform: translateX(10%) scale(1); }
    25%  { opacity: 0.15; transform: translateX(-5%) scale(1.1); }
    50%  { opacity: 0.65; transform: translateX(-20%) scale(1); }
    75%  { opacity: 0.15; transform: translateX(-5%) scale(1.1); }
    100% { opacity: 0.65; transform: translateX(10%) scale(1); }
}


/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 8vw;
    background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.75));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(120, 120, 255, 0.2);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #46d5ff, #a221ff);
    transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    background: rgba(10, 220, 160, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 220, 160, 0.4);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-online {
    background: #18ff92;
    box-shadow: 0 0 10px rgba(24, 255, 146, 0.8);
}

.status-offline {
    background: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.8);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.3rem;
}

/* Mobile nav */
.nav-links-mobile {
    display: none;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.98);
    border-bottom: 1px solid rgba(120, 120, 255, 0.2);
}

.nav-links-mobile a {
    padding: 0.9rem 8vw;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: #e0e0e0;
}

/* SECTIONS */
.section {
    padding: 4rem 8vw;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(255,255,255,0.03), transparent 60%);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.9rem;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    color: #c0c0c0;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

/* GRID HELPERS */
.grid {
    display: grid;
    gap: 1.5rem;
}

.two-col {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* HERO */
.hero {
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    background: linear-gradient(90deg, #46d5ff, #a221ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #c0c0c0;
}

.hero-meta span {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.about-inline {
    margin-top: 2.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    max-width: 620px;
}

.about-inline h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.about-subtitle {
    color: #c0c0c0;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.about-inline p {
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 0.6rem;
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(90deg, #46d5ff, #a221ff);
    color: #050813;
    box-shadow: 0 0 18px rgba(70, 213, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(70, 213, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.full-width {
    width: 100%;
}

.btn-logo {
    height: 18px;
    width: auto;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 4px;
}

/* HERO MEDIA */
.hero-media {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.trailer-card,
.status-card {
    background: rgba(5, 8, 22, 0.95);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(120, 120, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.trailer-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.trailer-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.trailer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.status-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.status-line {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.status-sub {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.mono {
    font-family: "Courier New", monospace;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.badge-online {
    background: rgba(24, 255, 146, 0.1);
    border: 1px solid rgba(24, 255, 146, 0.7);
    color: #18ff92;
}

.badge-offline {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.7);
    color: #ff4d4d;
}

/* CARDS */
.cards .card {
    background: rgba(5, 8, 22, 0.9);
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(120, 120, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
}

.card-icon {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: #46d5ff;
}

.card-outline {
    background: rgba(5, 8, 22, 0.7);
}

.card-outline ul {
    list-style: none;
    margin-top: 0.6rem;
}

.card-outline li::before {
    content: "• ";
    color: #46d5ff;
}

/* INFO ITEMS */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.info-item {
    display: flex;
    gap: 0.7rem;
}

.info-item i {
    font-size: 1.2rem;
    color: #46d5ff;
    margin-top: 0.1rem;
}


.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 0.7rem;
    background: radial-gradient(circle, #46d5ff, #a221ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #050813;
}


/* GALLERY */
.gallery-grid {
    gap: 1rem;
}

.gallery-item {
    border-radius: 0.8rem;
    overflow: hidden;
    background: rgba(5, 8, 22, 0.85);
    border: 1px solid rgba(120, 120, 255, 0.25);
    height: 160px;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.85rem;
    background-image: linear-gradient(135deg, rgba(70, 213, 255, 0.1), rgba(162, 33, 255, 0.15));
}

/* RULES */
.rules-list {
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rules-cta-card {
    background: rgba(5, 8, 22, 0.9);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(120, 120, 255, 0.25);
    font-size: 0.9rem;
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(120, 120, 255, 0.25);
    padding: 1.2rem 8vw;
    background: rgba(5, 8, 22, 0.95);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-links a {
    color: #c0c0c0;
    margin-left: 0.7rem;
    font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .four-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar {
        padding-inline: 5vw;
    }

    .section {
        padding-inline: 5vw;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .three-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .four-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .section {
        padding: 3rem 5vw;
    }

    .hero {
        padding-top: 4.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile nav open state */
.nav-links-mobile.open {
    display: flex;
}
