/* =========================================================
   CINEVAULT — PREMIUM CINEMATIC UI
   Works with the existing index.html / movies.html /
   movie-details.html structure.
   ========================================================= */

:root {
    --bg: #050608;
    --bg-soft: #080a0e;
    --surface: #0b0e12;
    --surface-2: #101419;
    --surface-3: #151a20;

    --text: #f7f7f8;
    --muted: #9aa0aa;
    --muted-2: #737985;

    --red: #e5232b;
    --red-bright: #ff3d46;
    --red-dark: #8d1018;

    --green: #20c779;
    --yellow: #ffc857;

    --border: rgba(255, 255, 255, 0.075);
    --border-strong: rgba(255, 255, 255, 0.14);

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-red: 0 18px 55px rgba(229, 35, 43, 0.18);

    --radius: 16px;
    --radius-sm: 10px;

    --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 5%, rgba(229, 35, 43, 0.10), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(229, 35, 43, 0.06), transparent 25%),
        linear-gradient(180deg, #050608 0%, #07090c 45%, #050608 100%);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

/* subtle cinematic texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 42px 42px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 76px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 0 5%;

    background: rgba(5, 6, 8, 0.84);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(229,35,43,0.5),
        transparent
    );
    opacity: 0.55;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.8px;

    white-space: nowrap;

    transition: transform 0.35s var(--ease);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;
    background: linear-gradient(
        145deg,
        var(--red-bright),
        var(--red-dark)
    );

    box-shadow:
        0 0 0 5px rgba(229,35,43,0.08),
        0 10px 28px rgba(229,35,43,0.28);

    position: relative;
}

.logo-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid white;
    margin-left: 3px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.navbar a {
    position: relative;

    padding: 28px 0 25px;

    color: #aeb3bd;
    font-size: 14px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.navbar a::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 17px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        var(--red),
        var(--red-bright)
    );

    box-shadow: 0 0 10px rgba(229,35,43,0.7);

    transform: translateX(-50%);
    transition: width 0.3s var(--ease);
}

.navbar a:hover,
.navbar a.active {
    color: #fff;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 22px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-box {
    width: 210px;
    height: 40px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(255,255,255,0.035);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.search-box:focus-within {
    border-color: rgba(229,35,43,0.6);
    background: rgba(255,255,255,0.055);

    box-shadow:
        0 0 0 4px rgba(229,35,43,0.07),
        0 0 30px rgba(229,35,43,0.08);
}

.search-box input {
    width: 100%;
    height: 100%;

    padding: 0 14px;

    border: 0;
    outline: 0;

    color: #fff;
    background: transparent;

    font-size: 13px;
}

.search-box input::placeholder {
    color: #737985;
}

.search-box button {
    width: 42px;
    height: 100%;

    flex-shrink: 0;

    border: 0;
    color: #aaa;

    background: transparent;

    transition: color 0.25s ease;
}

.search-box button:hover {
    color: var(--red-bright);
}

.login-btn {
    min-width: 82px;
    height: 40px;

    border: 0;
    border-radius: 999px;

    color: #fff;
    background: linear-gradient(
        135deg,
        var(--red-bright),
        var(--red)
    );

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 10px 28px rgba(229,35,43,0.18);

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(229,35,43,0.30);
}


/* =========================================================
   MAIN / HERO
   ========================================================= */

main {
    width: 100%;
}

.hero {
    position: relative;

    width: min(1400px, 90%);
    min-height: 440px;

    margin: 34px auto 0;

    padding: 42px;

    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.55fr);
    align-items: center;
    gap: 35px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        linear-gradient(
            120deg,
            rgba(229,35,43,0.12),
            rgba(255,255,255,0.025) 45%,
            rgba(0,0,0,0.30)
        ),
        #090b0f;

    box-shadow: var(--shadow);
}

.hero::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    left: -210px;
    top: -240px;

    border-radius: 50%;

    background: rgba(229,35,43,0.15);

    filter: blur(90px);
    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.15),
            transparent 50%,
            rgba(0,0,0,0.22)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 580px;

    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.02;
    letter-spacing: -2.5px;

    margin-bottom: 20px;
}

.hero-content h1::after {
    content: "";

    display: block;

    width: 74px;
    height: 3px;

    margin-top: 20px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        var(--red),
        transparent
    );

    box-shadow: 0 0 16px rgba(229,35,43,0.45);
}

