/* Updated: Fix Scroll Mobile */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #ff1744;
    --accent-hover: #ff4569;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: var(--text-primary);
    min-height: 100vh;
}

/* ===== LOGIN NETFLIX STYLE ===== */
.login-screen {
    min-height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-main {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    color: #ffffff;
}

.login-form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
}

.login-input {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    background: #ffffff;
    color: #000;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.login-input:focus {
    ring: 2px;
    ring-color: #E50914;
}

.login-input::placeholder {
    color: #737373;
}

.btn-signin {
    width: 100%;
    height: 48px;
    background: #E50914;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-signin:hover {
    background: #c40812;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #b3b3b3;
    margin-top: 8px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 1px solid #737373;
    border-radius: 2px;
    cursor: pointer;
}

.custom-checkbox:checked {
    background: #737373;
}

.forgot-link {
    color: #b3b3b3;
    text-decoration: none;
}

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

.divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #737373;
    font-size: 0.75rem;
    font-weight: 600;
}

.divider-line {
    height: 1px;
    background: #333;
    flex: 1;
}

.divider-text {
    padding: 0 8px;
}

.alt-login-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== PREMIUM FEED (New Home Layout) ===== */
.premium-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Space between the big cards */
    padding: 10px 0 40px 0;
}

.premium-feed-card {
    /* Ensure it behaves well in the list */
    margin: 0 auto;
    /* Center if max-width kicks in */
    width: 100%;
    /* Keep the same styling as collection-card but ensure no weird scrolling offsets */
    scroll-snap-align: none;
}

.btn-google {
    width: 100%;
    height: 48px;
    background: #ffffff;
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #f0f0f0;
}

.btn-guest {
    width: 100%;
    height: 48px;
    background: #333333;
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-guest:hover {
    background: rgba(255, 255, 255, 0.3);
}

.login-footer {
    margin-top: 32px;
    text-align: center;
}

.login-footer p {
    color: #b3b3b3;
    font-size: 1rem;
}

.signup-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

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

/* ===== APP CONTAINER ===== */
.app-container {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    padding-bottom: 80px;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    max-width: 100vw;
}

/* ===== APP HEADER (Exclusivo Home) ===== */
.app-header {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: none;
}

.app-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    /* Thin font */
    letter-spacing: 1px;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.title-highlight {
    color: #e50914;
    /* Netflix Red */
    font-weight: 600;
    /* Slightly bolder for Play */
}

/* ===== HERO SLIDER PREMIUM (Immersive Card) ===== */
/* ===== HERO SLIDER PREMIUM (Immersive Card) ===== */
.hero-slider-section {
    position: relative;
    width: 100%;
    margin: 0 0 20px 0;
    height: 55vh;
    min-height: 360px;
    max-height: 480px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: brightness(0.9);
}

/* Seamless Gradient Blend */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.0) 25%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.92) 85%,
        #000000 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 28px;
    left: 16px;
    right: 16px;
    z-index: 10;
    text-align: left;
    padding-bottom: 0;
}

.hero-badges {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.hero-badge-hd {
    background: #e50914;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.hero-badge-rating {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffd700;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Modern Typography */
.hero-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    color: #fff;
    letter-spacing: -0.2px;
}

/* Synopsis styling */
.hero-overview {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-play {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
    transition: transform 0.15s ease;
}

.hero-btn-play:active {
    transform: scale(0.96);
}

.hero-btn-info {
    display: none;
}

.hero-btn-trailer {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hero-btn-trailer:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.22);
}
    /* Safety margin */
}

.btn-play:hover {
    background: #E50914;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.btn-play:active {
    transform: scale(0.98);
}

.hero-dots {
    position: absolute;
    bottom: 25px;
    /* Moved up slightly */
    right: 20px;
    left: auto;
    transform: none;
    display: flex;
    gap: 5px;
    z-index: 20;
}

/* No duplicates */

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #E50914;
    width: 18px;
    /* Elongated active dot */
    border-radius: 3px;
}

/* ===== CATEGORIES WRAPPER ===== */
.categories-wrapper {
    padding: 0 0 20px 0;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== HERO SLIDER ===== */
.hero-section {
    position: relative;
    margin-bottom: 30px;
}

.hero-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 15, 15, 0.7) 60%, var(--bg-primary) 100%);
}

/* Cleaned up old duplicates */

.btn-play {
    flex: 1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play:active {
    transform: scale(0.95);
}

/* Back Button Styling */
.btn-back {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-3px);
}

.btn-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--accent);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    margin-bottom: 24px;
    padding: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 16px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.2;
}

