/* ==========================================================================
   AnimeTV Pro — Redesigned Search Discovery Studio & Header Live Spotlight
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header Instant Live Search Spotlight Dropdown (`#cmdDockSearchDropdown`)
   -------------------------------------------------------------------------- */
header.cmd-dock-header form.cmd-dock-search {
    position: relative !important;
}

.cmd-dock-clear-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.cmd-dock-clear-btn:hover {
    background: rgba(244, 63, 94, 0.22);
    color: #fda4af;
    transform: scale(1.06);
}

.cmd-live-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    min-width: 340px;
    border-radius: 22px;
    background: rgba(17, 19, 27, 0.96);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 1px solid rgba(251, 191, 36, 0.24);
    box-shadow: 0 28px 68px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top center;
    transition:
        opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.22s;
    direction: rtl;
}

.cmd-live-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

#animetvApp.day .cmd-live-search-panel {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow: 0 24px 54px -12px rgba(15, 23, 42, 0.22);
}

/* Scanning Gold Beam When Fetching */
.cmd-live-search-panel.is-loading::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, #fde047, #f59e0b, transparent);
    animation: srchScanBeam 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 4;
}

@keyframes srchScanBeam {
    0% {
        transform: translateX(110%);
    }
    100% {
        transform: translateX(-240%);
    }
}

.cmd-live-list {
    max-height: 410px;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cmd-live-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 8px 10px;
    border-radius: 15px;
    text-decoration: none !important;
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(8px);
    animation: srchLiveItemIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--idx, 0) * 40ms);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

#animetvApp.day .cmd-live-item {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.025);
}

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

.cmd-live-item:hover,
.cmd-live-item.is-kb-active {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.36);
}

.cmd-live-thumb {
    width: 48px;
    height: 66px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease;
}

.cmd-live-item:hover .cmd-live-thumb {
    transform: scale(1.06);
}

.cmd-live-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cmd-live-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.cmd-live-title.is-latin {
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-size: 16px;
    direction: ltr;
    text-align: right;
}

.cmd-live-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 11.5px;
    color: #94a3b8;
}

.cmd-live-pill {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
}

.cmd-live-pill.is-ep {
    background: rgba(167, 139, 250, 0.18);
    color: #c4b5fd;
}

.cmd-live-pill.is-rate {
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
}

.cmd-live-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cmd-live-item:hover .cmd-live-arrow,
.cmd-live-item.is-kb-active .cmd-live-arrow {
    background: #fbbf24;
    color: #111827;
    transform: translateX(-3px);
}

.cmd-live-empty {
    padding: 26px 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

.cmd-live-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: rgba(251, 191, 36, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #fbbf24 !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 800;
    transition: background 0.18s ease;
}

.cmd-live-footer:hover {
    background: rgba(251, 191, 36, 0.16);
}

/* --------------------------------------------------------------------------
   2. Full Search Discovery Studio (`/?s=...`)
   -------------------------------------------------------------------------- */
.srch-studio-page {
    width: 96%;
    margin: 0 auto 48px;
    box-sizing: border-box;
    direction: rtl;
}

.srch-studio-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 28px 30px 24px;
    margin-bottom: 28px;
    background: linear-gradient(155deg, rgba(27, 30, 42, 0.94) 0%, rgba(16, 18, 26, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.72);
    isolation: isolate;
    animation: srchHeroReveal 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

#animetvApp.day .srch-studio-hero {
    background: linear-gradient(155deg, #ffffff 0%, #f1f5f9 100%);
    border-color: rgba(15, 23, 42, 0.09);
    box-shadow: 0 20px 44px -20px rgba(15, 23, 42, 0.12);
}

@keyframes srchHeroReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Ambient Aurora Orbs */
.srch-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(68px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.42;
    animation: srchAuroraDrift 11s ease-in-out infinite alternate;
}

.srch-aurora--gold {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -60px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.42), transparent 70%);
}

.srch-aurora--violet {
    width: 360px;
    height: 360px;
    bottom: -170px;
    left: -80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.36), transparent 70%);
    animation-delay: -5s;
}

@keyframes srchAuroraDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-26px, 18px, 0) scale(1.12);
    }
}

.srch-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
}

.srch-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.13);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.srch-hero-heading {
    margin: 0;
    font-size: 23px;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.4;
}

#animetvApp.day .srch-hero-heading {
    color: #0f172a;
}