.hero-content p {
    max-width: 520px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 48px;

    padding: 0 23px;

    border-radius: 999px;

    color: #fff;
    background: linear-gradient(
        135deg,
        var(--red-bright),
        var(--red)
    );

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 12px 35px rgba(229,35,43,0.20);

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.browse-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 45px rgba(229,35,43,0.32);
}


/* =========================================================
   FEATURED MOVIES
   ========================================================= */

.featured-movies {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.featured-card {
    position: relative;

    min-height: 310px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    background: #0c0f13;

    box-shadow: 0 15px 45px rgba(0,0,0,0.35);

    transition:
        transform 0.45s var(--ease),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.featured-card:hover {
    transform: translateY(-8px);

    border-color: rgba(229,35,43,0.45);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.55),
        0 0 30px rgba(229,35,43,0.10);
}

.featured-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s var(--ease);
}

.featured-card:hover .featured-image {
    transform: scale(1.07);
}

.featured-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgba(0,0,0,0.08) 35%,
            rgba(0,0,0,0.92) 100%
        );
}

.featured-content {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 17px;

    z-index: 3;
}

.featured-content h3 {
    font-size: 15px;
    line-height: 1.25;

    margin-bottom: 7px;
}

.featured-content p {
    color: #aaa;

    font-size: 11px;
}

.featured-play {
    position: absolute;

    top: 16px;
    right: 16px;

    z-index: 5;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background: rgba(229,35,43,0.88);
    border: 1px solid rgba(255,255,255,0.16);

    opacity: 0;
    transform: translateY(-8px);

    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
}

.featured-card:hover .featured-play {
    opacity: 1;
    transform: translateY(0);
}

.slider-dots {
    width: 100%;

    display: flex;
    justify-content: center;
    gap: 7px;

    margin: 17px 0 55px;
}

.slider-dots span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #3b3f46;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.slider-dots span.active {
    width: 22px;

    border-radius: 10px;

    background: var(--red);

    box-shadow: 0 0 12px rgba(229,35,43,0.55);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.category-section,
.movies-section,
.features {
    width: min(1400px, 90%);
    margin-left: auto;
    margin-right: auto;
}

.category-section {
    margin-bottom: 65px;
}

.movies-section {
    margin-bottom: 80px;
}

.section-title {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 24px;

    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-title > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.red-line {
    width: 4px;
    height: 25px;

    border-radius: 10px;

    background: linear-gradient(
        180deg,
        var(--red-bright),
        var(--red-dark)
    );

    box-shadow: 0 0 15px rgba(229,35,43,0.45);
}

.view-all {
    color: var(--red-bright);

    font-size: 12px;
    font-weight: 800;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.view-all:hover {
    color: #fff;
    transform: translateX(3px);
}


/* =========================================================
   CATEGORY BUTTONS
   ========================================================= */

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category {
    position: relative;

    min-width: 88px;
    padding: 11px 17px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;

    color: #aeb3bd;
    background: rgba(255,255,255,0.025);

    font-size: 12px;
    font-weight: 800;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s var(--ease),
        box-shadow 0.3s ease;
}

.category::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    top: 50%;
    left: -70px;

    border-radius: 50%;

    background: rgba(229,35,43,0.28);

    filter: blur(22px);

    transform: translateY(-50%);

    transition:
        left 0.6s var(--ease),
        opacity 0.4s ease;
}

.category:hover {
    color: #fff;

    border-color: rgba(229,35,43,0.45);

    background: rgba(229,35,43,0.07);

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0,0,0,0.25),
        0 0 18px rgba(229,35,43,0.08);
}

.category:hover::before {
    left: calc(100% + 10px);
}

.category.active-filter {
    color: #fff;

    border-color: rgba(229,35,43,0.65);

    background:
        linear-gradient(
            135deg,
            rgba(229,35,43,0.20),
            rgba(229,35,43,0.05)
        );

    box-shadow:
        0 0 0 1px rgba(229,35,43,0.12),
        0 0 24px rgba(229,35,43,0.13);

    animation: activeCategoryPulse 2.8s ease-in-out infinite;
}

.category.active-filter::after {
    content: "";

    position: absolute;
    inset: -1px;

    padding: 1px;

    border-radius: inherit;

    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 70deg,
        rgba(255,61,70,0.9) 110deg,
        transparent 160deg,
        transparent 260deg,
        rgba(229,35,43,0.65) 310deg,
        transparent 360deg
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: categoryRotate 3.2s linear infinite;

    pointer-events: none;
}