.section-counter {
    font-size: 0.75rem;
    color: #e50914;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 8px;
}

.section-link {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.horizontal-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 12px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y !important;
    scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* ===== MOVIE CARDS ===== */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-play-small {
    flex: 1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-trailer {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-play-small:active,
.btn-trailer:active {
    transform: scale(0.95);
}


/* ===== TRAILER MODAL ULTRA LUXURY ===== */
.trailer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.trailer-modal.open {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.trailer-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #141416;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(229, 9, 20, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    animation: trailerPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes trailerPop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.trailer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #1c1c1f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trailer-header-title {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 12px;
}

.trailer-header-title i {
    color: #e50914;
}

.close-trailer-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.close-trailer-btn:hover {
    background: #e50914;
    border-color: #e50914;
    transform: scale(1.1);
}

.trailer-player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000000;
}

.trailer-player-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.movie-card-small {
    min-width: 120px;
    max-width: 120px;
    cursor: pointer;
}

.movie-poster {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card-small:active .movie-poster {
    transform: scale(0.95);
}

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    border-radius: 0 0 12px 12px;
}

.movie-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===== BOTTOM NAVIGATION ===== */
/* ===== ULTRA PREMIUM BOTTOM NAV ===== */
/* ===== MODERN GLASS DOCK NAV (REPLACED) ===== */
.bottom-nav {
    position: fixed;
    bottom: 0px;
    /* Docked to bottom */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    /* Full width */
    height: 85px;
    /* Taller for elegance */
    background: rgba(10, 10, 10, 0.75);
    /* Darker, more premium glass */
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle top border */
    border-radius: 0;
    /* No pill shape */
    display: flex;
    justify-content: space-around;
    /* Equal spacing */
    align-items: flex-start;
    /* Align closer to top */
    padding-top: 15px;
    z-index: 9000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Nav Item Container */
.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #888;
    /* Inactive color */
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 60px;
    height: auto;
    background: none !important;
    /* No active background */
    -webkit-tap-highlight-color: transparent;
}

/* Icon Styling */
.nav-item i {
    font-size: 1.5rem;
    /* Larger, cleaner icons */
    transition: all 0.3s ease;
    color: #999;
}

/* Label Styling */
.nav-item span {
    font-size: 0.7rem;
    /* Small, minimal font */
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #999;
    transition: all 0.3s ease;
    position: relative;
    bottom: auto;
    transform: none;
    opacity: 1;
    text-shadow: none;
}

/* Active State - Minimalist Glow */
.nav-item.active i {
    color: #E50914;
    /* Brand Red */
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.4));
    transform: translateY(-2px);
}

.nav-item.active span {
    color: white;
    font-weight: 600;
}

/* RESET SEARCH BUTTON TO STANDARD */
.search-btn-nav {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    transform: none !important;
    height: auto !important;
    width: 60px !important;
    /* Enforce same width */
}

.search-btn-nav .search-circle {
    display: contents !important;
    /* Makes the div effectively disappear from layout */
}

/* Ensure the icon inside behaves exactly like siblings in other items */
.search-btn-nav .search-circle i {
    font-size: 1.5rem !important;
    color: #999 !important;
    filter: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transform: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Active state for the search icon */
.search-btn-nav.active .search-circle i,
.search-btn-nav.active i {
    color: #E50914 !important;
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.4)) !important;
    transform: translateY(-2px) !important;
}

/* Ensure text aligns perfectly */
.search-btn-nav span {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    width: auto !important;
    opacity: 1 !important;
}

/* ===== DETAILS PAGE ===== */
.details-page {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 2000;
    overflow-y: auto;
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5000;
    pointer-events: none;
    width: 90%;
    max-width: 400px;
}

