/* =============================================
   CINEPRO - Ultra Modern Streaming CSS (Optimizado)
   ============================================= */

/* Fonts se cargan via <link> en header.php para evitar render-blocking */

:root {
    --primary: #e50914;
    --primary-light: #ff2d3b;
    --primary-dark: #b20710;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.3);
    --bg-dark: #0a0a0f;
    --bg-card: #14141f;
    --bg-card-hover: #1a1a2e;
    --bg-glass: rgba(20, 20, 31, 0.85);
    --bg-glass-light: rgba(255, 255, 255, 0.05);
    --surface: #1e1e2e;
    --surface-light: #2a2a3e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --gradient-primary: linear-gradient(135deg, #e50914, #ff6b6b);
    --gradient-accent: linear-gradient(135deg, #00d4ff, #7b2ff7);
    --gradient-gold: linear-gradient(135deg, #ffd700, #ff8c00);
    --gradient-dark: linear-gradient(180deg, transparent, #0a0a0f);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(229, 9, 20, 0.3);
    --shadow-accent: 0 0 30px rgba(0, 212, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    content-visibility: auto;
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--primary), 0 0 10px rgba(229, 9, 20, 0.3);
    }

    50% {
        box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(229, 9, 20, 0.4);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideRight {
    animation: slideInRight 0.6s ease forwards;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: glow 3s infinite;
}

.navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: var(--bg-glass-light);
}

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 0;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.search-box.active input {
    width: 220px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border-light);
}

.search-box .search-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.search-box .search-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-glass-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    background: var(--bg-glass-light);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #1a1a2e;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-xs {
    padding: 4px 10px;
    font-size: 0.75rem;
    height: auto;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    cursor: pointer;
    object-fit: cover;
    transition: var(--transition);
}

.user-avatar:hover {
    border-color: var(--accent);
    transform: scale(1.1);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 220px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px;
    display: none;
    box-shadow: var(--shadow-card);
    z-index: 1001;
}

.user-dropdown.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: var(--bg-glass-light);
    color: var(--text-primary);
}

.user-dropdown .divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ============ HERO BANNER ============ */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 80px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10, 10, 15, 0.6) 40%, rgba(10, 10, 15, 0.2) 100%),
        linear-gradient(90deg, var(--bg-dark) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(229, 9, 20, 0.2);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-meta .rating {
    color: var(--gold);
    font-weight: 700;
}

.hero-meta .quality {
    padding: 2px 10px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    right: 60px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-indicators .dot {
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicators .dot.active {
    width: 30px;
    background: var(--primary);
}

/* ============ SECTIONS ============ */
.section {
    padding: 40px 40px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title .icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.section-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-link:hover {
    gap: 10px;
}

/* ============ CONTENT CARDS ============ */
.content-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.content-row::-webkit-scrollbar {
    display: none;
}

.content-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-card);
    will-change: transform;
    contain: layout style;
}

.content-card:hover {
    transform: scale(1.08);
    z-index: 10;
    box-shadow: var(--shadow-card);
}

.card-image {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: var(--transition);
    will-change: transform;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 14px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    opacity: 0;
    transition: var(--transition);
}

.content-card:hover .card-overlay {
    opacity: 1;
}

.card-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-rating {
    color: var(--gold);
    font-weight: 600;
}

.card-quality {
    padding: 1px 6px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.65rem;
}

.card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-glow);
}

.content-card:hover .card-play {
    transform: translate(-50%, -50%) scale(1);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.badge-premium {
    background: var(--gradient-gold);
    color: #1a1a2e;
}

.badge-new {
    background: var(--gradient-accent);
    color: white;
}

.badge-top {
    background: var(--gradient-primary);
    color: white;
}

/* ============ CONTENT GRID ============ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.content-grid .content-card {
    flex: none;
}

/* ============ GENRE CHIPS ============ */
.genre-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.genre-chip {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.genre-chip:hover,
.genre-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ============ DETAIL PAGE ============ */
.detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 40px 60px;
}

.detail-hero .hero-bg {
    filter: blur(2px);
}

.detail-content {
    max-width: 1200px;
    margin: -80px auto 40px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.detail-poster {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    top: -60px;
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.detail-info {
    padding-top: 20px;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.detail-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.detail-genres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.detail-label {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Player */
.player-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 40px;
}

.player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.player-controls {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.server-btn {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.server-btn:hover,
.server-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 4px;
}

.star-rating .star {
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: default;
    transition: var(--transition);
}

.star-rating .star.active {
    color: var(--gold);
}

.star-rating .star.half {
    position: relative;
    color: var(--text-muted);
}

.star-rating.interactive .star {
    cursor: pointer;
}

.star-rating.interactive .star:hover {
    color: var(--gold);
    transform: scale(1.2);
}

/* ============ PLANS / PRICING ============ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured {
    border-color: var(--gold);
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 215, 0, 0.05));
}

.plan-card.featured::before {
    background: var(--gradient-gold);
    opacity: 1;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--accent);
}

/* ============ AUTH PAGES ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--bg-dark), #1a0a2e);
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(180deg, var(--bg-dark), #050508);
    border-top: 1px solid var(--border);
    padding: 60px 40px 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.footer-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============ NOTIFICATIONS ============ */
.toast {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    animation: slideInRight 0.4s ease;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
}

.toast-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.toast-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.toast-info {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: var(--accent);
}

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero {
        height: 70vh;
        padding: 0 30px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .detail-grid {
        grid-template-columns: 220px 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 4px;
        z-index: 999;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        height: 60vh;
        padding: 0 20px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .section {
        padding: 30px 16px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .content-card {
        flex: 0 0 150px;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 250px;
        margin: 0 auto;
        top: 0;
    }

    .detail-content {
        padding: 0 16px;
        margin-top: -40px;
    }

    .detail-title {
        font-size: 1.8rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-indicators {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .auth-card {
        padding: 30px 20px;
    }
}

/* =============================================
   ADBLOCK MODAL - ANIMACIONES Y ESTILOS
   ============================================= */

@keyframes adblockFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes adblockSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes adblockBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

@keyframes adblockIconFloat {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg);
    }
    50% {
        transform: translateY(-20px) rotateZ(5deg);
    }
}

.adblock-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adblock-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
    animation: adblockFadeIn 0.4s ease-out;
}

.adblock-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
                0 0 50px rgba(229, 9, 20, 0.2);
    position: relative;
    animation: adblockSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.adblock-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.adblock-modal-close:hover {
    background: rgba(229, 9, 20, 0.5);
    transform: rotate(90deg);
}

.adblock-modal-icon {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3.5rem;
    color: var(--primary);
    animation: adblockIconFloat 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.adblock-modal-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.adblock-modal-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.adblock-modal-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.adblock-modal-text strong {
    color: var(--accent);
}

.adblock-modal-benefits {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item i {
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.adblock-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.adblock-modal-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition-bounce);
}

.adblock-modal-actions .btn-primary {
    position: relative;
    overflow: hidden;
}

.adblock-modal-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.adblock-modal-actions .btn-primary:hover::before {
    left: 100%;
}

.adblock-modal-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.4);
}

.adblock-modal-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.adblock-modal-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    .adblock-modal {
        padding: 30px 24px;
        max-width: 100%;
        margin: 20px;
    }

    .adblock-modal-icon {
        font-size: 3rem;
    }

    .adblock-modal-title {
        font-size: 1.5rem;
    }

    .adblock-modal-text {
        font-size: 0.9rem;
    }

    .adblock-modal-actions {
        flex-direction: column;
    }

    .adblock-modal-actions .btn {
        width: 100%;
    }
}