@keyframes categoryRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes activeCategoryPulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(229,35,43,0.10),
            0 0 18px rgba(229,35,43,0.08);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(229,35,43,0.20),
            0 0 28px rgba(229,35,43,0.17);
    }
}


/* =========================================================
   MOVIE GRID
   ========================================================= */

.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.movie-link {
    display: block;
    min-width: 0;
}

.movie-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.065);
    border-radius: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        ),
        #0a0d11;

    box-shadow: 0 12px 30px rgba(0,0,0,0.28);

    transition:
        transform 0.4s var(--ease),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.movie-card:hover {
    transform: translateY(-7px);

    border-color: rgba(229,35,43,0.35);

    box-shadow:
        0 22px 45px rgba(0,0,0,0.45),
        0 0 25px rgba(229,35,43,0.08);
}

.poster {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #11151a;
}

.poster img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.65s var(--ease),
        filter 0.4s ease;
}

.movie-card:hover .poster img {
    transform: scale(1.07);
    filter: brightness(0.82);
}

.poster::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0,0,0,0.35)
        );

    pointer-events: none;
}

.poster-overlay {
    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.25);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.movie-card:hover .poster-overlay {
    opacity: 1;
}

.play-overlay {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background: rgba(229,35,43,0.92);

    box-shadow:
        0 8px 25px rgba(229,35,43,0.30);

    transform: scale(0.8);

    transition: transform 0.35s var(--ease);
}

.movie-card:hover .play-overlay {
    transform: scale(1);
}

.quality {
    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 5;

    padding: 5px 8px;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 5px;

    color: #fff;

    background: rgba(0,0,0,0.72);

    backdrop-filter: blur(8px);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.movie-info {
    position: relative;

    padding: 14px 13px 15px;
}

.movie-info h3 {
    position: relative;

    display: inline-block;

    max-width: 100%;

    margin-bottom: 9px;
    padding: 4px 7px;

    color: #f5f5f6;

    font-size: 13px;
    line-height: 1.25;

    border-radius: 6px;

    background: rgba(255,255,255,0.012);

    overflow: hidden;
}

.movie-info h3::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    padding: 1px;

    background: conic-gradient(
        from 0deg,
        transparent,
        transparent 65%,
        rgba(229,35,43,0.9),
        transparent 82%
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;

    transition: opacity 0.3s ease;

    animation: titleBorderSpin 2.8s linear infinite;
}

.movie-card:hover .movie-info h3::before {
    opacity: 1;
}

@keyframes titleBorderSpin {
    to {
        transform: rotate(360deg);
    }
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--muted-2);

    font-size: 10px;

    white-space: nowrap;
}

.movie-meta .rating {
    color: var(--yellow);
    font-weight: 800;
}

.movie-meta .duration {
    color: #aeb3bd;
}

.movie-meta span:not(:last-child)::after {
    content: "•";

    margin-left: 7px;

    color: #454a53;
}


/* =========================================================
   FEATURES
   ========================================================= */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

    margin-bottom: 90px;
}

.feature {
    position: relative;

    min-height: 145px;

    padding: 24px 20px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );

    transition:
        transform 0.35s var(--ease),
        border-color 0.35s ease,
        background 0.35s ease;
}

.feature::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    bottom: -55px;

    border-radius: 50%;

    background: rgba(229,35,43,0.10);

    filter: blur(30px);

    transition: transform 0.45s var(--ease);
}

.feature:hover {
    transform: translateY(-5px);

    border-color: rgba(229,35,43,0.25);

    background:
        linear-gradient(
            145deg,
            rgba(229,35,43,0.075),
            rgba(255,255,255,0.015)
        );
}

.feature:hover::after {
    transform: scale(1.5);
}

.feature-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 12px;

    color: var(--red-bright);

    background: rgba(229,35,43,0.10);
    border: 1px solid rgba(229,35,43,0.16);

    font-size: 18px;
}

.feature h3 {
    margin-bottom: 7px;

    font-size: 14px;
}

.feature p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   MOVIE DETAILS
   ========================================================= */

.movie-details {
    width: min(1180px, 90%);

    margin: 50px auto 100px;

    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}

.details-poster {
    position: relative;

    width: 100%;

    padding: 9px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(229,35,43,0.12),
            rgba(255,255,255,0.025)
        );

    box-shadow: var(--shadow);
}

.details-poster::before {
    content: "";

    position: absolute;

    inset: -35px;

    z-index: -1;

    border-radius: 50%;

    background: rgba(229,35,43,0.10);

    filter: blur(55px);
}