.toast {
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    border-left: 4px solid var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.toast.error {
    border-left-color: #ff3b30;
}

.toast.success {
    border-left-color: #34c759;
}

.toast i {
    font-size: 1.2rem;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }

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

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

/* ===== COLLECTION SECTION ===== */
/* ===== COLLECTION SECTION ===== */
/* ===== COLLECTION SECTION ===== */
.collection-section {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible;
    /* Allow buttons to float outside if needed */
}

.collection-header {
    margin-bottom: 25px;
    padding: 0 10px;
    /* Better alignment */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.collection-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.order-label {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.collection-scroll-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.collection-scroll {
    display: flex;
    gap: 10px;
    /* Small gap between cards */
    overflow-x: auto;
    padding: 20px 5px 50px 5px;
    /* Minimal side padding */
    scrollbar-width: none;
    scroll-behavior: smooth;
    align-items: center;
    scroll-snap-type: x mandatory;
    /* Enable snapping */
}

/* --- NEW PREMIUM SCROLL BUTTONS --- */
.scroll-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 60;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

/* --- CARD ULTRA PREMIUM --- */
.collection-card {
    min-width: calc(100% - 10px);
    /* Fill screen horizontally */
    max-width: 450px;
    /* Cap for desktop */
    height: 220px;
    /* Reduced vertical height */
    position: relative;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    /* Tighter, cleaner shadow */
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    -webkit-tap-highlight-color: transparent;
    /* Remove tap highlight on iOS */
    touch-action: pan-y;
}

/* Collection Scroll Wrapper */
.collection-scroll-wrapper {
    position: relative;
    margin: 20px 0;
}

/* Collection Scroll Container */
.collection-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding: 0 20px;
    touch-action: pan-y;
}

.collection-scroll .collection-card {
    flex-shrink: 0;
    scroll-snap-align: center;
}

.collection-scroll::-webkit-scrollbar {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #c70000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.8);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 100px !important;
        z-index: 10001 !important;
    }

    /* Ensure it works on details page */
    body.details-open .back-to-top {
        z-index: 10001 !important;
    }
}

/* Collection Number Badge */
.collection-number {
    position: absolute;
    bottom: 18px;
    right: 18px;
    color: #ffffff !important;
    font-size: 2.2rem;
    font-weight: 900;
    z-index: 100 !important;
    text-shadow:
        0 0 15px rgba(0, 0, 0, 1),
        0 0 30px rgba(0, 0, 0, 1),
        2px 2px 6px rgba(0, 0, 0, 1);
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Details Page - Cinema View Fix (No Double Scrollbars) */
.details-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2500;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.details-page::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Prevent body scroll when details page is open */
body.details-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
}

/* Scroll Reveal Animation */
.collection-card.card-hidden {
    /* Disabled - was blocking touch scroll */
}

.collection-card.card-reveal {
    /* FIX: Disable animation on mobile to prevent scroll jumping */
    opacity: 1;
    transform: none !important;
    animation: none !important;
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Play button reveal on scroll */
.collection-card.card-reveal .mini-play-btn {
    animation: playBtnPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes playBtnPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Vertical Feed Overrides for Better Spacing */
.premium-feed .collection-card {
    width: 100%;
    /* Ensure full width in vertical stack */
    min-width: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    /* Slightly deeper in list */
}

/* ... unchanged current/hover styles ... */

/* --- POSTER & PLAY BUTTON WRAPPER --- */
.poster-wrapper {
    position: relative;
    width: 115px;
    /* Intermediate size */
    height: 170px;
    /* Intermediate height */
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

@media (hover: hover) {
    .collection-card:hover .play-overlay {
        opacity: 1;
    }
}

.play-overlay i {
    font-size: 2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Mini Play Button (Red Circle) */
.mini-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.6);
    transition: all 0.3s ease;
    z-index: 5;
}

.mini-play-btn i {
    margin-left: 2px;
    /* Slight adjustment for visual centering */
}

@media (hover: hover) {
    .collection-card:hover .mini-play-btn {
        transform: translate(-50%, -50%) scale(1.15) !important;
        box-shadow: 0 6px 20px rgba(229, 9, 20, 0.8);
    }
}

.collection-name {
    font-size: 1.15rem;
    /* Balanced size */
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 6px;
    display: block;
    overflow: visible;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.collection-card.current {
    border: 2px solid var(--accent);
    /* Tighter, more intense shadow that fades quickly to avoid clipping */
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6), inset 0 0 20px rgba(229, 9, 20, 0.2);
    transform: scale(1.0);
}

/* Hover Effect - Only on devices with mouse (not touch) */
/* Hover effects removed for stability */

/* Backdrop Background */
.collection-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 0.4s;
    filter: blur(0px) grayscale(20%);
}

.collection-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 45%,
            rgba(0, 0, 0, 0.4) 100%);
}

/* Layout Content */
.collection-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    /* Minimized padding for maximum content area */
    padding: 12px 15px;
    gap: 15px;
    z-index: 2;
}



.collection-mini-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Removed duplicate hover transform for mobile performance */

/* Round Navigation Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    /* Dark background for visibility */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 50;
    /* Ensure on top of cards */
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 1;
    /* Always visible */
    pointer-events: auto;
}

/* Show buttons on section hover */

.scroll-btn:hover {
    background: white;
    color: black;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

@keyframes rankPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    }
}

.collection-rank {
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    background: none;
    border: none;
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 0;
    animation: rankPulse 3s ease-in-out infinite alternate;
}

