/* ==========================================================================
   PARROT Cinema - Moctale Minimalist Theme (Apple Design Style)
   ========================================================================== */

:root {
    --bg-deep: #070708;
    --bg-surface: #121214;
    --bg-widget: #17171c;
    --border-subtle: #1c1c20;
    
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    
    /* Obsidian Accents */
    --color-purple: #bf5af2;
    --color-purple-dark: #af52de;
    --color-cyan: #5ac8fa;
    --color-gold: #ffd60a;
    --color-green: #30d158;
    --color-danger: #ff453a;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Glow Background Accent */
.glow-bg {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(191, 90, 242, 0.05) 0%, rgba(94, 92, 230, 0.01) 60%, rgba(7, 7, 8, 0) 100%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

/* Top Progress Bar - Navigation Loading Indicator */
#top-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--color-purple);
    box-shadow: 0 0 10px var(--color-purple), 0 0 5px var(--color-purple);
    z-index: 10000;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #232328;
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: #2f2f35;
}

/* Header Section */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 100;
    background: rgba(7, 7, 8, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.brand-logo-svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: #fff;
}

.brand-text {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* App Container */
.app-container {
    max-width: 1200px;
    margin: 72px auto 20px;
    padding: 0 24px;
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.4s ease-out;
}

/* Centered Homepage Search-First Section */
.hero-search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 52vh; /* Centered homepage Google-like viewport focus */
    padding: 8vh 0 6vh;
    position: relative;
    z-index: 10;
}

.brand-hero-title {
    display: none; /* Removed title text as requested */
}

.hero-subtext {
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.hero-search-container {
    position: relative;
    width: 100%;
    max-width: 820px; /* Wider, premium hero search width */
    margin: 0 auto;
    align-self: stretch;
}

.search-bar-box {
    display: flex;
    align-items: center;
    background: rgba(18, 18, 22, 0.65);
    border: 2px solid rgba(255, 255, 255, 0.08); 
    border-radius: 36px; /* Symmetrical capsule styling */
    padding: 0 0.6rem 0 1.8rem;
    height: 72px; /* Bigger, bolder height for premium visual statement */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 45px rgba(0,0,0,0.65), 0 0 35px rgba(191, 90, 242, 0.04); 
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    will-change: border-color, box-shadow;
}

.search-bar-box:focus-within {
    border-color: rgba(191, 90, 242, 0.7);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(191, 90, 242, 0.3);
}

.search-icon-svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    margin-right: 14px;
    flex-shrink: 0;
}

.search-bar-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.25rem; /* Larger, cleaner readability text */
    width: 100%;
    height: 48px;
    line-height: normal;
}