.details-poster img {
    width: 100%;

    border-radius: 12px;

    transition:
        transform 0.45s var(--ease),
        filter 0.4s ease;
}

.details-poster:hover img {
    transform: scale(1.015);
    filter: brightness(1.05);
}

.details-info h1 {
    position: relative;

    display: inline-block;

    margin-bottom: 15px;
    padding: 7px 10px;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.5px;

    border-radius: 8px;
}

.details-info h1::after {
    content: "";

    position: absolute;
    inset: 0;

    padding: 1px;

    border-radius: inherit;

    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(229,35,43,0.85),
        transparent 25%,
        transparent 65%,
        rgba(255,61,70,0.7),
        transparent
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    animation: titleBorderSpin 4s linear infinite;
}

.details-info > p {
    color: var(--muted);

    line-height: 1.8;
    font-size: 14px;

    margin-bottom: 22px;
}

.details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 25px;
}

.details-meta span {
    padding: 8px 12px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: #c0c4cc;
    background: rgba(255,255,255,0.025);

    font-size: 11px;
}

.details-meta strong {
    color: #fff;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-btn,
.watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 19px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.download-btn {
    color: #fff;

    background: linear-gradient(
        135deg,
        var(--red-bright),
        var(--red)
    );

    box-shadow: 0 10px 25px rgba(229,35,43,0.18);
}

.watch-btn {
    color: #ddd;

    border: 1px solid var(--border-strong);

    background: rgba(255,255,255,0.035);
}

.download-btn:hover,
.watch-btn:hover {
    transform: translateY(-3px);
}

.download-btn:hover {
    box-shadow: 0 15px 35px rgba(229,35,43,0.28);
}

.watch-btn:hover {
    border-color: rgba(229,35,43,0.35);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    position: relative;

    padding: 38px 5%;

    border-top: 1px solid rgba(255,255,255,0.07);

    text-align: center;

    background: #040507;
}

.footer::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: 180px;
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        var(--red),
        transparent
    );

    box-shadow: 0 0 15px rgba(229,35,43,0.45);
}

.footer-logo {
    margin-bottom: 9px;

    font-size: 19px;
    font-weight: 900;
}

.footer p {
    color: #666b74;

    font-size: 11px;
}


/* =========================================================
   EMPTY / ERROR STATE
   ========================================================= */

.no-movies,
.movie-not-found {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    color: var(--muted);

    border: 1px dashed rgba(255,255,255,0.10);
    border-radius: 16px;

    background: rgba(255,255,255,0.015);
}

