#movie-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    filter: contrast(1.3) brightness(1.1) saturate(1.3);
    transition: opacity 0.35s ease, transform 0.5s ease;
    transform: scale(1.08);
}
#movie-bg.show {
    opacity: 1;
    transform: scale(1);
}
#movie-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            transparent 100%
        ),
        rgba(0,0,0,0.45);
}
header,
main,
.cards,
.card {
    position: relative;
    z-index: 2;
}
#movie-bg.show {
    opacity: 1;
}
    *{
    box-sizing: border-box;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}
.logo-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    overflow: hidden;
}
.logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.logo-shine {
    position: absolute;
    top: -20%;
    left: -75%;
    width: 45%;
    height: 140%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 35%,
        rgba(255,255,255,0.85) 50%,
        rgba(255,255,255,0.15) 65%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
}
.logo .text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
}
.logo:hover .logo-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.45));
}
.logo:hover .logo-shine {
    opacity: 1;
    animation: logoShine 0.9s ease forwards;
}
.logo:hover .text {
    text-shadow:
        0 0 4px rgba(255,255,255,0.25),
        0 0 10px rgba(255,255,255,0.18);
}
@keyframes logoShine {
    0% {
        left: -75%;
    }
    100% {
        left: 130%;
    }
}
.logo-svg {
    width: 30px;
    height: 30px;
    transition: transform 0.4s ease, filter 0.3s ease;
}
.logo:hover .logo-svg {
    transform: scale(1.1) rotate(-6deg);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.5));
}
.filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.filter-label {
    color: #bfbfbf;
    font-size: 14px;
    min-width: 48px;
}
.filter-btn {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    transition: 0.25s;
    font-size: 14px;
}
.filter-btn:hover {
    background: rgba(255,255,255,0.12);
}
.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.card {
    transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}
.hidden-card {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#page-transition {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.35s ease;
}
#page-transition.active {
    opacity: 1;
    pointer-events: all;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}
body.loaded {
    opacity: 1;
}
a {
    color: inherit;
    text-decoration: none;
}
.background-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.05), transparent 25%),
        radial-gradient(circle at 85% 70%, rgba(255,255,255,0.04), transparent 30%);
    z-index: 0;
    pointer-events: none;
}
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
}
.logo span {
    color: #cfcfcf;
}
.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.nav a {
    color: #d7d7d7;
    font-size: 15px;
    transition: 0.2s;
}
.nav a:hover {
    color: #fff;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.search-box {
    width: 280px;
}
.search-box input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    outline: none;
    font-size: 14px;
}
.search-box input::placeholder {
    color: #bdbdbd;
}
.search-box input:focus {
    border-color: rgba(255,255,255,0.35);
}
.hero {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}
.hero-box {
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 45%, rgba(0,0,0,0.35) 100%),
        url("images/banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 620px;
    padding: 40px;
}
.hero-label {
    display: inline-block;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: #ddd;
    margin-bottom: 18px;
}
.hero h1 {
    margin: 0 0 14px;
    font-size: 46px;
    line-height: 1.05;
}
.hero p {
    margin: 0 0 24px;
    color: #d0d0d0;
    line-height: 1.6;
    font-size: 16px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.25s;
}
.button.white {
    background: #fff;
    color: #000;
}
.button.white:hover {
    transform: translateY(-2px);
}
.button.dark {
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.button.dark:hover {
    background: rgba(255,255,255,0.12);
}
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 70px;
}
.section {
    margin-top: 28px;
}
.section-title {
    font-size: 28px;
    margin: 0 0 18px;
}
.movies {
    display: grid;
    grid-template-columns: repeat(auto-fill, 220px);
    gap: 22px;
    justify-content: start;
    position: relative;
    z-index: 2;
}
.card {
    display: block;
    width: 220px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: visible;
    text-decoration: none;
    color: white;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    z-index: 3;
}
.card::before {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 40px;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.7) 0%,
        rgba(255,255,255,0.35) 30%,
        rgba(255,255,255,0.15) 55%,
        transparent 80%
    );
    opacity: 0;
    filter: blur(35px);
    transition: opacity 0.25s ease;
    z-index: -1;
}
.card:hover::before {
    opacity: 1;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 40px rgba(255,255,255,0.5),
        0 0 80px rgba(255,255,255,0.3),
        0 0 140px rgba(255,255,255,0.15);
}
.poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    background: #111;
}
.card-content {
    padding: 16px;
}
.card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: bold;
}
.card-desc {
    margin: 0;
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.45;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.tag {
    font-size: 12px;
    color: #d8d8d8;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.footer {
    text-align: center;
    color: #8f8f8f;
    padding: 25px 15px 40px;
    font-size: 14px;
}
@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .nav {
        justify-content: center;
    }
    .header-right {
        width: 100%;
        justify-content: center;
    }
    .search-box {
        width: 100%;
        max-width: 520px;
    }
    .hero h1 {
        font-size: 36px;
    }
}
@media (max-width: 640px) {
    .hero-box {
        min-height: 320px;
    }
    .hero-content {
        padding: 26px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .section-title {
        font-size: 24px;
    }
    .logo {
        text-align: center;
    }
    .nav {
        gap: 12px;
    }
}
.hero {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    column-gap: 60px;
    padding: 40px 80px;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 0 40px rgba(255,255,255,0.05);
}
.hero-text {
    min-width: 0;
}
.hero-text h1 {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.1;
}
.hero-text p {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.6;
}
.hero-image {
    width: 420px;
    display: flex;
    justify-content: flex-end;
}
.hero-image img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
}
.watch-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: #fff;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.watch-btn:hover {
    background: #e6e6e6;
    transform: scale(1.05);
}
.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image: url("/images/noirtv-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.35;
    pointer-events: none;
}

body {
    background: #000;
}