/* ╔══════════════════════════════════════════════════════════════════╗
   ║  OYE FILMWALA — CYBER-CINEMATIC NEWS PORTAL                    ║
   ║  Deep Black · Electric Blue · Glassmorphism · Movie Portal     ║
   ╚══════════════════════════════════════════════════════════════════╝ */

:root {
    --black: #050508;
    --charcoal: #0a0a0f;
    --dark-surface: #0f0f18;
    --panel: #111122;
    --neon: #00bfff;
    --neon-dark: #0099cc;
    --neon-glow: rgba(0, 191, 255, 0.4);
    --neon-subtle: rgba(0, 191, 255, 0.08);
    --neon-border: rgba(0, 191, 255, 0.15);
    --neon-hover: rgba(0, 191, 255, 0.30);
    --cyan: #00d4ff;
    --white: #ffffff;
    --text: #e0e6f0;
    --text-muted: rgba(224, 230, 240, 0.55);
    --text-dim: rgba(224, 230, 240, 0.30);
    --red: #E50914;
    --gold: #ffd700;
    --green: #00c853;
    --glass-bg: rgba(10, 10, 15, 0.80);
    --glass-hover: rgba(10, 10, 15, 0.90);
    --glass-border: 1px solid var(--neon-border);
    --glass-blur: blur(20px);
    --glass-radius: 16px;
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5);
    --glow-neon: 0 0 20px var(--neon-glow);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.2s var(--ease);
    --t-med: 0.35s var(--ease);
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Skeleton loading animation */
.skeleton-pulse {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(0, 191, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 15% 10%, rgba(0, 191, 255, 0.06), transparent 50%),
        radial-gradient(ellipse at 85% 90%, rgba(0, 191, 255, 0.04), transparent 50%), var(--black);
}

::selection {
    background: rgba(0, 191, 255, 0.3);
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--neon);
    text-decoration: none;
}

a:hover {
    color: var(--cyan);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--text-muted);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--glass-radius);
    transition: var(--t-med);
}

.glass-card:hover {
    border-color: var(--neon-hover);
    box-shadow: var(--shadow-card), 0 0 30px rgba(0, 191, 255, 0.06);
}

.glow-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-glow), transparent);
}

/* ═══ TOP BAR ═══ */
.top-bar {
    background: rgba(0, 191, 255, 0.06);
    border-bottom: 1px solid var(--neon-border);
    padding: 6px 0;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    flex: 1;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
    white-space: nowrap;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.ticker {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    will-change: transform;
}

.top-date {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    font-weight: 500;
}

/* Spinner */
.lucide-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ═══ NAVBAR ═══ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: var(--glass-blur) saturate(180%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(180%);
    border-bottom: 1px solid var(--neon-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-border);
    box-shadow: 0 0 10px var(--neon-glow);
    transition: var(--t-med);
}

.nav-brand:hover .brand-logo {
    box-shadow: 0 0 18px var(--neon-glow);
    border-color: var(--neon);
}

.brand-text {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 1.5px;
}

.brand-accent {
    color: var(--neon);
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--t-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon);
    background: var(--neon-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--t-fast);
    display: flex;
}

.nav-search-btn:hover {
    color: var(--neon);
    background: var(--neon-subtle);
}

.nav-search-btn svg {
    width: 20px;
    height: 20px;
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: var(--glass-blur);
    padding: 16px 0;
    border-bottom: 1px solid var(--neon-border);
    animation: slideDown .2s ease;
    z-index: 100;
}

.search-bar-full {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-bar-icon {
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.search-bar-full input {
    flex: 1;
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    font-family: var(--font);
    font-weight: 400;
    outline: none;
}

.search-bar-full input::placeholder {
    color: var(--text-dim);
}

.search-close-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 28px;
    cursor: pointer;
    padding: 0 4px;
}

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    transition: var(--t-med);
    text-decoration: none;
    white-space: nowrap;
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.btn-neon {
    background: linear-gradient(135deg, var(--neon), var(--neon-dark));
    color: var(--black);
    box-shadow: 0 4px 16px var(--neon-glow);
}

.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--neon-glow);
    color: var(--black);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--neon-border);
}

.btn-ghost:hover {
    border-color: var(--neon);
    color: var(--neon);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

/* ═══ HERO SLIDER ═══ */
.hero-slider {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: var(--black);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-bg {
    position: absolute;
    inset: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 40px;
}

.slide-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.slide-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-exclusive {
    background: var(--red);
    color: #fff;
}

.tag-new {
    background: var(--green);
    color: #fff;
}

.tag-trending {
    background: #ff6b35;
    color: #fff;
}

.tag-upcoming {
    background: var(--neon);
    color: var(--black);
}

.slide-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 14px;
}

.slide-desc {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}

.slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.slider-controls {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--neon-border);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-fast);
}