/* Mini Play Button Overlay (inside poster) */
.mini-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 36px;
    height: 36px;
    background: rgba(229, 9, 20, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

@media (hover: hover) {
    .collection-card:hover .mini-play-btn {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Info Section */
.collection-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 5;
    /* Ensure text is above rank */
}



.collection-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #bbb;
}

.star-rating {
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Tight Genre Tag */
.collection-genre {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    color: #eee;
    backdrop-filter: blur(4px);
    width: fit-content;
    /* Make background fit text exactly */
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 700;
    opacity: 0.8;
}

.genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* Big Number Watermark */
.collection-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    position: absolute;
    right: -10px;
    bottom: -15px;
    /* Moved to bottom right corner */
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Vendo Agora Label Corner */
.current-label-corner {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent), #b20710);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 4px 10px 4px 12px;
    border-radius: 0 0 0 12px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 20;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Launch Label (Gold Metallic) */
.launch-label {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 25%, #FFD700 50%, #FDB931 75%, #FFD700 100%);
    color: #3b2c00;
    /* Dark gold/brown for contrast */
    font-size: 0.6rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 0 0 0 12px;
    box-shadow: -2px 2px 15px rgba(255, 215, 0, 0.4);
    z-index: 20;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* ===== CAST SECTION ===== */
.cast-section {
    margin-bottom: 25px;
}

.cast-header {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cast-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}


/* Vertical Feed Grid */
.premium-feed {
    padding: 0 24px 100px 24px;
    /* Increased padding for breathing room */
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* More gap between cards */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.5);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.cast-card {
    min-width: 90px;
    max-width: 90px;
    text-align: center;
}

.cast-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.cast-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.cast-character {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.1;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    body {
        background-color: #000;
        background-image:
            radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    /* Enforce Mobile View Container */
    .login-screen,
    .app-container,
    .details-page {
        width: 100%;
        max-width: 420px;
        min-height: 100vh;
        margin: 0 auto;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        border-left: 1px solid #222;
        border-right: 1px solid #222;
        position: relative;
        /* Ensure it flows in the flex body unless fixed */
    }

    /* Fix Fixed Elements */
    .details-page {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        bottom: 0;
        right: auto;
    }

    .bottom-nav {
        max-width: 420px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #222;
        border-right: 1px solid #222;
    }

    /* Login screen specific adjustments if needed */
    .login-screen {
        position: relative;
        left: auto;
        transform: none;
    }

    /* Position Back to Top Button inside the centered app on Desktop */
    .back-to-top {
        right: auto;
        left: 50%;
        margin-left: 140px;
        /* Positions it inside the right edge of the 420px container */
        z-index: 2000;
        bottom: 100px;
        /* Slightly higher on desktop */
    }
}

/* ===== CONFIRM MODAL (Premium) ===== */
.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.confirm-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.confirm-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal.open .confirm-content {
    transform: scale(1);
}

.confirm-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(229, 9, 20, 0.5));
}

.confirm-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.confirm-message {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.confirm-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-confirm {
    flex: 1;
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-confirm:active {
    transform: scale(0.95);
}

.btn-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== ULTRA PREMIUM SEARCH ===== */
/* ===== ULTRA PREMIUM SEARCH ===== */
.search-header-premium {
    position: relative;
    /* Changed from fixed to flow naturally */
    width: 100%;
    padding: 30px 20px 10px 20px;
    background: transparent;
    z-index: 10;
}

.search-title {
    font-size: 1.5rem;
    /* Drastically reduced from 2.2rem */
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    /* Clean white */
    background: none;
    -webkit-text-fill-color: initial;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.search-bar-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.search-bar-wrapper input {
    width: 100%;
    padding: 12px 45px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-bar-wrapper input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1rem;
    pointer-events: none;
}

.search-content-area {
    padding: 0 20px 100px 20px;
    /* Removed top padding, kept bottom for nav */
    opacity: 1;
    /* Ensure visible */
}

/* TAGS & SUGGESTIONS */
.suggestions-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.search-tag:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

.search-tag.trending {
    background: rgba(229, 9, 20, 0.1);
    border-color: rgba(229, 9, 20, 0.2);
    color: #ffcccc;
}

/* GRID RESULTS */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    /* Adaptive columns */
    gap: 15px;
    padding-bottom: 40px;
}

.search-card-premium {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #222;
}

.search-card-premium:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.search-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.search-card-premium:hover .search-poster {
    opacity: 0.4;
}

.search-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.search-card-premium:hover .search-overlay {
    opacity: 1;
}

.search-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-card-premium:hover .search-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.search-info h3 {
    font-size: 0.85rem;
    color: white;
    margin-bottom: 2px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-info span {
    font-size: 0.75rem;
    color: #ccc;
}

.view-section {
    min-height: 100vh;
    animation: fadeIn 0.3s ease;
}

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

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

/* Old Genre Grid Block Removed - Using ULTRA PREMIUM block below */

/* ===== REQUESTS PAGE ===== */
.premium-box {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.request-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.request-icon-main {
    font-size: 1.8rem;
    color: #E50914;
}

.premium-box h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.premium-box p {
    color: #888;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.input-group-premium {
    position: relative;
    margin-bottom: 15px;
}

.input-group-premium i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-group-premium input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: white;
    outline: none;
    font-size: 1rem;
}

.btn-submit-request {
    width: 100%;
    padding: 15px;
    background: #E50914;
    /* Brand Red */
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* PREMIUM REQUEST CARD (Mimics Collection Card) */
.request-card-premium {
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/9; REMOVED to fit larger poster */
    min-height: 200px;
    background: #151515;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    /* Ensure flexibility */
}

.request-card-premium .req-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px) grayscale(40%);
}

.request-card-premium .req-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.request-card-premium .req-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 15px;
}

.request-card-premium .req-poster {
    width: 115px;
    /* Exact Match to Home Card */
    height: 170px;
    /* Exact Match to Home Card */
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.request-card-premium .req-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.request-card-premium h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.request-card-premium .req-meta {
    font-size: 0.8rem;
    color: #ccc;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.request-card-premium .req-date-line {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.request-card-premium .req-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.req-genre-tag {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.request-card-premium .pending-badge {
    background: rgba(255, 140, 0, 0.2);
    color: #ff8c00;
    /* Orange */
    border: 1px solid rgba(255, 140, 0, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 5px;
}

.request-card-premium .req-date {
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
}

/* SEARCH BUTTON HIGHLIGHT IN NAV */
.search-btn-nav .search-circle {
    width: 45px;
    height: 45px;
    background: #E50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-15px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    border: 4px solid #000;
    /* Match body bg */
    margin-bottom: -15px;
}

.search-btn-nav.active .search-circle {
    background: white;
    color: #E50914;
}

.search-btn-nav span {
    margin-top: 18px;
}

/* Old genre duplicates removed - using modern grid below */

/* CATEGORIES HEADER SPECIFIC */
#view-categories .app-header {
    position: relative;
    top: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0) 100%);
    justify-content: flex-start;
    /* Align left */
    text-align: left;
}

#view-categories .app-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

#view-categories .title-highlight {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

/* ===== REQUESTS PAGE ULTRA PREMIUM ===== */
.request-search-section.premium-box {
    padding: 16px 12px;
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.request-header-content h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: white;
}

.request-header-content p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.search-box-premium input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box-premium input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: #E50914;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
    outline: none;
}

.search-icon-input {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

/* REQUEST RESULTS (Dropdown Grid) */
.request-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 16px;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.request-card-result {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    aspect-ratio: 2/3;
    border: 1px solid transparent;
}

.request-card-result:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-color: #E50914;
}

.request-card-result img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.request-card-result .year-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

/* COMMUNITY LIST */
.section-divider {
    display: flex;
    align-items: center;
    margin: 40px 0 20px 0;
    color: #777;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

.section-divider span {
    padding: 0 15px;
}

.requests-list-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.community-request-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    transition: transform 0.2s, background 0.2s;
}

.community-request-item:hover {
    transform: translateX(5px);
    background: #252525;
    border-color: #444;
}

.community-request-item img {
    width: 50px;
    height: 75px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.community-req-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.community-req-info span {
    color: #999;
    font-size: 0.8rem;
}

.btn-vote-req {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #E50914;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: default;
}

.spinner-small {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #E50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* ===== PROFILE PAGE ===== */
.profile-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #666;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* ===== PREMIUM CATEGORIES PAGE (Refined) ===== */
.categories-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 300px;
    background: #000;
    overflow: hidden;
    margin-bottom: 10px;
    /* Removed border-radius to blend properly */
    box-shadow: none;
}

.categories-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    /* Slightly darker */
    transition: background-image 1s ease-in-out;
    animation: slowPan 30s infinite alternate;
}

@keyframes slowPan {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.3);
    }
}