.movie-not-found h2 {
    color: #fff;
    margin-bottom: 8px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .featured-movies {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .header {
        padding: 0 4%;
    }

    .navbar {
        gap: 18px;
    }

    .search-box {
        width: 170px;
    }

    .movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-details {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 800px) {
    .header {
        height: auto;
        min-height: 70px;

        flex-wrap: wrap;

        padding: 13px 5%;
    }

    .navbar {
        order: 3;

        width: 100%;

        overflow-x: auto;
        justify-content: flex-start;

        gap: 23px;

        scrollbar-width: none;
    }

    .navbar::-webkit-scrollbar {
        display: none;
    }

    .navbar a {
        padding: 5px 0 9px;

        white-space: nowrap;
    }

    .navbar a::after {
        bottom: 1px;
    }

    .header-right {
        margin-left: auto;
    }

    .hero {
        width: 92%;

        padding: 30px 24px;

        border-radius: 20px;
    }

    .featured-movies {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .movie-details {
        width: 92%;

        grid-template-columns: 1fr;

        max-width: 650px;
    }

    .details-poster {
        max-width: 310px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .header {
        gap: 10px;
    }

    .logo {
        font-size: 19px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .search-box {
        width: 145px;
    }

    .login-btn {
        min-width: 65px;
    }

    .hero {
        margin-top: 20px;

        padding: 25px 19px;
    }

    .hero-content h1 {
        font-size: 35px;
        letter-spacing: -1.4px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .featured-card {
        min-height: 250px;
    }

    .category-section,
    .movies-section,
    .features {
        width: 92%;
    }

    .section-title {
        font-size: 19px;
    }

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .movie-info {
        padding: 11px 10px 12px;
    }

    .movie-info h3 {
        font-size: 12px;
    }

    .movie-meta {
        font-size: 9px;
        gap: 4px;
    }

    .movie-meta span:not(:last-child)::after {
        margin-left: 4px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .details-info h1 {
        font-size: 32px;
    }
}

@media (max-width: 430px) {
    .header-right {
        width: 100%;
        margin-left: 0;
    }

    .header-right .search-box {
        flex: 1;
    }

    .login-btn {
        min-width: 75px;
    }

    .featured-movies {
        gap: 9px;
    }

    .featured-card {
        min-height: 225px;
    }

    .category {
        min-width: auto;
        padding: 9px 13px;
        font-size: 11px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* =========================================================
   PREMIUM DETAILS EXTRAS
   ========================================================= */

.related-section {
    margin-top: -30px;
}

.details-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;

    color: var(--red-bright);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.details-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;

    color: #9da2ac;

    font-size: 12px;
}

.details-rating-row > span {
    padding-right: 10px;

    border-right: 1px solid rgba(255,255,255,0.10);
}

.details-rating-row > span:last-child {
    border-right: 0;
}

.details-rating-row .big-rating {
    color: #ffc857;
    font-weight: 900;
}

.details-description {
    max-width: 720px;

    color: #9da2ac;

    font-size: 14px;
    line-height: 1.9;
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    max-width: 650px;

    margin-bottom: 25px;
}

.details-info-box {
    padding: 13px 15px;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.012)
        );

    transition:
        border-color 0.3s ease,
        transform 0.3s var(--ease),
        background 0.3s ease;
}

.details-info-box:hover {
    transform: translateY(-2px);

    border-color: rgba(229,35,43,0.28);

    background:
        linear-gradient(
            145deg,
            rgba(229,35,43,0.07),
            rgba(255,255,255,0.015)
        );
}

.details-info-box span {
    display: block;

    margin-bottom: 5px;

    color: #666d78;

    font-size: 10px;
}

.details-info-box strong {
    color: #e9eaec;

    font-size: 12px;
}

.details-quality {
    top: 18px;
    left: 18px;

    padding: 7px 10px;

    font-size: 10px;

    background: rgba(229,35,43,0.88);

    border-color: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {

    .related-section {
        margin-top: 0;
    }

    .details-info-grid {
        grid-template-columns: 1fr;
    }

    .details-rating-row {
        gap: 7px;
    }

    .details-rating-row > span {
        padding-right: 7px;
    }

}/* =========================================================
   PREMIUM LATEST BADGE + MOVIE AGE
   ========================================================= */

.movie-poster {
    position: relative;
}
.latest-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 11px;

    border: 1px solid rgba(255, 70, 95, 0.45);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 45, 75, 0.24),
            rgba(12, 12, 17, 0.82)
        );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(255, 45, 75, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    animation: cinevaultLatestPremium 2.8s ease-in-out infinite;
}

.latest-badge::before {
    content: "";

    position: absolute;
    inset: -1px;

    border-radius: inherit;

    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 80%
    );

    opacity: 0;

    pointer-events: none;

    animation: latestShine 3.8s ease-in-out infinite;
}

.latest-dot {
    position: relative;

    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff3d64;

    box-shadow:
        0 0 0 3px rgba(255, 61, 100, 0.12),
        0 0 10px rgba(255, 61, 100, 0.85);

    animation: cinevaultLatestDot 1.7s ease-in-out infinite;
}

@keyframes cinevaultLatestPremium {

    0%,
    100% {
        transform: translateY(0);

        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.35),
            0 0 16px rgba(255, 45, 75, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }

    50% {
        transform: translateY(-1px);

        box-shadow:
            0 10px 26px rgba(0, 0, 0, 0.38),
            0 0 28px rgba(255, 45, 75, 0.34),
            inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }
}

@keyframes cinevaultLatestDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

@keyframes latestShine {

    0%,
    65%,
    100% {
        opacity: 0;
        transform: translateX(-30px);
    }

    75% {
        opacity: 0.35;
        transform: translateX(30px);
    }
}/* PREMIUM RED LATEST OVERRIDE */

.latest-badge {
    background:
        linear-gradient(
            135deg,
            rgba(255, 35, 55, 0.88),
            rgba(190, 10, 30, 0.78)
        ) !important;

    border-color: rgba(255, 100, 115, 0.75) !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(255, 30, 55, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}/* =========================================================
   CINEVAULT — PREMIUM CINEMATIC PAGINATION
   ========================================================= */

.pagination {
    position: relative;
    width: 100%;
    margin: 52px 0 34px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Subtle cinematic line */
.pagination::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            rgba(229, 35, 43, 0.18),
            rgba(255, 255, 255, 0.08),
            transparent
        );
    z-index: 0;
}

.pagination-pages,
.pagination-btn {
    position: relative;
    z-index: 1;
}


/* =========================================================
   PAGE NUMBER GROUP
   ========================================================= */

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   BASE BUTTON
   ========================================================= */

.pagination-btn {
    position: relative;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.018)
        );

    color: rgba(255, 255, 255, 0.72);

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.28s cubic-bezier(.2,.8,.2,1),
        color 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}


/* =========================================================
   SHINE EFFECT
   ========================================================= */

.pagination-btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.12),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left 0.55s ease;
}