.srch-hero-heading strong {
    background: linear-gradient(120deg, #fde047, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3 Category Segmented Buttons */
.srch-cat-tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(10, 12, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#animetvApp.day .srch-cat-tabs {
    background: #e2e8f0;
    border-color: rgba(15, 23, 42, 0.08);
}

.srch-cat-tab {
    height: 42px;
    padding: 0 18px;
    border-radius: 13px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.srch-cat-tab:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.05);
}

.srch-cat-tab.is-active {
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 55%, #d97706 100%);
    color: #111827 !important;
    box-shadow: 0 8px 22px -6px rgba(251, 191, 36, 0.55);
    transform: translateY(-1px);
}

.srch-cat-tab.is-anime.is-active {
    background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 50%, #7c3aed 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 22px -6px rgba(139, 92, 246, 0.55);
}

.srch-cat-tab.is-chinese.is-active {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 50%, #059669 100%);
    color: #06281e !important;
    box-shadow: 0 8px 22px -6px rgba(16, 185, 129, 0.52);
}

/* Giant Interactive Live Omnibox */
.srch-omnibox-form {
    margin: 0 0 22px;
}

.srch-omnibox-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 62px;
    padding: 0 10px 0 10px;
    border-radius: 20px;
    background: rgba(11, 13, 20, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.65) inset;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.22s ease;
}

#animetvApp.day .srch-omnibox-shell {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.08);
}

.srch-omnibox-shell:focus-within {
    border-color: rgba(251, 191, 36, 0.78);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15), 0 18px 38px -14px rgba(0, 0, 0, 0.7);
    transform: translateY(-1px);
}

.srch-omnibox-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.13);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.srch-omnibox-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-family: "IRANYekanX", "Vazirmatn", sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    padding: 0 6px !important;
}

#animetvApp.day .srch-omnibox-input {
    color: #0f172a !important;
}

.srch-omnibox-input::placeholder {
    color: #64748b !important;
    font-weight: 500;
}

.srch-omnibox-clear {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.srch-omnibox-clear:hover {
    background: rgba(244, 63, 94, 0.22);
    border-color: rgba(244, 63, 94, 0.45);
    color: #fda4af;
    transform: rotate(90deg);
}

.srch-omnibox-kbd {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-family: Consolas, monospace;
    font-size: 12px;
    user-select: none;
}

.srch-omnibox-submit {
    height: 46px;
    padding: 0 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 55%, #d97706 100%);
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(251, 191, 36, 0.5);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.srch-omnibox-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Interactive Filter Command Deck */
.srch-filter-deck {
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#animetvApp.day .srch-filter-deck {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.08);
}

.srch-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.srch-pill-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.srch-group-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    color: #94a3b8;
    white-space: nowrap;
}

.srch-group-label i {
    color: #fbbf24;
}

.srch-pills-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.srch-pill {
    height: 35px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#animetvApp.day .srch-pill {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

.srch-pill:hover {
    border-color: rgba(251, 191, 36, 0.45);
    color: #f8fafc;
    transform: translateY(-1px);
}

.srch-pill.is-active {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.72);
    color: #fbbf24 !important;
    box-shadow: 0 4px 14px -4px rgba(251, 191, 36, 0.32);
}

#animetvApp.day .srch-pill.is-active {
    color: #b45309 !important;
}

.srch-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

/* Multi-Genre Chips + Collapsible Toggle */
.srch-genres-box {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.srch-genres-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.srch-genre-chip {
    height: 34px;
    padding: 0 13px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(15, 17, 25, 0.65);
    color: #cbd5e1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#animetvApp.day .srch-genre-chip {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #334155;
}

.srch-genre-chip.is-collapsed {
    display: none !important;
}

.srch-genre-chip .srch-chip-check {
    font-size: 10px;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: width 0.18s ease, opacity 0.18s ease;
}

.srch-genre-chip:hover {
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-1px);
}

.srch-genre-chip.is-active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.14));
    border-color: #fbbf24;
    color: #fde047;
    transform: scale(1.03);
}

#animetvApp.day .srch-genre-chip.is-active {
    color: #b45309;
}

.srch-genre-chip.is-active .srch-chip-check {
    width: 12px;
    opacity: 1;
}

.srch-more-genres-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: 11px;
    border: 1px dashed rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.srch-more-genres-btn:hover {
    background: rgba(251, 191, 36, 0.16);
}

.srch-more-genres-btn i {
    font-size: 11px;
    transition: transform 0.22s ease;
}

.srch-more-genres-btn.is-expanded i {
    transform: rotate(180deg);
}

/* Status Bar: Live Counter & Active Filter Tags */
.srch-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.srch-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #cbd5e1;
}

#animetvApp.day .srch-count-badge {
    color: #334155;
}

.srch-count-badge strong {
    font-size: 18px;
    font-weight: 900;
    color: #fbbf24;
}

.srch-pulse-ring {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    animation: srchPulseDot 2s infinite;
}

@keyframes srchPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.65);
    }
    70% {
        box-shadow: 0 0 0 9px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.srch-active-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.srch-active-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.srch-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.38);
    color: #fde047;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    animation: srchLiveItemIn 0.2s ease forwards;
}