.categories-hero-overlay {
    position: absolute;
    inset: 0;
    /* Seamless blend to background color */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.0) 40%,
            rgba(0, 0, 0, 0.8) 80%,
            var(--bg-primary) 100%);
    z-index: 2;
}

/* Hero Content Centered */
.categories-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    /* Slight offset for visual balance */
    z-index: 3;
    text-align: center;
}

.cat-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    color: white;
    letter-spacing: -1px;
}

.cat-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Back Button Hero */
.btn-hero-back {
    position: absolute;
    top: 40px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-hero-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Old flexbox override removed - modern grid defined at bottom */

/* ===== PREMIUM PROFILE PAGE ===== */
.profile-header-premium {
    position: relative;
    /* For absolute logout button */
    padding: 60px 20px 40px 20px;
    background: linear-gradient(to bottom, #111, #000);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-logout-mini {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-logout-mini:hover {
    background: rgba(255, 68, 68, 0.15);
    transform: scale(1.1);
}

.profile-username-style {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #222;
    border: 4px solid #1a1a1a;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.profile-avatar-large i {
    font-size: 3rem;
    color: #444;
}

.profile-header-premium h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-id-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: monospace;
    letter-spacing: 1px;
}

/* DASHBOARD STATS / TABS */
.profile-dashboard-grid {
    padding: 20px;
}

.profile-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.stat-card {
    background: #111;
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.stat-card.active {
    background: #222;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.2);
}

.stat-card .stat-icon {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.3s;
}

.stat-card.active .stat-icon {
    color: var(--accent);
}

.stat-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
}

/* CONTENT AREA */
.profile-tab-content {
    min-height: 200px;
}

.profile-empty {
    text-align: center;
    padding: 40px;
    color: #555;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.profile-empty i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* BUTTONS */
.btn-logout-premium {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: #1a1a1a;
    color: #ff4444;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid rgba(255, 68, 68, 0.2);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-logout-premium:hover {
    background: rgba(255, 68, 68, 0.1);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.1);
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-header-bg {
    background: linear-gradient(to bottom, #1a1600, #000);
    /* Dark gold hint */
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.admin-avatar-glow {
    border-color: #ffd700 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3) !important;
}

.admin-user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-user-item {
    background: #151515;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-user-info {
    flex: 1;
    min-width: 0;
}

.admin-user-info .u-name {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.admin-user-info .u-meta {
    color: #888;
    font-size: 0.75rem;
    margin-top: 2px;
}

.admin-user-actions {
    display: flex;
    gap: 8px;
}

.btn-icon-admin {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-msg {
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
}

.btn-ban {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.btn-icon-admin:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.admin-req-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.admin-req-item {
    display: flex;
    gap: 10px;
    background: #111;
    padding: 5px;
    border-radius: 8px;
    align-items: center;
}

.adm-poster {
    width: 40px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.adm-req-info .r-title {
    font-size: 0.9rem;
    color: #ddd;
    font-weight: 600;
}

.adm-req-info .r-user {
    font-size: 0.7rem;
    color: #555;
}


/* ===== REDCINE CUSTOM EXTENSIONS ===== */
.brand-badge {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

.wallet-badge-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.wallet-badge-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: #e50914;
}

/* ===== CARTEIRA / PERFIL VIEW — PREMIUM ===== */

.wallet-card-highlight {
    background: linear-gradient(145deg, #1a0a0a 0%, #1c1c1e 40%, #0f0f0f 100%);
    border: 1px solid rgba(229, 9, 20, 0.25);
    border-radius: 20px;
    padding: 28px 24px 20px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 40px rgba(229, 9, 20, 0.12), 0 2px 8px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.wallet-card-highlight::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wallet-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wallet-balance-num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 8px;
}

.wallet-balance-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.4);
}

.wallet-balance-unit {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e50914;
    padding-bottom: 4px;
}

.wallet-balance-sub {
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.wallet-dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 6px #4ade80;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.wallet-progress-bar {
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    height: 5px;
    overflow: hidden;
    margin-top: 4px;
}

.wallet-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e50914, #ff4444);
    border-radius: 8px;
    width: 30%;
    transition: width 0.6s ease;
}

/* Título de Seção */
.wallet-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #bbb;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Grid de Pacotes */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.pkg-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px 14px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 185px;
    box-sizing: border-box;
}

.pkg-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pkg-card:hover, .pkg-card:active {
    border-color: #e50914;
    transform: translateY(-3px);
    background: rgba(229, 9, 20, 0.08);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.2);
}

.pkg-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1;
}

.pkg-credits {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.pkg-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.pkg-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #4ade80;
    line-height: 1.1;
}

.pkg-per-credit {
    font-size: 0.72rem;
    color: #666;
    margin-top: 5px;
}

/* Card Popular (destaque vermelho) */
.pkg-card--popular {
    border-color: rgba(229, 9, 20, 0.6);
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.12) 0%, rgba(20, 20, 22, 0.7) 100%);
}

.pkg-badge-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #e50914;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    padding: 5px 0;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

.pkg-card--popular .pkg-price { color: #e50914; }

/* Card VIP (ocupa linha inteira + luxo horizontal dourado) */
.pkg-card--vip {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(26, 20, 5, 0.4) 100%);
    border: 1px solid rgba(245, 197, 24, 0.4);
    border-radius: 18px;
    padding: 18px 20px;
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.08);
    animation: vip-border-pulse 3s ease-in-out infinite;
}