.pagination-btn:hover::before {
    left: 150%;
}


/* =========================================================
   HOVER
   ========================================================= */

.pagination-btn:hover:not(:disabled) {

    transform: translateY(-3px);

    color: #ffffff;

    border-color:
        rgba(229, 35, 43, 0.48);

    background:
        linear-gradient(
            145deg,
            rgba(229, 35, 43, 0.18),
            rgba(255, 255, 255, 0.035)
        );

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.32),
        0 0 20px rgba(229, 35, 43, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* =========================================================
   ACTIVE PAGE
   ========================================================= */

.pagination-btn.active {

    color: #ffffff;

    border-color:
        rgba(255, 75, 84, 0.85);

    background:
        linear-gradient(
            145deg,
            #f02d36 0%,
            #c51b25 48%,
            #941018 100%
        );

    box-shadow:
        0 8px 24px rgba(229, 35, 43, 0.32),
        0 0 28px rgba(229, 35, 43, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    transform: translateY(-1px);
}


/* Active page inner glow */

.pagination-btn.active::after {

    content: "";

    position: absolute;
    inset: 1px;

    border-radius: 11px;

    border: 1px solid
        rgba(255, 255, 255, 0.12);

    pointer-events: none;
}


/* =========================================================
   PREVIOUS / NEXT
   ========================================================= */

.pagination-prev,
.pagination-next {

    min-width: 92px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.025)
        );

    color: rgba(255, 255, 255, 0.82);

    letter-spacing: 0.35px;
}

.pagination-prev {
    margin-right: 3px;
}

.pagination-next {
    margin-left: 3px;
}


/* Arrow */

.pagination-prev,
.pagination-next {

    font-size: 12px;
}


/* =========================================================
   DISABLED
   ========================================================= */

.pagination-btn:disabled {

    opacity: 0.28;

    cursor: not-allowed;

    transform: none;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.12);
}

.pagination-btn:disabled::before {
    display: none;
}


/* =========================================================
   FOCUS — KEYBOARD ACCESS
   ========================================================= */