.slider-arrow:hover {
    background: var(--neon);
    color: var(--black);
    border-color: var(--neon);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--t-fast);
}

.dot.active {
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon-glow);
    width: 28px;
    border-radius: 5px;
}

/* ═══ BREAKING STRIP ═══ */
.breaking-strip {
    background: rgba(229, 9, 20, 0.08);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
    padding: 8px 0;
    overflow: hidden;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breaking-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 1px;
    white-space: nowrap;
    background: rgba(229, 9, 20, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
}

.breaking-scroll {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
}

.breaking-sep {
    color: var(--text-dim);
}

/* ═══ SECTIONS ═══ */
.section {
    padding: 64px 20px;
}

.section-dark {
    background: rgba(10, 10, 15, 0.5);
}

.section-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--neon-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon);
    flex-shrink: 0;
}

.section-icon svg {
    width: 20px;
    height: 20px;
}

.section-title-inline {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.section-sub {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 400;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--neon);
    transition: var(--t-fast);
}

.view-all-link:hover {
    gap: 8px;
}

.link-icon {
    width: 14px;
    height: 14px;
}

.tiny-icon {
    width: 13px;
    height: 13px;
    vertical-align: -2px;
}

/* ═══ TRENDING GRID ═══ */
.trending-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.news-card {
    overflow: hidden;
    cursor: pointer;
}

.news-card-featured {
    grid-row: 1 / 3;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
}

.news-card-featured .card-img-wrap {
    height: 280px;
}

.news-card:not(.news-card-featured) .card-img-wrap {
    height: 160px;
}

.card-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.news-card:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    background: var(--red);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.card-body {
    padding: 16px;
}

.card-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.card-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-time {
    font-size: 11px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.news-card-featured .card-title {
    font-size: 20px;
}

.card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim);
}

.card-author,
.card-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ═══ NEWS LIST (Latest) ═══ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    overflow: hidden;
    cursor: pointer;
}

.news-row:hover {
    transform: translateY(-3px);
}

.news-row-img {
    width: 100%;
    height: 100%;
    min-height: 140px;
}

.news-row-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-row-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-row-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══ BOX OFFICE TABLE ═══ */
.box-office-table {
    padding: 0;
    overflow: hidden;
}

.bo-header {
    display: grid;
    grid-template-columns: 50px 1fr 100px 100px 90px;
    padding: 14px 20px;
    background: rgba(0, 191, 255, 0.06);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--neon-border);
}

.bo-row {
    display: grid;
    grid-template-columns: 50px 1fr 100px 100px 90px;
    padding: 14px 20px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--t-fast);
}

.bo-row:hover {
    background: rgba(0, 191, 255, 0.03);
}

.bo-row:last-child {
    border-bottom: none;
}

.bo-col {
    font-size: 14px;
}

.bo-movie strong {
    color: var(--white);
    font-weight: 600;
    display: block;
}

.bo-movie small {
    color: var(--text-dim);
    font-size: 11px;
}

.bo-week {
    font-weight: 600;
    color: var(--gold);
}

.bo-total {
    font-weight: 700;
    color: var(--white);
}