@keyframes vip-border-pulse {
    0%, 100% { border-color: rgba(245,197,24,0.35); box-shadow: 0 0 0 rgba(245,197,24,0); }
    50% { border-color: rgba(245,197,24,0.75); box-shadow: 0 0 18px rgba(245,197,24,0.2); }
}

.pkg-card--vip:hover, .pkg-card--vip:active {
    border-color: #f5c518;
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.14) 0%, rgba(30, 24, 6, 0.6) 100%);
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.25);
}

.pkg-vip-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pkg-vip-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}

.pkg-vip-info {
    display: flex;
    flex-direction: column;
}

.pkg-credits--vip {
    font-size: 1.15rem;
    font-weight: 900;
    color: #f5c518;
    margin-bottom: 2px;
    line-height: 1.2;
}

.pkg-name--vip {
    font-size: 0.76rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.4px;
}

.pkg-per-credit--vip {
    font-size: 0.7rem;
    color: #8c7322;
    margin-top: 2px;
}

.pkg-vip-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.pkg-price--vip {
    font-size: 1.45rem;
    font-weight: 900;
    color: #f5c518;
    line-height: 1.1;
}

.pkg-vip-tag {
    background: rgba(245, 197, 24, 0.2);
    border: 1px solid rgba(245, 197, 24, 0.5);
    color: #f5c518;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Suporte */
.wallet-support-section {
    margin-top: 8px;
    text-align: center;
}

.wallet-support-btn {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.08));
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.wallet-support-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