.pagination-btn:focus-visible {

    outline: none;

    border-color:
        rgba(255, 80, 90, 0.9);

    box-shadow:
        0 0 0 3px rgba(229, 35, 43, 0.16),
        0 0 22px rgba(229, 35, 43, 0.18);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .pagination {

        margin: 38px 0 24px;

        gap: 7px;
    }

    .pagination::before {

        left: 2%;
        right: 2%;
    }

    .pagination-pages {

        gap: 5px;

        padding: 5px;

        border-radius: 14px;
    }

    .pagination-btn {

        min-width: 38px;

        height: 38px;

        padding: 0 9px;

        border-radius: 10px;

        font-size: 11px;
    }

    .pagination-prev,
    .pagination-next {

        min-width: 38px;

        padding: 0 9px;
    }

    .pagination-prev span,
    .pagination-next span {

        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .pagination {

        gap: 5px;
    }

    .pagination-pages {

        gap: 3px;

        padding: 4px;
    }

    .pagination-btn {

        min-width: 34px;

        height: 34px;

        padding: 0 7px;

        border-radius: 9px;

        font-size: 10px;
    }

    .pagination-prev,
    .pagination-next {

        min-width: 34px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pagination-btn {

        transition: none;
    }

    .pagination-btn:hover:not(:disabled) {

        transform: none;
    }

    .pagination-btn::before {

        display: none;
    }

}@media (prefers-reduced-motion: reduce) {
    .pagination-btn {
        transition: none;
    }

    .pagination-btn:hover:not(:disabled) {
        transform: none;
    }

    .pagination-btn::before {
        display: none;
    }
}/* =========================================================
   PREMIUM MOVIE CARD RATING + VIEWS
   ========================================================= */

/* IMDb / Rating on movie cards */
.movie-meta .movie-rating {
    color: #ffc857;
    font-weight: 800;
    text-shadow:
        0 0 5px rgba(255, 200, 87, 0.35),
        0 0 10px rgba(255, 180, 40, 0.18);
    transition:
        color 0.3s ease,
        text-shadow 0.3s ease,
        transform 0.3s ease;
}

.movie-meta .movie-rating:hover {
    color: #ffe08a;
    text-shadow:
        0 0 7px rgba(255, 224, 138, 0.65),
        0 0 14px rgba(255, 190, 50, 0.35);
    transform: translateY(-1px);
}


/* Movie Views */
.movie-meta .movie-views {
    color: #bfc5cf;
    font-weight: 700;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.08);
    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

/* Very subtle live glow */
.movie-meta .movie-views {
    animation: movieViewsGlow 2.5s ease-in-out infinite;
}

@keyframes movieViewsGlow {

    0%,
    100% {
        text-shadow:
            0 0 4px rgba(255, 255, 255, 0.05);
    }

    50% {
        text-shadow:
            0 0 7px rgba(255, 70, 70, 0.28);
    }
}/* =========================================================
   PREMIUM CINEVAULT FOOTER
   ========================================================= */

.footer {
    position: relative;
    overflow: hidden;

    text-align: center;

    margin-top: 50px;
    padding: 38px 20px 30px;

    background:
        linear-gradient(
            180deg,
            rgba(15, 15, 18, 0.96),
            rgba(7, 7, 9, 1)
        );

    border-top: 1px solid rgba(255, 45, 45, 0.18);

    box-shadow:
        0 -12px 35px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   CINEVAULT LOGO / NAME
   ========================================================= */

.footer > strong {
    display: inline-block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 900;

    letter-spacing: 0.6px;

    text-shadow:
        0 0 8px rgba(255, 45, 45, 0.35),
        0 0 18px rgba(255, 35, 35, 0.12);
}


/* =========================================================
   COPYRIGHT
   ========================================================= */

.footer .footer-copyright {
    margin: 0 0 16px;

    color: #9fa4ad;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.2px;
}


/* =========================================================
   COPYRIGHT DISCLAIMER BOX
   ========================================================= */

.footer .copyright-disclaimer {
    position: relative;

    max-width: 760px;

    margin: 0 auto;

    padding: 14px 20px;

    color: #777d87;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.7;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    border: 1px solid rgba(255, 255, 255, 0.065);

    border-radius: 10px;

    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.012),
        0 0 20px rgba(0, 0, 0, 0.20);

    overflow: hidden;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   SUBTLE HOVER
   ========================================================= */

.footer .copyright-disclaimer:hover {

    color: #aeb3bd;

    border-color:
        rgba(255, 55, 55, 0.20);

    box-shadow:
        0 0 18px rgba(255, 45, 45, 0.07),
        inset 0 0 20px rgba(255, 255, 255, 0.018);
}


/* =========================================================
   CONTINUOUS MOVING SHINE
   ========================================================= */

.footer .copyright-disclaimer::after {

    content: "";

    position: absolute;

    top: -20%;

    left: -35%;

    width: 24%;

    height: 140%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 55, 55, 0.08),
            rgba(255, 255, 255, 0.32),
            rgba(255, 55, 55, 0.08),
            transparent
        );

    transform:
        skewX(-20deg);

    animation:
        disclaimerShine 3.8s linear infinite;

    pointer-events: none;
}


/* =========================================================
   SHINE ANIMATION
   ========================================================= */

@keyframes disclaimerShine {

    0% {
        left: -35%;
    }

    100% {
        left: 115%;
    }

}


/* =========================================================
   MOBILE FOOTER
   ========================================================= */

@media (max-width: 600px) {

    .footer {

        margin-top: 40px;

        padding:
            30px 15px 25px;
    }


    .footer > strong {

        font-size: 20px;
    }


    .footer .footer-copyright {

        font-size: 12px;

        margin-bottom: 14px;
    }


    .footer .copyright-disclaimer {

        padding:
            12px 14px;

        font-size: 10px;

        line-height: 1.65;

        border-radius: 9px;
    }

}
/* PJ Dhamaka Logo — Same as Movie Details Page */
.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 21px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff9a42, #ff6500);
    color: #17100a;
    font-weight: 900;
    box-shadow: 0 4px 18px rgba(255, 120, 23, 0.25);
}