.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.rank-1 {
    background: linear-gradient(135deg, var(--gold), #e6a800);
    color: var(--black);
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #909090);
    color: var(--black);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
}

.trend-up {
    color: var(--green);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trend-down {
    color: var(--red);
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trend-new {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
}

/* ═══ UPCOMING SCROLL ═══ */
.upcoming-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.upcoming-scroll::-webkit-scrollbar {
    height: 4px;
}

.upcoming-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.upcoming-scroll::-webkit-scrollbar-thumb {
    background: var(--neon-border);
    border-radius: 4px;
}

.upcoming-card {
    min-width: 200px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.upcoming-card:hover {
    transform: translateY(-6px);
}

.upcoming-poster {
    height: 230px;
}

.upcoming-body {
    padding: 14px;
}

.upcoming-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--neon);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.upcoming-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 4px 0;
}

.upcoming-genre {
    font-size: 12px;
    color: var(--text-dim);
}

/* ═══ REVIEWS ═══ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.review-card {
    padding: 24px;
    text-align: center;
}

.review-card:hover {
    transform: translateY(-6px);
}

.review-score {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.review-score span {
    font-size: 36px;
    font-weight: 900;
    color: var(--neon);
}

.review-movie {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.review-stars {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-verdict {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-by {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 600;
}

/* ═══ NEWSLETTER ═══ */
.newsletter-section {
    padding: 48px 20px;
}

.newsletter-card {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.newsletter-content h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid var(--neon-border);
    border-radius: 10px;
    background: rgba(10, 10, 15, 0.6);
    color: var(--white);
    font-size: 14px;
    font-family: var(--font);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: var(--glow-neon);
}

.newsletter-form input::placeholder {
    color: var(--text-dim);
}

/* ═══ MODALS ═══ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 36px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 191, 255, 0.05);
    animation: slideUp .35s var(--ease);
}

.modal-wide {
    max-width: 720px;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── ADMIN ENHANCEMENTS ─── */
.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.act-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 191, 255, 0.1);
    color: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.act-icon svg {
    width: 14px;
    height: 14px;
}

.act-text {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}

.act-time {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
}

.health-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.health-label {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

.health-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.status-up {
    background: rgba(0, 255, 135, 0.15);
    color: #00ff87;
}

.status-down {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
}

.p-24 {
    padding: 24px;
}

.panel-title-sm {
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.panel-title-sm svg {
    color: var(--neon);
    width: 20px;
    height: 20px;
}

/* ─── CINEMATIC UX ─── */
.btn-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.cinematic-pulse {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--neon-glow), inset 0 0 5px var(--neon-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-glow), inset 0 0 10px var(--neon-glow);
    }
}

.auth-status-msg {
    animation: slideUpFade 0.4s ease forwards;
}

/* API Loading State */
.api-loading::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    background-size: 200% 100%;
    animation: loadingBar 1.5s infinite linear;
    z-index: 9999;
    pointer-events: none;
}

@keyframes loadingBar {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-dim);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--t-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--neon);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 14px;
}

.modal-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 2px solid var(--neon-border);
    box-shadow: 0 0 20px var(--neon-glow);
}

/* Forms */
.form-group {
    margin-bottom: 10px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--neon-border);
    border-radius: 10px;
    background: rgba(10, 10, 15, 0.6);
    color: var(--white);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--t-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 12px var(--neon-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
    font-weight: 300;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-error {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 500;
    margin: 6px 0;
    animation: shake .4s ease;
}

.form-success {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid var(--neon-border);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--neon);
    font-size: 13px;
    font-weight: 500;
    margin: 6px 0;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0)
    }

    20%,
    60% {
        transform: translateX(-4px)
    }

    40%,
    80% {
        transform: translateX(4px)
    }
}

.modal-footer-text {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin-top: 16px;
}

.modal-footer-text a {
    color: var(--neon);
    font-weight: 600;
}

/* Input icons */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap input {
    width: 100%;
    padding: 12px 14px 12px 40px;
}

.input-icon {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    pointer-events: none;
    z-index: 1;
}

.pwd-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    z-index: 2;
}

.pwd-icon {
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    transition: var(--t-fast);
}

.pwd-toggle:hover .pwd-icon {
    color: var(--neon);
}

.pwd-strength {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.pwd-bar {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width .4s ease, background .4s ease;
}

.pwd-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 3px;
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--neon);
}

.form-link {
    font-size: 12px;
    color: var(--neon);
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

.modal-divider {
    display: flex;
    align-items: center;
    margin: 16px 0 10px;
    gap: 14px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-border), transparent);
}

.modal-divider span {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* OTP */
.otp-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 48px !important;
    height: 56px;
    text-align: center;
    font-size: 22px !important;
    font-weight: 700;
    border-radius: 12px !important;
    color: var(--neon) !important;
}

.otp-timer {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin: 10px 0;
}

.otp-timer strong {
    color: var(--neon);
    font-weight: 700;
}

/* Toast */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--neon-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--white);
    font-size: 14px;
    box-shadow: var(--shadow-card);
    max-width: 360px;
    animation: toastIn .4s ease, toastOut .4s ease 3.6s forwards;
}

.toast.success {
    border-left: 3px solid var(--neon);
}

.toast.error {
    border-left: 3px solid var(--red);
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes toastOut {
    to {
        transform: translateX(100%);
        opacity: 0
    }
}

/* Loading */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--neon-border);
    border-top-color: var(--neon);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* ═══ FOOTER ═══ */
.site-footer {
    background: var(--charcoal);
    border-top: 1px solid var(--neon-border);
    padding: 48px 20px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-border);
    box-shadow: 0 0 12px var(--neon-glow);
    flex-shrink: 0;
}