/* Confirm Modal Glassmorphism */
.confirm-modal-box {
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.btn-confirm-yes {
    background: #e50914;
    color: white;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 12px;
    transition: background 0.2s;
}

.btn-confirm-yes:hover {
    background: #b20710;
}

.btn-confirm-no {
    background: transparent;
    color: #888;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 8px;
    width: 100%;
}

/* ===== STRICT CAROUSEL POSTER DIMENSIONS (Anti-Stretch 2:3 Ratio) ===== */
.movie-card-premium {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    flex: 0 0 120px !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
}

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

.movie-card-premium .poster-wrapper {
    position: relative;
    width: 120px !important;
    height: 180px !important;
    aspect-ratio: 2/3;
    border-radius: 10px;
    overflow: hidden;
    background: #18181a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.movie-card-premium .poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-card-premium .movie-info {
    margin-top: 6px;
    width: 120px !important;
    overflow: hidden;
}

.movie-card-premium .movie-title-text {
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    line-height: 1.25;
}

.movie-card-premium .movie-meta-text {
    color: #888888;
    font-size: 0.68rem;
    margin-top: 2px;
    font-weight: 500;
}

/* View Sections Safe Spacing */
.view-section {
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

#view-categories {
    padding-top: 0;
}

#view-search {
    padding-top: 24px;
}

#view-requests {
    padding-top: 24px;
}

#view-profile {
    padding-top: 24px;
}

/* ===== SÉRIES: ABAS DE TEMPORADAS E CARDS DE EPISÓDIOS ===== */
.seasons-selector {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: none;
}
.seasons-selector::-webkit-scrollbar { display: none; }

.season-tab-btn {
    background: #1c1c1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #aaa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.season-tab-btn.active {
    background: #e50914;
    border-color: #e50914;
    color: #fff;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.episode-card-premium {
    display: flex;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #18181b 0%, #121214 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.episode-card-premium:active {
    transform: scale(0.98);
    border-color: rgba(229, 9, 20, 0.4);
}

.episode-thumbnail-box {
    position: relative;
    flex: 0 0 120px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}