.srch-reset-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
}

#animetvApp.day .srch-reset-btn {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #334155;
}

.srch-reset-btn:hover {
    background: rgba(244, 63, 94, 0.16);
    border-color: rgba(244, 63, 94, 0.45);
    color: #fda4af;
}

/* --------------------------------------------------------------------------
   3. Animated Cinema Poster Grid & Cards
   -------------------------------------------------------------------------- */
.srch-cinema-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 1740px) {
    .srch-cinema-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1320px) {
    .srch-cinema-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 980px) {
    .srch-cinema-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .srch-studio-hero {
        padding: 20px 16px;
        border-radius: 22px;
    }
    .srch-omnibox-kbd {
        display: none;
    }
    .srch-omnibox-submit span {
        display: none;
    }
    .srch-omnibox-submit {
        padding: 0 16px;
    }
    .srch-cinema-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.srch-cinema-card {
    position: relative;
    display: block;
    border-radius: 22px;
    text-decoration: none !important;
    color: #f8fafc !important;
    opacity: 0;
    transform: translateY(22px) scale(0.965);
    animation: srchCardSpringIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--card-i, 0) * 35ms);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

@keyframes srchCardSpringIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.srch-card-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 2.82;
    border-radius: 22px;
    overflow: hidden;
    background: #12141d;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.srch-cinema-card:hover {
    transform: translateY(-7px);
}

.srch-cinema-card:hover .srch-card-poster-wrap {
    border-color: rgba(251, 191, 36, 0.58);
    box-shadow: 0 24px 48px -14px rgba(0, 0, 0, 0.85), 0 0 24px -6px rgba(251, 191, 36, 0.25);
}

.srch-cinema-card.is-chinese:hover .srch-card-poster-wrap {
    border-color: rgba(52, 211, 153, 0.62);
    box-shadow: 0 24px 48px -14px rgba(0, 0, 0, 0.85), 0 0 24px -6px rgba(52, 211, 153, 0.25);
}

.srch-card-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.srch-cinema-card:hover .srch-card-poster {
    transform: scale(1.07);
}

.srch-card-top-badges {
    position: absolute;
    top: 11px;
    right: 11px;
    left: 11px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.srch-badge-ep,
.srch-badge-rate,
.srch-badge-free {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.srch-badge-ep {
    background: rgba(15, 17, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
}

.srch-badge-rate {
    background: rgba(15, 17, 26, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.srch-badge-free {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.srch-card-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(8, 10, 16, 0.05) 0%,
        rgba(8, 10, 16, 0.22) 42%,
        rgba(8, 10, 16, 0.9) 82%,
        rgba(8, 10, 16, 0.98) 100%
    );
}

.srch-card-body {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(34px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.srch-cinema-card:hover .srch-card-body {
    transform: translateY(0);
}

.srch-card-kicker-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
}

.srch-card-type {
    color: #c4b5fd;
}

.srch-cinema-card.is-chinese .srch-card-type {
    color: #6ee7b7;
}

.srch-card-title {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srch-card-title.is-latin {
    font-family: "kalame", "IRANYekanX", sans-serif;
    font-size: 17px;
    text-align: right;
}

.srch-card-genres {
    margin: 0;
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.srch-card-cta {
    margin-top: 6px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #111827;
    font-size: 11.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.srch-cinema-card:hover .srch-card-cta {
    opacity: 1;
}

/* Shimmer Skeleton Cards During AJAX Fetch */
.srch-skeleton-card {
    aspect-ratio: 2 / 2.82;
    border-radius: 22px;
    background: linear-gradient(
        110deg,
        rgba(30, 34, 48, 0.72) 25%,
        rgba(51, 58, 80, 0.85) 38%,
        rgba(30, 34, 48, 0.72) 52%
    );
    background-size: 220% 100%;
    animation: srchShimmer 1.25s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@keyframes srchShimmer {
    to {
        background-position-x: -220%;
    }
}

/* Empty State */
.srch-empty-box {
    grid-column: 1 / -1;
    padding: 64px 24px;
    border-radius: 26px;
    background: rgba(22, 25, 35, 0.78);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    text-align: center;
    animation: srchHeroReveal 0.35s ease;
}

.srch-empty-orb {
    width: 78px;
    height: 78px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.04));
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: srchFloatOrb 3s ease-in-out infinite alternate;
}

@keyframes srchFloatOrb {
    from {
        transform: translateY(-4px);
    }
    to {
        transform: translateY(5px);
    }
}

.srch-empty-box h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #f8fafc;
}

.srch-empty-box p {
    margin: 0 0 20px;
    font-size: 13.5px;
    color: #94a3b8;
}

.srch-empty-reset {
    height: 42px;
    padding: 0 22px;
    border-radius: 13px;
    border: none;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #111827;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