/* Symmetrical Search Action Button - Beautiful Solid Gradient Pill */
.search-action-btn {
    position: relative;
    background: radial-gradient(circle at 30% 30%, #bf5af2 0%, #5e5ce6 70%, #3a30ba 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(94, 92, 230, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.search-action-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
}

.search-action-btn:hover::before {
    left: 150%;
}

.search-action-btn:hover {
    transform: translateY(-2.5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(191, 90, 242, 0.65), 0 0 20px rgba(94, 92, 230, 0.45), inset 0 1.5px 3px rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.search-action-btn:active {
    transform: translateY(0.5px) scale(0.95);
}

.search-btn-svg {
    width: 18px;
    height: 18px;
    stroke-width: 3px;
}

/* Live Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 78px; /* Aligned below the taller search-bar-box */
    left: 0;
    right: 0;
    background: rgba(18, 18, 22, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(191, 90, 242, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(191, 90, 242, 0.05);
    display: none;
    flex-direction: column;
    z-index: 100;
    text-align: left;
}

.search-suggestions.active {
    display: flex;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: linear-gradient(90deg, rgba(191, 90, 242, 0.08) 0%, rgba(94, 92, 230, 0.02) 100%);
    border-left-color: var(--color-purple);
    padding-left: 21px; /* Elegant slide on hover */
}

.suggestion-poster {
    width: 38px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.suggestion-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.suggestion-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Symmetrical Grid Column Layout - Full Width */
.split-layout {
    display: block;
    margin-top: 10px;
}

.split-layout .section-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the title header */
    gap: 10px;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 22px;
    height: 22px;
    color: var(--color-purple);
}

.feed-title {
    font-size: 1.35rem;
    font-weight: 700;
}

/* Left Column: Movie Grid - Expanded Full Width */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Responsive stretching to fill screen width */
    gap: 1.25rem;
    width: 100%;
}

/* Skeletons */
.skeleton-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding-top: 150%;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Movie Card Replicated to match Screenshot 2 card frame */
.movie-card {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.card-poster-wrapper {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.card-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.movie-card:hover .card-poster {
    transform: scale(1.06);
}

.card-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(7, 7, 8, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-rating i {
    color: var(--color-gold);
}

.card-info {
    padding: 10px 2px;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 2px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-year {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Movie Details Page (Separate Screen Layout) */
.movie-details-page {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-deep);
    position: relative;
    padding-bottom: 5rem;
    animation: fadeIn 0.4s ease-out;
}

/* Symmetrical Back to Explore circular button */
.back-to-home-btn {
    position: absolute;
    top: 96px; /* below fixed header */
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.back-to-home-btn:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
    transform: scale(1.08);
}

/* Symmetrical search button top right corner */
.details-search-btn {
    position: absolute;
    top: 96px; /* below fixed header */
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.details-search-btn:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
    transform: scale(1.08);
}

/* Fullscreen Movie Banner Background */
.modal-hero-banner {
    position: relative;
    width: 100%;
    height: 52vh;
    background-size: cover;
    background-position: center 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 7, 8, 0.1) 0%, var(--bg-deep) 100%);
}

.hero-play-icon {
    position: relative;
    z-index: 2;
    width: 48px; /* SMALLER PLAY BUTTON (Match Moctale details banner mockup) */
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-play-icon:hover {
    transform: scale(1.08);
    background: #fff;
    color: var(--bg-deep);
}

/* Info container overlaps the banner */
.modal-details-container {
    max-width: 750px;
    margin: -140px auto 4rem;
    position: relative;
    z-index: 3;
    padding: 0 24px;
}

.modal-meta-header {
    display: flex;
    gap: 24px;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.modal-poster-wrap {
    width: 170px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-card);
}

.modal-poster-img {
    width: 100%;
    display: block;
}

.modal-title-metadata-wrap {
    flex: 1;
}

.modal-title-metadata-wrap h1 {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 4px;
    line-height: 1.15;
}

.modal-tagline {
    color: var(--color-purple);
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 12px;
}

.modal-original-title {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.modal-meta-row {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.modal-awards-badge-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    margin-bottom: 24px;
}

.modal-awards-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid currentColor;
    padding: 6px 16px;
    border-radius: 20px; /* Capsule shape */
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s ease;
    animation: fadeIn 0.4s ease-out;
}

.modal-awards-badge i {
    font-size: 0.85rem;
}

/* Accolade Custom Outline Colors */
.modal-awards-badge.gold {
    color: #FFD60A; /* Solid Yellow/Gold */
}

.modal-awards-badge.cyan {
    color: #0A84FF; /* Solid Cyan/Blue */
}

.modal-awards-badge.green {
    color: #30D158; /* Solid Green */
}

.modal-awards-badge.purple {
    color: #BF5AF2; /* Solid Purple */
}

/* Spec Column Grid Layout matches mockup */
.modal-spec-grid {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.spec-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.spec-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Symmetrical Action configurations - BEAUTIFUL SQUARED CARDS RESTORED */
.action-buttons-wrap {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.purpose-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.purpose-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.purpose-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.01);
}

.purpose-card.download-btn.active {
    border-color: #f3552d;
    background: rgba(243, 85, 45, 0.08);
    box-shadow: 0 0 30px rgba(243, 85, 45, 0.18);
}

.purpose-card.watch-btn.active {
    border-color: var(--color-cyan);
    background: rgba(90, 200, 250, 0.08);
    box-shadow: 0 0 30px rgba(90, 200, 250, 0.18);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.purpose-card.download-btn.active .card-icon {
    background: linear-gradient(135deg, #f3552d, #df3817);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purpose-card.watch-btn.active .card-icon {
    background: linear-gradient(135deg, var(--color-cyan), #007aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Language selector grid - Centered Premium Pill styles */
.language-panel-group {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    margin-bottom: 0;
}

.language-panel-group.visible {
    opacity: 1;
    max-height: 150px;
    margin-bottom: 2rem;
}

.language-panel-group h3 {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center; /* Center header */
}

.language-pills-list {
    display: flex;
    justify-content: center; /* Center pills list */
    gap: 16px;
}

.lang-pill-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 10px 28px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lang-pill-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.lang-pill-btn.active {
    background: #fff;
    color: #070708;
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Results panel showing progress and links output */
.results-panel {
    display: none;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.4s ease-out;
}

.results-panel.active {
    display: block;
}

.modal-section-block {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.modal-section-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.modal-overview-text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Thicker, smoother progress bar design */
.progress-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 1rem;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.progress-track {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    height: 18px; /* Thicker and smooth */
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.progress-fill {
    background: linear-gradient(90deg, #ff453a, #ff9f0a, #ffd60a, #30d158, #5ac8fa, #bf5af2);
    background-size: 200% 100%;
    animation: gradient-shimmer 2s linear infinite;
    height: 100%;
    border-radius: 12px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* ultra smooth cubic-bezier */
}

@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Links block styling - Beautiful Card Containing All Links */
.discovered-links-block {
    display: flex;
    flex-direction: column;
    background: rgba(18, 18, 20, 0.7);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 2rem 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.links-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.links-count-badge {
    background: rgba(191, 90, 242, 0.15);
    color: var(--color-purple);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.discovered-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-placeholder {
    text-align: center;
    padding: 40px 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Discovered Link Card - Re-designed to sit cleanly inside the parent card */
/* Discovered Link Card - Re-designed to sit cleanly inside the parent card */
.link-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Accent color overrides for Rare Networks VK/Mailru indexers */
.link-card.rare-card {
    border-color: rgba(48, 209, 88, 0.1);
    background: rgba(48, 209, 88, 0.01);
}

.link-card.rare-card:hover {
    border-color: rgba(48, 209, 88, 0.3);
    background: rgba(48, 209, 88, 0.03);
}

.link-card-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.link-site-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Premium Quality Tags list and items */
.link-qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.link-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tag-1080p {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-720p {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-4k {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.tag-hevc {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-dual {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tag-general {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Visit / Open button styling - Premium minimalist flat button */
.btn-visit {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-visit:hover {
    background: #ffffff;
    color: #070708;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.12);
}

.rare-visit-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.rare-visit-btn:hover {
    background: #ffffff !important;
    color: #070708 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.12) !important;
}

/* TV Shows Seasons Section styling */
.seasons-section-block {
    margin-top: 3rem;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.seasons-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.seasons-header-row h2 {
    font-size: 1.35rem;
    font-weight: 700;
}

.carousel-nav-arrows {
    display: flex;
    gap: 8px;
}

.nav-arrow-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.seasons-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    scrollbar-width: none; /* Firefox */
}

.seasons-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Season Card Replicated exactly to match Moctale Seasons mockup */
.season-card {
    flex: 0 0 310px; /* 310px width card */
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.season-poster {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #090d16;
}

.season-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    overflow: hidden;
}

.season-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.season-title-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.season-watched-icon {
    color: var(--color-green);
    font-size: 0.95rem;
}

.season-meta-row {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.season-reviews-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.season-progress-bar {
    background: rgba(255, 255, 255, 0.05);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.season-progress-fill {
    background: var(--color-purple);
    height: 100%;
    border-radius: 2px;
}

/* Footer Section */
.app-footer {
    padding: 50px 24px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    background: rgba(7, 7, 8, 0.95);
    margin-top: 5rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-creator {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.3px;
}

.creator-name {
    color: var(--color-purple);
    font-weight: 800;
}

.footer-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-email-link {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1.5px dashed var(--color-purple);
    transition: var(--transition-smooth);
    padding-bottom: 2px;
    font-weight: 500;
}

.footer-email-link:hover {
    color: var(--color-purple);
    border-bottom-style: solid;
}

/* Fade in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness Media Queries
   ========================================================================== */
@media (max-width: 900px) {
    .modal-details-container {
        margin-top: -120px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .app-header {
        height: 60px;
    }
    .header-container {
        padding: 0 16px;
    }
    .app-container {
        margin-top: 80px;
        padding: 0 16px;
    }
    
    .hero-search-section {
        padding: 6vh 0 5vh; /* adjust search hero center position on mobile */
    }
    
    .brand-hero-title {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }
    .hero-subtext {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }
    
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
        gap: 12px;
    }
    
    /* Fullscreen Details View Overlay */
    .modal-content-layout {
        padding: 1.5rem;
    }
    .modal-meta-header {
        flex-direction: row;
        align-items: flex-end;
        text-align: left;
        gap: 16px;
    }
    .modal-poster-wrap {
        width: 100px;
    }
    .modal-title-metadata-wrap h1 {
        font-size: 1.5rem;
    }
    .modal-spec-grid {
        justify-content: flex-start;
        gap: 20px;
        margin-top: 8px;
    }
    
    .purpose-cards-grid {
        gap: 12px;
    }
    
    .season-card {
        flex: 0 0 280px;
    }
}

/* Similar Releases Carousel */
.similar-releases-block {
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.similar-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.similar-header-row h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    color: var(--text-primary);
}

.similar-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    scrollbar-width: none;
}

.similar-carousel-track::-webkit-scrollbar {
    display: none;
}

.similar-card {
    width: 130px;
    flex: 0 0 130px; /* Small, compact slideable cards */
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.similar-card:hover {
    transform: translateY(-6px) scale(1.03);
}

.similar-poster-wrap {
    width: 130px;
    height: 195px; /* Strict fixed dimensions to ensure uniform sizing across all images */
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.similar-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-info {
    margin-top: 8px;
    padding: 0 4px;
}

.similar-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.similar-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.similar-meta .similar-rating {
    color: var(--color-purple);
    font-weight: 700;
}

/* ==========================================================================
   Dashboard Page Styles
   ========================================================================== */
.dash-hero-section {
    padding: 2rem 0;
}

.dash-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 20px;
}

.dash-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dash-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.5;
}

/* Symmetrical Ping All Button */
.btn-ping-all {
    background: var(--color-purple);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.4);
}

.btn-ping-all:hover {
    background: var(--color-purple-dark);
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 6px 20px rgba(191, 90, 242, 0.6);
}

.btn-ping-all.loading {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Stats Bar */
.dash-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-value.active-val {
    color: var(--color-green);
}

.stat-value.offline-val {
    color: var(--color-danger);
}

/* Sites Grid - Horizontal Tile Row Layout */
.sites-dash-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Site Card Styling - Redesigned as Horizontal Tile */
.site-dash-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.site-dash-card.disabled {
    opacity: 0.5;
    border-color: rgba(255, 255, 255, 0.03);
}

.site-dash-card:hover {
    border-color: var(--color-purple);
    transform: translateX(4px); /* Symmetrical horizontal translation */
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.site-dash-card.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Site Tile Elements styling */
.site-tile-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 2;
    min-width: 0;
}

.site-tile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.site-tile-url-link {
    font-size: 0.8rem;
    color: var(--color-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.site-tile-url-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.site-tile-endpoint-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.endpoint-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-tile-endpoint-code {
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.site-tile-meta {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex: 1.5;
}

.site-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-status-badge.active {
    background: rgba(48, 209, 88, 0.15);
    color: var(--color-green);
}

.site-status-badge.offline {
    background: rgba(255, 69, 58, 0.15);
    color: var(--color-danger);
}

.site-status-badge.checking {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.site-status-badge.disabled {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.meta-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-group-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-tag-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-transform: capitalize;
}

.meta-tag-badge.purpose {
    color: var(--color-cyan);
    border-color: rgba(90, 200, 250, 0.15);
    background: rgba(90, 200, 250, 0.04);
}

/* History Indicators */
.ping-history-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ping-dot.active {
    background: var(--color-green);
    box-shadow: 0 0 6px var(--color-green);
}

.ping-dot.offline {
    background: var(--color-danger);
    box-shadow: 0 0 6px var(--color-danger);
}

.site-tile-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.btn-toggle-site {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-toggle-site:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-toggle-site.remove-mode {
    color: var(--color-danger);
    border-color: rgba(255, 69, 58, 0.2);
}

.btn-toggle-site.remove-mode:hover {
    background: rgba(255, 69, 58, 0.05);
    border-color: var(--color-danger);
}

/* Responsive Overrides for horizontal rows */
@media (max-width: 900px) {
    .site-dash-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
    
    .site-tile-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .site-tile-right {
        justify-content: space-between;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 16px;
        width: 100%;
    }
}

/* Force search and Deep search premium buttons styles */
.btn-force-search:hover {
    transform: scale(1.03);
    background: var(--color-purple-dark) !important;
}

.btn-deep-search:hover {
    background: rgba(191, 90, 242, 0.15) !important;
    border-color: var(--color-purple-dark) !important;
    color: #fff !important;
}

/* Google doodle-style home page image styling */
.homepage-doodle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

.homepage-doodle-img {
    max-width: 300px; /* Reduced further to 300px for a perfectly proportioned size on desktop */
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7)); /* Deeper, richer shadow */
}

.homepage-doodle-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .homepage-doodle-container {
        margin-bottom: 1.25rem;
    }
    
    .homepage-doodle-img {
        max-width: 270px; /* Adjusted slightly smaller as requested */
    }
    
    .hero-subtext {
        font-size: 1.12rem !important; /* Premium readable sizing on mobile */
        margin-bottom: 1.8rem !important;
        line-height: 1.55 !important;
    }
    
    /* Center search hero and adjust height */
    .hero-search-section {
        min-height: 55vh !important; /* Centered search vertically on mobile */
        padding: 6vh 0 4vh !important;
    }
    
    .hero-search-container {
        width: 100% !important;
        align-self: stretch !important;
        padding: 0 !important;
    }
    
    .app-container {
        margin-top: 72px !important;
        padding: 0 10px !important; /* Minimize layout padding margins to maximize space */
    }
    
    /* Make search bar beautiful, centered, bigger horizontally, but elegant */
    .search-bar-box {
        height: 68px !important; /* Increased mobile height to stand out as homepage highlight */
        padding: 0 0.5rem 0 1.25rem !important;
        border-radius: 34px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
    }
    
    .search-bar-box input {
        font-size: 1.15rem !important;
        height: 44px !important;
        padding-right: 4px !important;
    }
    
    /* Sleek violet search button on mobile */
    .search-action-btn {
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        box-shadow: 0 3px 10px rgba(191, 90, 242, 0.3) !important;
    }
    
    .search-action-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    /* Make trending cards span full screen width with 3 columns exactly */
    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* Force items to shrink to fit the viewport exactly */
        gap: 8px !important;
        justify-content: center !important;
    }
    
    .movie-card {
        border-radius: 6px !important;
    }
    
    .card-poster-wrapper {
        border-radius: 6px !important;
    }
    
    .card-info {
        padding: 6px 4px !important;
    }
    
    .card-info h3 {
        font-size: 0.72rem !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }
    
    .card-year {
        font-size: 0.62rem !important;
    }
    
    .card-rating {
        padding: 2px 6px !important;
        font-size: 0.62rem !important;
        border-radius: 4px !important;
        top: 6px !important;
        right: 6px !important;
    }
}

/* Lighthouse Search/Loading Animation */
.lighthouse-loader-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: rgba(10, 10, 12, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lighthouse-svg-container {
    position: relative;
    z-index: 3;
    width: 80px;
    height: 96px;
}

.lighthouse-svg {
    width: 100%;
    height: 100%;
}

.lighthouse-glow-beam {
    position: absolute;
    top: calc(50% - 25px); /* Position centered at lantern room height */
    left: 50%;
    width: 180px;
    height: 45px;
    background: linear-gradient(90deg, rgba(191, 90, 242, 0.45) 0%, rgba(94, 92, 230, 0.15) 40%, rgba(0, 0, 0, 0) 100%);
    transform-origin: left center;
    transform: translate(0, -50%) rotate(0deg);
    animation: sweepBeam 4s infinite linear;
    pointer-events: none;
    z-index: 2;
    filter: blur(4px);
}

.lighthouse-bulb-glow {
    animation: pulseBulb 1.5s infinite ease-in-out alternate;
}

@keyframes sweepBeam {
    0% { transform: translate(0, -50%) rotate(0deg); }
    100% { transform: translate(0, -50%) rotate(360deg); }
}

@keyframes pulseBulb {
    0% { r: 3; fill: #ffd60a; filter: drop-shadow(0 0 2px #ffd60a); }
    100% { r: 4.5; fill: #fff; filter: drop-shadow(0 0 8px #ffd60a); }
}

/* Ocean waves progress bar track & fill styles */
.progress-track {
    height: 26px !important;
    background: rgba(191, 90, 242, 0.03) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    border: 1.5px solid rgba(191, 90, 242, 0.18) !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.7), 0 0 15px rgba(191, 90, 242, 0.08);
}

.progress-fill {
    position: relative;
    height: 100% !important;
    background: #0e0f14 !important; /* Deep ocean background depth */
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    box-shadow: 0 0 15px rgba(191, 90, 242, 0.5);
}

/* Pseudo-elements for layered sloshing parallax water waves */
.progress-fill::before,
.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-size: 50% 100%;
    pointer-events: none;
}

/* Back Wave Layer (Fast, translucent violet) */
.progress-fill::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 28" preserveAspectRatio="none"><path d="M0,12 Q30,22 60,12 T120,12 L120,28 L0,28 Z" fill="rgba(191, 90, 242, 0.5)"/></svg>') !important;
    animation: moveWaveBack 1.6s infinite linear !important;
    z-index: 1;
}

/* Front Wave Layer (Slower, opaque bright blue-purple) */
.progress-fill::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 28" preserveAspectRatio="none"><path d="M0,15 Q30,7 60,15 T120,15 L120,28 L0,28 Z" fill="rgba(94, 92, 230, 0.95)"/></svg>') !important;
    animation: moveWaveFront 2.4s infinite linear, fillGlow 2.5s infinite ease-in-out alternate !important;
    z-index: 2;
}

@keyframes moveWaveBack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes moveWaveFront {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes fillGlow {
    0% { filter: brightness(0.95) drop-shadow(0 0 4px rgba(191, 90, 242, 0.4)); }
    100% { filter: brightness(1.15) drop-shadow(0 0 12px rgba(191, 90, 242, 0.7)); }
}

/* ==========================================================================
   Minimalist Site Brand Themes (Apple Design Colorways)
   ========================================================================== */
:root {
    --brand-vk: #2f80ed;
    --brand-mailru: #ff9f0a;
    --brand-okru: #ff5e00;
    --brand-general: #64d2ff;
}

/* VK Video Card styling */
.link-card.site-vk-video {
    border-color: rgba(47, 128, 237, 0.08);
    background: rgba(47, 128, 237, 0.01);
}
.link-card.site-vk-video:hover {
    border-color: rgba(47, 128, 237, 0.25);
    background: rgba(47, 128, 237, 0.03);
}
.link-card.site-vk-video .link-site-name {
    color: var(--brand-vk);
}
.link-card.site-vk-video .link-tag {
    background: rgba(47, 128, 237, 0.06) !important;
    color: var(--brand-vk) !important;
    border: 1px solid rgba(47, 128, 237, 0.15) !important;
}
.link-card.site-vk-video .btn-visit {
    background: rgba(47, 128, 237, 0.08) !important;
    color: var(--brand-vk) !important;
    border: 1px solid rgba(47, 128, 237, 0.15) !important;
}
.link-card.site-vk-video .btn-visit:hover {
    background: var(--brand-vk) !important;
    color: #070708 !important;
    border-color: var(--brand-vk) !important;
    box-shadow: 0 4px 15px rgba(47, 128, 237, 0.2) !important;
}

/* Mail.ru Card styling */
.link-card.site-mail-ru {
    border-color: rgba(255, 159, 10, 0.08);
    background: rgba(255, 159, 10, 0.01);
}
.link-card.site-mail-ru:hover {
    border-color: rgba(255, 159, 10, 0.25);
    background: rgba(255, 159, 10, 0.03);
}
.link-card.site-mail-ru .link-site-name {
    color: var(--brand-mailru);
}
.link-card.site-mail-ru .link-tag {
    background: rgba(255, 159, 10, 0.06) !important;
    color: var(--brand-mailru) !important;
    border: 1px solid rgba(255, 159, 10, 0.15) !important;
}
.link-card.site-mail-ru .btn-visit {
    background: rgba(255, 159, 10, 0.08) !important;
    color: var(--brand-mailru) !important;
    border: 1px solid rgba(255, 159, 10, 0.15) !important;
}
.link-card.site-mail-ru .btn-visit:hover {
    background: var(--brand-mailru) !important;
    color: #070708 !important;
    border-color: var(--brand-mailru) !important;
    box-shadow: 0 4px 15px rgba(255, 159, 10, 0.2) !important;
}

/* OK.ru Card styling */
.link-card.site-ok-ru {
    border-color: rgba(255, 94, 0, 0.08);
    background: rgba(255, 94, 0, 0.01);
}
.link-card.site-ok-ru:hover {
    border-color: rgba(255, 94, 0, 0.25);
    background: rgba(255, 94, 0, 0.03);
}
.link-card.site-ok-ru .link-site-name {
    color: var(--brand-okru);
}
.link-card.site-ok-ru .link-tag {
    background: rgba(255, 94, 0, 0.06) !important;
    color: var(--brand-okru) !important;
    border: 1px solid rgba(255, 94, 0, 0.15) !important;
}
.link-card.site-ok-ru .btn-visit {
    background: rgba(255, 94, 0, 0.08) !important;
    color: var(--brand-okru) !important;
    border: 1px solid rgba(255, 94, 0, 0.15) !important;
}
.link-card.site-ok-ru .btn-visit:hover {
    background: var(--brand-okru) !important;
    color: #070708 !important;
    border-color: var(--brand-okru) !important;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2) !important;
}

/* ==========================================================================
   General / Other Link Cards styling - Unique colors for each site
   ========================================================================== */

/* 1. VegaMovies - Crimson Red */
.link-card.site-vegamovies {
    --brand-color: #ff2d55;
    border-color: rgba(255, 45, 85, 0.08);
    background: rgba(255, 45, 85, 0.01);
}
.link-card.site-vegamovies:hover { border-color: rgba(255, 45, 85, 0.25); background: rgba(255, 45, 85, 0.03); }
.link-card.site-vegamovies .link-site-name { color: var(--brand-color); }
.link-card.site-vegamovies .link-tag { background: rgba(255, 45, 85, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 45, 85, 0.15) !important; }
.link-card.site-vegamovies .btn-visit { background: rgba(255, 45, 85, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 45, 85, 0.15) !important; }
.link-card.site-vegamovies .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 45, 85, 0.2) !important; }

/* 2. Movies4U & Movies4U Finance - Deep Indigo */
.link-card.site-movies4u-finance, .link-card.site-movies4u {
    --brand-color: #5856d6;
    border-color: rgba(88, 86, 214, 0.08);
    background: rgba(88, 86, 214, 0.01);
}
.link-card.site-movies4u-finance:hover, .link-card.site-movies4u:hover { border-color: rgba(88, 86, 214, 0.25); background: rgba(88, 86, 214, 0.03); }
.link-card.site-movies4u-finance .link-site-name, .link-card.site-movies4u .link-site-name { color: var(--brand-color); }
.link-card.site-movies4u-finance .link-tag, .link-card.site-movies4u .link-tag { background: rgba(88, 86, 214, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(88, 86, 214, 0.15) !important; }
.link-card.site-movies4u-finance .btn-visit, .link-card.site-movies4u .btn-visit { background: rgba(88, 86, 214, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(88, 86, 214, 0.15) !important; }
.link-card.site-movies4u-finance .btn-visit:hover, .link-card.site-movies4u .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(88, 86, 214, 0.2) !important; }

/* 3. UhdMovies - Amber Gold */
.link-card.site-uhdmovies {
    --brand-color: #ffcc00;
    border-color: rgba(255, 204, 0, 0.08);
    background: rgba(255, 204, 0, 0.01);
}
.link-card.site-uhdmovies:hover { border-color: rgba(255, 204, 0, 0.25); background: rgba(255, 204, 0, 0.03); }
.link-card.site-uhdmovies .link-site-name { color: var(--brand-color); }
.link-card.site-uhdmovies .link-tag { background: rgba(255, 204, 0, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 204, 0, 0.15) !important; }
.link-card.site-uhdmovies .btn-visit { background: rgba(255, 204, 0, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 204, 0, 0.15) !important; }
.link-card.site-uhdmovies .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2) !important; }

/* 4. YoMovies - Royal Purple */
.link-card.site-yomovies {
    --brand-color: #af52de;
    border-color: rgba(175, 82, 222, 0.08);
    background: rgba(175, 82, 222, 0.01);
}
.link-card.site-yomovies:hover { border-color: rgba(175, 82, 222, 0.25); background: rgba(175, 82, 222, 0.03); }
.link-card.site-yomovies .link-site-name { color: var(--brand-color); }
.link-card.site-yomovies .link-tag { background: rgba(175, 82, 222, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(175, 82, 222, 0.15) !important; }
.link-card.site-yomovies .btn-visit { background: rgba(175, 82, 222, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(175, 82, 222, 0.15) !important; }
.link-card.site-yomovies .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(175, 82, 222, 0.2) !important; }

/* 5. Cineb - Apple Mint Green */
.link-card.site-cineb {
    --brand-color: #34c759;
    border-color: rgba(52, 199, 89, 0.08);
    background: rgba(52, 199, 89, 0.01);
}
.link-card.site-cineb:hover { border-color: rgba(52, 199, 89, 0.25); background: rgba(52, 199, 89, 0.03); }
.link-card.site-cineb .link-site-name { color: var(--brand-color); }
.link-card.site-cineb .link-tag { background: rgba(52, 199, 89, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(52, 199, 89, 0.15) !important; }
.link-card.site-cineb .btn-visit { background: rgba(52, 199, 89, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(52, 199, 89, 0.15) !important; }
.link-card.site-cineb .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(52, 199, 89, 0.2) !important; }

/* 6. Cataz - Ocean Blue */
.link-card.site-cataz {
    --brand-color: #007aff;
    border-color: rgba(0, 122, 255, 0.08);
    background: rgba(0, 122, 255, 0.01);
}
.link-card.site-cataz:hover { border-color: rgba(0, 122, 255, 0.25); background: rgba(0, 122, 255, 0.03); }
.link-card.site-cataz .link-site-name { color: var(--brand-color); }
.link-card.site-cataz .link-tag { background: rgba(0, 122, 255, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(0, 122, 255, 0.15) !important; }
.link-card.site-cataz .btn-visit { background: rgba(0, 122, 255, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(0, 122, 255, 0.15) !important; }
.link-card.site-cataz .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2) !important; }

/* 7. DopeBox - Sky Blue */
.link-card.site-dopebox {
    --brand-color: #5ac8fa;
    border-color: rgba(90, 200, 250, 0.08);
    background: rgba(90, 200, 250, 0.01);
}
.link-card.site-dopebox:hover { border-color: rgba(90, 200, 250, 0.25); background: rgba(90, 200, 250, 0.03); }
.link-card.site-dopebox .link-site-name { color: var(--brand-color); }
.link-card.site-dopebox .link-tag { background: rgba(90, 200, 250, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(90, 200, 250, 0.15) !important; }
.link-card.site-dopebox .btn-visit { background: rgba(90, 200, 250, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(90, 200, 250, 0.15) !important; }
.link-card.site-dopebox .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(90, 200, 250, 0.2) !important; }

/* 8. SeriesOnline - Tangerine Orange */
.link-card.site-seriesonline {
    --brand-color: #ff9500;
    border-color: rgba(255, 149, 0, 0.08);
    background: rgba(255, 149, 0, 0.01);
}
.link-card.site-seriesonline:hover { border-color: rgba(255, 149, 0, 0.25); background: rgba(255, 149, 0, 0.03); }
.link-card.site-seriesonline .link-site-name { color: var(--brand-color); }
.link-card.site-seriesonline .link-tag { background: rgba(255, 149, 0, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 149, 0, 0.15) !important; }
.link-card.site-seriesonline .btn-visit { background: rgba(255, 149, 0, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 149, 0, 0.15) !important; }
.link-card.site-seriesonline .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 149, 0, 0.2) !important; }

/* 9. SkyMoviesHD - Coral Orange */
.link-card.site-skymovieshd {
    --brand-color: #ff5e00;
    border-color: rgba(255, 94, 0, 0.08);
    background: rgba(255, 94, 0, 0.01);
}
.link-card.site-skymovieshd:hover { border-color: rgba(255, 94, 0, 0.25); background: rgba(255, 94, 0, 0.03); }
.link-card.site-skymovieshd .link-site-name { color: var(--brand-color); }
.link-card.site-skymovieshd .link-tag { background: rgba(255, 94, 0, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 94, 0, 0.15) !important; }
.link-card.site-skymovieshd .btn-visit { background: rgba(255, 94, 0, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 94, 0, 0.15) !important; }
.link-card.site-skymovieshd .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2) !important; }

/* 10. 4KHDHub - Teal Green */
.link-card.site-4khdhub {
    --brand-color: #30d158;
    border-color: rgba(48, 209, 88, 0.08);
    background: rgba(48, 209, 88, 0.01);
}
.link-card.site-4khdhub:hover { border-color: rgba(48, 209, 88, 0.25); background: rgba(48, 209, 88, 0.03); }
.link-card.site-4khdhub .link-site-name { color: var(--brand-color); }
.link-card.site-4khdhub .link-tag { background: rgba(48, 209, 88, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(48, 209, 88, 0.15) !important; }
.link-card.site-4khdhub .btn-visit { background: rgba(48, 209, 88, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(48, 209, 88, 0.15) !important; }
.link-card.site-4khdhub .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(48, 209, 88, 0.2) !important; }

/* 11. TheMoviesFlix - Light Pink */
.link-card.site-themoviesflix {
    --brand-color: #ff375f;
    border-color: rgba(255, 55, 95, 0.08);
    background: rgba(255, 55, 95, 0.01);
}
.link-card.site-themoviesflix:hover { border-color: rgba(255, 55, 95, 0.25); background: rgba(255, 55, 95, 0.03); }
.link-card.site-themoviesflix .link-site-name { color: var(--brand-color); }
.link-card.site-themoviesflix .link-tag { background: rgba(255, 55, 95, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 55, 95, 0.15) !important; }
.link-card.site-themoviesflix .btn-visit { background: rgba(255, 55, 95, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 55, 95, 0.15) !important; }
.link-card.site-themoviesflix .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 55, 95, 0.2) !important; }

/* 12. CineGo - Mint Cyan */
.link-card.site-cinego {
    --brand-color: #64d2ff;
    border-color: rgba(100, 210, 255, 0.08);
    background: rgba(100, 210, 255, 0.01);
}
.link-card.site-cinego:hover { border-color: rgba(100, 210, 255, 0.25); background: rgba(100, 210, 255, 0.03); }
.link-card.site-cinego .link-site-name { color: var(--brand-color); }
.link-card.site-cinego .link-tag { background: rgba(100, 210, 255, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(100, 210, 255, 0.15) !important; }
.link-card.site-cinego .btn-visit { background: rgba(100, 210, 255, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(100, 210, 255, 0.15) !important; }
.link-card.site-cinego .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(100, 210, 255, 0.2) !important; }

/* 13. Zoovie - Royal Blue */
.link-card.site-zoovie {
    --brand-color: #0a84ff;
    border-color: rgba(10, 132, 255, 0.08);
    background: rgba(10, 132, 255, 0.01);
}
.link-card.site-zoovie:hover { border-color: rgba(10, 132, 255, 0.25); background: rgba(10, 132, 255, 0.03); }
.link-card.site-zoovie .link-site-name { color: var(--brand-color); }
.link-card.site-zoovie .link-tag { background: rgba(10, 132, 255, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(10, 132, 255, 0.15) !important; }
.link-card.site-zoovie .btn-visit { background: rgba(10, 132, 255, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(10, 132, 255, 0.15) !important; }
.link-card.site-zoovie .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(10, 132, 255, 0.2) !important; }

/* 14. AttackerTV - Teal */
.link-card.site-attackertv {
    --brand-color: #30d158;
    border-color: rgba(48, 209, 88, 0.08);
    background: rgba(48, 209, 88, 0.01);
}
.link-card.site-attackertv:hover { border-color: rgba(48, 209, 88, 0.25); background: rgba(48, 209, 88, 0.03); }
.link-card.site-attackertv .link-site-name { color: var(--brand-color); }
.link-card.site-attackertv .link-tag { background: rgba(48, 209, 88, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(48, 209, 88, 0.15) !important; }
.link-card.site-attackertv .btn-visit { background: rgba(48, 209, 88, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(48, 209, 88, 0.15) !important; }
.link-card.site-attackertv .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(48, 209, 88, 0.2) !important; }

/* 15. WatchSeries8 - Crimson Red */
.link-card.site-watchseries8 {
    --brand-color: #ff2d55;
    border-color: rgba(255, 45, 85, 0.08);
    background: rgba(255, 45, 85, 0.01);
}
.link-card.site-watchseries8:hover { border-color: rgba(255, 45, 85, 0.25); background: rgba(255, 45, 85, 0.03); }
.link-card.site-watchseries8 .link-site-name { color: var(--brand-color); }
.link-card.site-watchseries8 .link-tag { background: rgba(255, 45, 85, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 45, 85, 0.15) !important; }
.link-card.site-watchseries8 .btn-visit { background: rgba(255, 45, 85, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 45, 85, 0.15) !important; }
.link-card.site-watchseries8 .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 45, 85, 0.2) !important; }

/* 16. 1HD - Gold Amber */
.link-card.site-1hd {
    --brand-color: #ffcc00;
    border-color: rgba(255, 204, 0, 0.08);
    background: rgba(255, 204, 0, 0.01);
}
.link-card.site-1hd:hover { border-color: rgba(255, 204, 0, 0.25); background: rgba(255, 204, 0, 0.03); }
.link-card.site-1hd .link-site-name { color: var(--brand-color); }
.link-card.site-1hd .link-tag { background: rgba(255, 204, 0, 0.06) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 204, 0, 0.15) !important; }
.link-card.site-1hd .btn-visit { background: rgba(255, 204, 0, 0.08) !important; color: var(--brand-color) !important; border: 1px solid rgba(255, 204, 0, 0.15) !important; }
.link-card.site-1hd .btn-visit:hover { background: var(--brand-color) !important; color: #070708 !important; border-color: var(--brand-color) !important; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2) !important; }

/* General Fallback / Other site-less cards styling - Sleek Neutral Grey instead of Sky Blue */
.link-card.general-card {
    border-color: rgba(142, 142, 147, 0.1);
    background: rgba(142, 142, 147, 0.01);
}
.link-card.general-card:hover {
    border-color: rgba(142, 142, 147, 0.3);
    background: rgba(142, 142, 147, 0.03);
}
.link-card.general-card .link-site-name {
    color: #8e8e93;
}
.link-card.general-card .link-tag {
    background: rgba(142, 142, 147, 0.08) !important;
    color: #8e8e93 !important;
    border: 1px solid rgba(142, 142, 147, 0.2) !important;
}
.link-card.general-card .btn-visit {
    background: rgba(142, 142, 147, 0.1) !important;
    color: #8e8e93 !important;
    border: 1px solid rgba(142, 142, 147, 0.2) !important;
}
.link-card.general-card .btn-visit:hover {
    background: #8e8e93 !important;
    color: #070708 !important;
    border-color: #8e8e93 !important;
    box-shadow: 0 4px 15px rgba(142, 142, 147, 0.25) !important;
}

/* Animated Header Logo styles */
.brand-logo-anim-wrap {
    position: relative;
    width: 28px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.brand-logo-svg-new {
    width: 100%;
    height: 100%;
    color: #fff;
}

.brand-logo-beam {
    position: absolute;
    top: calc(50% - 10px);
    left: 50%;
    width: 55px;
    height: 16px;
    background: linear-gradient(90deg, rgba(191, 90, 242, 0.5) 0%, rgba(94, 92, 230, 0.12) 45%, rgba(0, 0, 0, 0) 100%);
    transform-origin: left center;
    transform: translate(0, -50%) rotate(0deg);
    animation: sweepBeam 4s infinite linear;
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
}

.brand-logo-bulb {
    animation: pulseBulb 1.5s infinite ease-in-out alternate;
}

/* Premium Force Search Card Section */
.force-search-prompt {
    max-width: 600px;
    margin: 32px auto 0;
    padding: 28px;
    border: 1.5px solid rgba(191, 90, 242, 0.35);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.08) 0%, rgba(94, 92, 230, 0.02) 100%);
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: breatheGlowCard 4s infinite ease-in-out;
}

.force-search-prompt:hover {
    border-color: rgba(191, 90, 242, 0.65);
    transform: translateY(-2px);
}

.force-search-prompt p {
    color: var(--text-secondary) !important;
    margin-bottom: 20px !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
}

/* Symmetrical Premium Action Buttons (Force Search & Scan) */
.btn-force-search,
.btn-deep-search {
    border: none !important;
    background: linear-gradient(135deg, #5e5ce6 0%, #bf5af2 50%, #ff2d55 100%) !important;
    color: #fff !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    font-size: 0.92rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: pulseGlowButton 3s infinite ease-in-out !important;
    overflow: hidden;
    position: relative;
}

.btn-force-search::before,
.btn-deep-search::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
}

.btn-force-search:hover::before,
.btn-deep-search:hover::before {
    left: 150%;
}

.btn-force-search:hover,
.btn-deep-search:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 10px 30px rgba(191, 90, 242, 0.65), 0 0 20px rgba(255, 45, 85, 0.45) !important;
}

/* Force Search Bottom Prompt (on results view page) */
.force-search-bottom-prompt {
    max-width: 800px;
    margin: 40px auto 20px;
    padding: 24px;
    border: 1.5px solid rgba(191, 90, 242, 0.35);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(18, 18, 22, 0.8) 0%, rgba(191, 90, 242, 0.04) 100%);
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: breatheGlowCard 4s infinite ease-in-out;
}

.force-search-bottom-prompt:hover {
    border-color: rgba(191, 90, 242, 0.65);
}

.force-search-bottom-prompt p {
    color: var(--text-secondary) !important;
    margin-bottom: 16px !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

.btn-force-search-suggest {
    margin-top: 10px;
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #5e5ce6 0%, #bf5af2 100%) !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    font-size: 0.88rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(191, 90, 242, 0.25) !important;
}

.btn-force-search-suggest:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(191, 90, 242, 0.4) !important;
}

/* Fallback Scan Rare Networks Card */
.fallback-force-prompt {
    margin-top: 32px;
    padding: 28px;
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.08) 0%, rgba(94, 92, 230, 0.02) 100%);
    border: 1.5px solid rgba(191, 90, 242, 0.35);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: breatheGlowCard 4s infinite ease-in-out;
}

.fallback-force-prompt:hover {
    border-color: rgba(191, 90, 242, 0.65);
    transform: translateY(-2px);
}

.fallback-force-prompt p {
    font-size: 0.92rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 18px !important;
    font-weight: 600 !important;
}

/* Shimmering Dynamic Energy scanning animation for Scan Rare Networks button */
.btn-deep-search.loading {
    background: linear-gradient(90deg, #5e5ce6, #bf5af2, #ff2d55, #5e5ce6) !important;
    background-size: 300% 100% !important;
    animation: shimmerBg 1.5s infinite linear, pulseGlowButton 1s infinite ease-in-out alternate !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 0 25px rgba(191, 90, 242, 0.7) !important;
}

/* Animation Keyframes */
@keyframes breatheGlowCard {
    0% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 8px rgba(191, 90, 242, 0.04); }
    50% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 24px rgba(191, 90, 242, 0.18); border-color: rgba(191, 90, 242, 0.45); }
    100% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 8px rgba(191, 90, 242, 0.04); }
}

@keyframes pulseGlowButton {
    0% { box-shadow: 0 0 12px rgba(191, 90, 242, 0.45), 0 0 5px rgba(94, 92, 230, 0.25); }
    50% { box-shadow: 0 0 28px rgba(191, 90, 242, 0.75), 0 0 15px rgba(255, 45, 85, 0.5); }
    100% { box-shadow: 0 0 12px rgba(191, 90, 242, 0.45), 0 0 5px rgba(94, 92, 230, 0.25); }
}

@keyframes shimmerBg {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

/* Site-wide Smoothness & Parallax Performance Adjustments */
html, body {
    scroll-behavior: smooth;
}

.link-card, 
.movie-card, 
.search-action-btn, 
.btn-force-search, 
.btn-deep-search,
.brand-logo-beam,
.lighthouse-glow-beam,
.movie-details-page {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.link-card, 
.movie-card, 
.search-bar-box, 
.search-action-btn,
.movie-details-page {
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Symmetrical See All & Category Layout styles */
.section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-see-all {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-secondary) !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-see-all i {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    font-size: 0.75rem;
}

.btn-see-all:hover {
    background: rgba(191, 90, 242, 0.12) !important;
    border-color: rgba(191, 90, 242, 0.4) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.2) !important;
}

.btn-see-all:hover i {
    transform: translateX(4px) !important;
}

/* Category page styling definitions */
.category-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.btn-category-back {
    background: rgba(191, 90, 242, 0.06) !important;
    border: 1px solid rgba(191, 90, 242, 0.25) !important;
    color: #dfd7fc !important;
    padding: 10px 22px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-category-back i {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-category-back:hover {
    background: linear-gradient(135deg, #5e5ce6 0%, #bf5af2 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(191, 90, 242, 0.4) !important;
}

.btn-category-back:hover i {
    transform: translateX(-4px) !important;
}

.header-spacer-right {
    width: 140px; /* Symmetrical counter-balance */
}

@media (max-width: 768px) {
    .header-spacer-right {
        display: none;
    }
    .category-header-wrap {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* Pagination styling definitions */
.pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.btn-pagination {
    background: rgba(191, 90, 242, 0.06) !important;
    border: 1px solid rgba(191, 90, 242, 0.2) !important;
    color: #dfd7fc !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.btn-pagination:hover:not(:disabled) {
    background: linear-gradient(135deg, #5e5ce6 0%, #bf5af2 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(191, 90, 242, 0.3) !important;
}

.btn-pagination:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    color: var(--text-muted) !important;
}

#txt-page-info {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: -0.1px;
}