.footer-brand {
    font-size: 18px;
    font-weight: 900;
    color: var(--white);
}

.footer-tagline {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.footer-links a:hover {
    color: var(--neon);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-dim);
}

/* ═══ BOTTOM NAV ═══ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--neon-border);
    display: none;
    justify-content: space-around;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}

.bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    padding: 5px 10px;
    transition: var(--t-fast);
}

.bnav-icon {
    width: 20px;
    height: 20px;
}

.bnav-item.active {
    color: var(--neon);
}

.bnav-item.active .bnav-icon {
    filter: drop-shadow(0 0 6px var(--neon-glow));
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 65px;
    }

    .top-bar-right {
        display: none;
    }

    .hero-slider {
        height: 380px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slide-title {
        font-size: 26px;
    }

    .section {
        padding: 48px 16px;
    }

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

    .news-card-featured {
        grid-row: auto;
    }

    .news-row {
        grid-template-columns: 120px 1fr;
    }

    .news-row-img {
        min-height: 100px;
    }

    .bo-header,
    .bo-row {
        grid-template-columns: 36px 1fr 80px 80px;
        font-size: 12px;
    }

    .bo-trend {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .newsletter-card {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .modal-content {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 320px;
    }

    .slide-title {
        font-size: 22px;
    }

    .slide-desc {
        font-size: 13px;
    }

    .news-row {
        grid-template-columns: 1fr;
    }

    .news-row-img {
        height: 160px;
    }

    .bo-header,
    .bo-row {
        grid-template-columns: 32px 1fr 70px;
    }

    .bo-total {
        display: none;
    }

    .upcoming-card {
        min-width: 170px;
    }

    .upcoming-poster {
        height: 200px;
    }

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

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

    .otp-input {
        width: 42px !important;
        height: 50px;
        font-size: 18px !important;
    }
}

/* ═══ PASSWORD TOGGLE ═══ */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--neon-border);
    border-radius: 10px;
    background: rgba(10, 10, 15, 0.6);
    color: var(--white);
    font-size: 14px;
    font-family: var(--font);
    transition: var(--t-fast);
}

.input-icon-wrap input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 12px var(--neon-glow);
}

.input-icon-wrap input::placeholder {
    color: var(--text-dim);
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    pointer-events: none;
    z-index: 2;
}

.pwd-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: var(--t-fast);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwd-toggle:hover {
    color: var(--neon);
    background: var(--neon-subtle);
}

.pwd-icon {
    width: 18px;
    height: 18px;
}

/* ═══ PASSWORD STRENGTH ═══ */
.pwd-strength {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.pwd-bar {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 0.3s ease, background 0.3s ease;
}

.pwd-hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ═══ FORM ELEMENTS ═══ */
.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
}

.form-link {
    color: var(--neon);
    text-decoration: none;
    font-weight: 500;
}

.form-link:hover {
    text-decoration: underline;
}

.form-error {
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: #ff6b6b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}

.form-success {
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #69f0ae;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--neon);
    width: 16px;
    height: 16px;
}

/* ═══ MODAL ═══ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 440px;
    width: 100%;
    padding: 32px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.25s ease;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 28px;
    cursor: pointer;
    transition: var(--t-fast);
    line-height: 1;
    z-index: 2;
}

.modal-close:hover {
    color: var(--neon);
}

.modal-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-border);
    box-shadow: 0 0 16px var(--neon-glow);
    margin-bottom: 12px;
}

.modal-divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
    color: var(--text-dim);
    font-size: 12px;
}

.modal-divider::before,
.modal-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--neon-border);
}

.modal-divider::before {
    left: 0;
}

.modal-divider::after {
    right: 0;
}

.modal-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

.modal-footer-text a {
    color: var(--neon);
    text-decoration: none;
    font-weight: 600;
}

/* ═══ OTP INPUT ═══ */
.otp-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font);
    background: rgba(10, 10, 15, 0.6);
    border: 1.5px solid var(--neon-border);
    border-radius: 10px;
    color: var(--white);
    transition: var(--t-fast);
}

.otp-input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 12px var(--neon-glow);
}

.otp-timer {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ═══ TOAST NOTIFICATIONS ═══ */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    z-index: 99999;
    animation: toastIn 0.35s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.toast.success {
    background: rgba(0, 200, 83, 0.15);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: #69f0ae;
    backdrop-filter: blur(16px);
}

.toast.error {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: #ff6b6b;
    backdrop-filter: blur(16px);
}

.toast.info {
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: var(--neon);
    backdrop-filter: blur(16px);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(80px);
    }
}