@media (max-width: 700px) {
    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }
}/* PJ Dhamaka — Fix overlapping logo icons */
body.pj-dhamaka .pj-logo .logo-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--pj-orange);
    font-size: 19px;
    box-shadow: none;
}

/* Remove the extra triangle from old CSS */
body.pj-dhamaka .pj-logo .logo-icon::after {
    content: none !important;
    display: none !important;
}/* =========================================
   PJ DHAMAKA — FOOTER PREMIUM RESTORE
========================================= */

body.pj-dhamaka .pj-footer {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin-top: 55px;
    padding: 40px 5% 28px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,106,0,.09), transparent 65%),
        linear-gradient(180deg, #111114 0%, #070709 100%);
    border-top: 1px solid rgba(255,106,0,.22);
    box-shadow: 0 -12px 35px rgba(0,0,0,.3);
}

body.pj-dhamaka .pj-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(75%, 500px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #ff6a00, transparent);
    box-shadow: 0 0 16px rgba(255,106,0,.5);
    pointer-events: none;
}

body.pj-dhamaka .pj-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

body.pj-dhamaka .pj-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .3s ease, filter .3s ease;
}

body.pj-dhamaka .pj-footer .footer-logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(255,106,0,.35));
}

body.pj-dhamaka .pj-footer .footer-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    color: #17100a;
    background: linear-gradient(135deg, #ff9a42, #ff6500);
    font-size: 19px;
    box-shadow: 0 4px 18px rgba(255,120,23,.25);
}

body.pj-dhamaka .pj-footer-brand > p {
    margin: 0;
    color: #a1a1ad;
    font-size: 13px;
    line-height: 1.7;
}

body.pj-dhamaka .pj-footer-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 19px;
    border: 1px solid rgba(255,106,0,.35);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,106,0,.15), rgba(255,106,0,.04));
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body.pj-dhamaka .pj-footer-telegram:hover {
    transform: translateY(-3px);
    border-color: #ff6a00;
    box-shadow: 0 8px 24px rgba(255,106,0,.17);
}

body.pj-dhamaka .pj-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 25px;
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

body.pj-dhamaka .pj-footer-links a {
    position: relative;
    color: #aeb0b8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

body.pj-dhamaka .pj-footer-links a:hover {
    color: #ff8a2a;
    transform: translateY(-2px);
}

body.pj-dhamaka .pj-footer .copyright-disclaimer {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0;
    padding: 14px 18px;
    overflow: hidden;
    border: 1px solid rgba(255,106,0,.12);
    border-radius: 12px;
    color: #858590;
    background: rgba(255,255,255,.025);
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
    transition: border-color .3s ease, box-shadow .3s ease;
}

body.pj-dhamaka .pj-footer .copyright-disclaimer:hover {
    border-color: rgba(255,106,0,.35);
    box-shadow: 0 0 20px rgba(255,106,0,.07);
}

body.pj-dhamaka .pj-footer .copyright-disclaimer::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -45%;
    width: 25%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: skewX(-20deg);
    animation: pjFooterShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pjFooterShine {
    0%, 65% { left: -45%; }
    100% { left: 130%; }
}

@media (max-width: 600px) {
    body.pj-dhamaka .pj-footer {
        gap: 20px;
        margin-top: 38px;
        padding: 30px 16px 24px;
    }

    body.pj-dhamaka .pj-footer .footer-logo {
        font-size: 20px;
    }

    body.pj-dhamaka .pj-footer-links {
        gap: 14px 18px;
        padding: 17px 0;
    }

    body.pj-dhamaka .pj-footer .copyright-disclaimer {
        padding: 12px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pj-dhamaka .pj-footer *,
    body.pj-dhamaka .pj-footer *::before,
    body.pj-dhamaka .pj-footer *::after {
        animation: none !important;
        transition: none !important;
    }
}/* Equal movie card size */
#latestMovies .movie-card {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#latestMovies .movie-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    object-fit: cover;
    display: block;
}

#latestMovies .movie-card .movie-info {
    flex: 1;
    min-width: 0;
}/* Home movie card: compact views and time */
#latestMovies .movie-card .movie-views,
#latestMovies .movie-card .movie-time {
    font-size: 9px !important;
    line-height: 1.2;
    white-space: nowrap;
}

#latestMovies .movie-card .movie-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pagination button.active {
    background: #ff8c00;
    border-color: #ff8c00;
    color: #ffffff;
}

.pagination button:hover {
    background: #ff7000;
    border-color: #ff7000;
}