.episode-thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.episode-duration-tag {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}
.episode-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.9;
}
.episode-info-box {
    flex: 1;
    min-width: 0;
}
.episode-title-row {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.episode-overview-row {
    color: #8e8e93;
    font-size: 0.76rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.episode-tags-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.badge-dublado-green {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-quality-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}
.btn-episode-play {
    background: #e50914;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== CATEGORIES ULTRA PREMIUM REDESIGN ===== */
.categories-hero-banner {
    position: relative;
    padding: 30px 16px 24px 16px;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(229, 9, 20, 0.42) 0%, rgba(26, 16, 20, 0.85) 50%, rgba(15, 15, 16, 0.98) 90%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.categories-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.btn-hero-back {
    position: absolute;
    left: 16px;
    top: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    z-index: 10;
}

.btn-hero-back:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.categories-hero-content {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.hero-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 9, 20, 0.18);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ff4d52;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.25);
}

.cat-hero-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.cat-hero-subtitle {
    color: #a1a1aa;
    font-size: 0.85rem;
    margin: 0 auto;
    max-width: 320px;
    line-height: 1.4;
}

/* GRID RESPONSIVO DE CATEGORIAS: FIXO EM 2 COLUNAS (GABARITO PRINT 02) */
#view-categories {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.genres-grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px 10px 120px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.genre-card-premium {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1.08 !important;
    min-height: 160px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 14px 12px !important;
    cursor: pointer !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
    background: #18181b !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
    box-sizing: border-box !important;
}

.genre-card-premium:hover,
.genre-card-premium:active {
    transform: translateY(-3px) scale(1.02) !important;
    border-color: rgba(229, 9, 20, 0.8) !important;
    box-shadow: 0 12px 28px rgba(229, 9, 20, 0.35) !important;
}

.genre-card-premium img.bg-poster {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.76 !important; /* Foto do filme bem visível, colorida e nítida */
    filter: brightness(0.95) contrast(1.05) !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.genre-card-premium:hover img.bg-poster {
    transform: scale(1.08) !important;
    opacity: 0.88 !important;
}

.genre-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(15, 15, 18, 0.32) 58%, rgba(20, 20, 24, 0.08) 100%) !important;
    z-index: 1 !important;
}

.genre-card-content-inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.genre-icon-badge {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: rgba(229, 9, 20, 0.25) !important;
    border: 1px solid rgba(229, 9, 20, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3) !important;
}

.genre-icon-badge i {
    font-size: 1.1rem !important;
    color: #e50914 !important;
}

.genre-card-title {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
}

.genre-card-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(4px) !important;
    color: #f4f4f5 !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    width: fit-content !important;
    margin-top: 2px !important;
}

.request-results-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
}

.request-card-item {
    background: #18181b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    text-align: center !important;
    padding-bottom: 10px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.request-card-item .poster-box {
    width: 100% !important;
    aspect-ratio: 2/3 !important;
    overflow: hidden !important;
    background: #111 !important;
}

.request-card-item .poster-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.2s ease !important;
}

.request-card-item:hover .poster-box img {
    transform: scale(1.03) !important;
}

.request-card-item .title-box {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    padding: 8px 6px 2px 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.request-card-item .year-box {
    font-size: 0.74rem !important;
    color: #8e8e93 !important;
    margin-bottom: 8px !important;
}

.request-card-item .btn-pedir {
    background: #e50914 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 8px 14px !important;
    margin: 0 8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4) !important;
}

/* ===== GRID VERTICAL DE FILMES (substitui horizontal-scroll) ===== */
.movies-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 12px;
}

.movie-card-vertical {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background 0.15s ease;
    border-radius: 8px;
}

.movie-card-vertical:last-child {
    border-bottom: none;
}

.movie-card-vertical:active {
    background: rgba(255,255,255,0.05);
}

.movie-card-poster {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 108px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}

.movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-card-rating {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(4px);
    color: #ffd700;
    font-size: 0.60rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1.3;
}

.movie-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.movie-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.movie-card-genre {
    font-size: 0.72rem;
    color: #e50914;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
/* ===== FIM GRID VERTICAL ===== */

/* ===== BOTÃO VER TRAILER ===== */
.hero-btn-trailer {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.hero-btn-trailer:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.22);
}

/* ===== GRID 3 COLUNAS — LISTAGEM DE FILMES ===== */
.movies-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 10px 16px 10px;
    overflow: visible;
}

.movie-card-grid {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.movie-card-grid:hover,
.movie-card-grid:active {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 10;
    position: relative;
}

.movie-card-grid .poster-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
}

.movie-card-grid .poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-card-grid .movie-info {
    padding: 5px 4px 6px;
    background: #111;
}

.movie-card-grid .movie-title-text {
    font-size: 0.70rem;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.movie-card-grid .movie-meta-text {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}

/* ===== FIM GRID 3 COLUNAS ===== */
