/* Tee-shirts Séries TV - TV Shows Category Styles */

/* Variables TV */
:root {
    --tv-primary: #ff6b35;
    --tv-secondary: #004e89;
    --tv-accent: #00a8cc;
    --netflix-red: #e50914;
    --hbo-purple: #8b00ff;
    --disney-blue: #113cce;
    --amazon-orange: #ff9900;
    --neon-pink: #ff073a;
    --neon-blue: #00d4ff;
    --neon-green: #39ff14;
    --retro-orange: #ff6b35;
    --screen-glow: #00ff41;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    
    --font-tv: 'Montserrat', sans-serif;
    --font-retro: 'Orbitron', monospace;
}

/* Body TV */
body {
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Main Container */
.tv-category-main {
    min-height: 100vh;
    padding-top: 70px;
}

/* TV Hero Section */
.tv-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-900) 40%, var(--tv-primary) 100%);
}

.tv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tv-static {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    opacity: 0.3;
    animation: tvStatic 0.1s linear infinite;
}

@keyframes tvStatic {
    0% { 
        background-position: 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.3;
    }
    50% { 
        background-position: 100% 100%, 50% 50%, 100% 0%;
        opacity: 0.4;
    }
    100% { 
        background-position: 0% 100%, 100% 0%, 50% 100%;
        opacity: 0.3;
    }
}

.neon-signs {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, var(--neon-pink) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, var(--neon-blue) 50%, transparent 70%);
    background-size: 400px 400px, 350px 350px;
    opacity: 0.1;
    animation: neonFlicker 3s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0% { 
        opacity: 0.1;
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 0.2;
        filter: hue-rotate(180deg);
    }
    100% { 
        opacity: 0.15;
        filter: hue-rotate(360deg);
    }
}

.streaming-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(0, 212, 255, 0.1) 10px,
            rgba(0, 212, 255, 0.1) 20px
        );
    animation: streamingFlow 5s linear infinite;
}

@keyframes streamingFlow {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.tv-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.tv-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-tv);
}

.retro-tv {
    position: relative;
    display: block;
    color: var(--text-light);
    text-shadow: 
       0 0 10px var(--screen-glow),
       3px 3px 0 var(--tv-primary),
       6px 6px 0 var(--tv-secondary);
   animation: tvGlow 2s ease-in-out infinite alternate;
}

@keyframes tvGlow {
   0% { 
       text-shadow: 
           0 0 10px var(--screen-glow),
           3px 3px 0 var(--tv-primary),
           6px 6px 0 var(--tv-secondary);
   }
   100% { 
       text-shadow: 
           0 0 20px var(--screen-glow),
           3px 3px 0 var(--tv-primary),
           6px 6px 0 var(--tv-secondary),
           0 0 30px var(--screen-glow);
   }
}

.series-neon {
   display: block;
   color: var(--tv-accent);
   text-shadow: 
       0 0 30px var(--tv-accent),
       0 0 60px var(--tv-accent),
       0 0 90px var(--tv-accent);
   animation: seriesNeonPulse 3s ease-in-out infinite alternate;
}

@keyframes seriesNeonPulse {
   0% { 
       text-shadow: 
           0 0 30px var(--tv-accent),
           0 0 60px var(--tv-accent),
           0 0 90px var(--tv-accent);
   }
   100% { 
       text-shadow: 
           0 0 20px var(--tv-accent),
           0 0 40px var(--tv-accent),
           0 0 60px var(--tv-accent),
           0 0 80px var(--tv-accent);
   }
}

.tv-subtitle {
   font-size: 1.4rem;
   font-weight: 400;
   color: var(--text-gray);
   margin: 0 0 40px 0;
   letter-spacing: 2px;
   font-style: italic;
   font-family: var(--font-retro);
}

.tv-stats {
   display: flex;
   justify-content: center;
   gap: 50px;
   margin-top: 50px;
}

.stat-item {
   text-align: center;
   position: relative;
}

.stat-value {
   display: block;
   font-size: 2.8rem;
   font-weight: 700;
   color: var(--tv-accent);
   text-shadow: 0 0 15px var(--tv-accent);
   line-height: 1;
   font-family: var(--font-retro);
}

.stat-label {
   display: block;
   font-size: 0.9rem;
   color: var(--text-gray);
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-top: 8px;
}

.tv-remote {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-top: 40px;
}

.remote-btn {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: var(--gray-800);
   border: 3px solid var(--tv-primary);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.2rem;
   cursor: pointer;
   transition: all 0.3s ease;
   box-shadow: 0 4px 0 var(--tv-secondary);
}

.remote-btn:hover {
   background: var(--tv-primary);
   transform: translateY(-2px);
   box-shadow: 0 6px 0 var(--tv-secondary);
}

.remote-btn:active {
   transform: translateY(2px);
   box-shadow: 0 2px 0 var(--tv-secondary);
}

/* TV Filters */
.tv-filters {
   padding: 80px 0;
   background: var(--gray-900);
   border-top: 3px solid var(--tv-primary);
   border-bottom: 3px solid var(--tv-accent);
   position: relative;
}

.tv-filters::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       repeating-linear-gradient(
           0deg,
           transparent,
           transparent 2px,
           rgba(0, 168, 204, 0.1) 2px,
           rgba(0, 168, 204, 0.1) 4px
       );
   pointer-events: none;
}

.filters-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 40px;
   position: relative;
   z-index: 2;
}

.filters-header h2 {
   font-size: 2.3rem;
   color: var(--tv-accent);
   margin: 0;
   text-shadow: 0 0 20px var(--tv-accent);
   font-family: var(--font-tv);
   text-transform: uppercase;
   letter-spacing: 2px;
}

.filter-counter {
   background: var(--tv-primary);
   color: var(--text-light);
   padding: 12px 20px;
   border-radius: 25px;
   font-weight: 600;
   font-size: 1rem;
   font-family: var(--font-retro);
   box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
   border: 2px solid var(--tv-accent);
}

.filters-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   margin-bottom: 40px;
   position: relative;
   z-index: 2;
}

.filter-group {
   background: var(--gray-800);
   padding: 30px;
   border-radius: 15px;
   border: 2px solid var(--tv-primary);
   position: relative;
   overflow: hidden;
}

.filter-group::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       linear-gradient(45deg, var(--netflix-red), var(--hbo-purple), var(--disney-blue), var(--amazon-orange));
   opacity: 0.05;
   z-index: -1;
}

.filter-label {
   display: block;
   font-size: 1.2rem;
   font-weight: 700;
   color: var(--tv-accent);
   margin-bottom: 20px;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-family: var(--font-tv);
   position: relative;
   z-index: 2;
}

.filter-options {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
   position: relative;
   z-index: 2;
}

.filter-btn {
   background: var(--tv-secondary);
   border: 2px solid var(--tv-accent);
   color: var(--text-light);
   padding: 10px 16px;
   border-radius: 20px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
   font-size: 0.9rem;
   font-family: var(--font-tv);
   position: relative;
   overflow: hidden;
}

.filter-btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: var(--tv-primary);
   transition: left 0.3s ease;
   z-index: -1;
}

.filter-btn:hover {
   color: var(--text-light);
   box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.filter-btn:hover::before {
   left: 0;
}

.filter-btn.active {
   background: var(--tv-accent);
   border-color: var(--tv-primary);
   color: var(--text-light);
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.6);
}

.clear-filters {
   background: transparent;
   border: 3px solid var(--tv-accent);
   color: var(--tv-accent);
   padding: 15px 35px;
   border-radius: 30px;
   font-weight: 700;
   cursor: pointer;
   transition: all 0.4s ease;
   text-transform: uppercase;
   letter-spacing: 2px;
   display: block;
   margin: 0 auto;
   font-family: var(--font-tv);
   font-size: 1rem;
   position: relative;
   z-index: 2;
   overflow: hidden;
}

.clear-filters::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: var(--tv-accent);
   transition: left 0.3s ease;
   z-index: -1;
}

.clear-filters:hover {
   color: var(--dark-bg);
   box-shadow: 0 0 25px rgba(0, 168, 204, 0.7);
}

.clear-filters:hover::before {
   left: 0;
}

/* TV Timeline */
.tv-timeline {
   padding: 100px 0;
   background: var(--dark-bg);
   position: relative;
}

.tv-timeline::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       radial-gradient(circle at 20% 80%, var(--netflix-red) 0%, transparent 50%),
       radial-gradient(circle at 80% 20%, var(--hbo-purple) 0%, transparent 50%);
   opacity: 0.03;
   pointer-events: none;
}

.timeline-header {
   text-align: center;
   margin-bottom: 80px;
   position: relative;
   z-index: 2;
}

.timeline-header h2 {
   font-size: 3rem;
   color: var(--tv-accent);
   margin: 0 0 25px 0;
   text-shadow: 0 0 30px var(--tv-accent);
   text-transform: uppercase;
   letter-spacing: 3px;
   font-family: var(--font-tv);
}

.timeline-header p {
   font-size: 1.3rem;
   color: var(--text-gray);
   margin: 0;
   font-weight: 300;
   letter-spacing: 1px;
   font-style: italic;
}

.timeline-container {
   position: relative;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.timeline-cable {
   position: absolute;
   left: 50%;
   top: 0;
   bottom: 0;
   width: 6px;
   background: linear-gradient(to bottom, var(--tv-primary), var(--tv-accent), var(--tv-secondary));
   transform: translateX(-50%);
   border-radius: 3px;
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.6);
}

.timeline-item {
   position: relative;
   margin-bottom: 90px;
   opacity: 0;
   transform: translateY(50px);
   animation: tvTimelineAppear 1s ease-out forwards;
}

.timeline-item:nth-child(odd) {
   animation-delay: 0.3s;
}

.timeline-item:nth-child(even) {
   animation-delay: 0.6s;
}

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

.timeline-content {
   display: flex;
   align-items: center;
   position: relative;
}

.timeline-left .timeline-content {
   justify-content: flex-end;
   padding-right: 70px;
}

.timeline-right .timeline-content {
   justify-content: flex-start;
   padding-left: 70px;
}

.timeline-marker {
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   z-index: 3;
   display: flex;
   align-items: center;
   justify-content: center;
}

.marker-inner {
   background: var(--tv-primary);
   width: 70px;
   height: 70px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 4px solid var(--tv-accent);
   position: relative;
   z-index: 2;
   box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
}

.marker-icon {
   font-size: 1.8rem;
}

.marker-glow {
   position: absolute;
   width: 100px;
   height: 100px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(0, 168, 204, 0.4) 0%, transparent 70%);
   animation: tvMarkerPulse 2.5s ease-in-out infinite alternate;
}

@keyframes tvMarkerPulse {
   0% {
       transform: scale(1);
       opacity: 0.6;
   }
   100% {
       transform: scale(1.4);
       opacity: 0.3;
   }
}

.timeline-card {
   background: var(--gray-900);
   border-radius: 20px;
   overflow: hidden;
   max-width: 480px;
   width: 100%;
   border: 2px solid var(--tv-primary);
   position: relative;
   transition: all 0.4s ease;
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.timeline-card:hover {
   transform: translateY(-15px);
   box-shadow: 0 25px 80px rgba(255, 107, 53, 0.4);
   border-color: var(--tv-accent);
}

.card-image-container {
   position: relative;
   height: 220px;
   overflow: hidden;
}

.card-image {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.6s ease;
}

.timeline-card:hover .card-image {
   transform: scale(1.1);
}

.image-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, rgba(255, 107, 53, 0.4) 0%, rgba(0, 168, 204, 0.4) 100%);
   opacity: 0;
   transition: all 0.4s ease;
   display: flex;
   align-items: center;
   justify-content: center;
}

.timeline-card:hover .image-overlay {
   opacity: 1;
}

.tv-badge {
   position: absolute;
   top: 15px;
   right: 15px;
   background: var(--tv-accent);
   color: var(--text-light);
   padding: 6px 12px;
   border-radius: 12px;
   font-weight: 700;
   font-size: 0.7rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-family: var(--font-retro);
   box-shadow: 0 0 15px rgba(0, 168, 204, 0.6);
}

.play-btn {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background: rgba(255, 255, 255, 0.9);
   color: var(--tv-primary);
   width: 60px;
   height: 60px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   opacity: 0;
   transition: all 0.3s ease;
}

.timeline-card:hover .play-btn {
   opacity: 1;
   transform: translate(-50%, -50%) scale(1.1);
}

.card-content {
   padding: 30px;
}

.card-meta {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
}

.tv-category {
   background: var(--tv-primary);
   color: var(--text-light);
   padding: 6px 12px;
   border-radius: 12px;
   font-size: 0.8rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-family: var(--font-retro);
}

.card-date {
   color: var(--text-gray);
   font-size: 0.9rem;
   font-family: var(--font-retro);
}

.card-title {
   margin: 0 0 20px 0;
   font-size: 1.4rem;
   font-weight: 700;
   line-height: 1.3;
   font-family: var(--font-tv);
}

.title-link {
   color: var(--text-light);
   text-decoration: none;
   transition: all 0.3s ease;
}

.title-link:hover {
   color: var(--tv-accent);
   text-shadow: 0 0 15px rgba(0, 168, 204, 0.6);
}

.card-description {
   color: var(--text-gray);
   line-height: 1.6;
   margin: 0 0 25px 0;
   font-size: 1rem;
}

.card-actions {
   display: flex;
   gap: 15px;
   margin-bottom: 20px;
}

.btn-tv {
   padding: 12px 24px;
   border-radius: 25px;
   border: 2px solid var(--tv-accent);
   font-weight: 600;
   font-size: 0.9rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   text-decoration: none;
   display: inline-block;
   text-align: center;
   position: relative;
   overflow: hidden;
   font-family: var(--font-tv);
}

.btn-tv::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   transition: left 0.3s ease;
   z-index: -1;
}

.btn-tv.primary {
   background: var(--tv-accent);
   color: var(--text-light);
}

.btn-tv.primary::before {
   background: var(--tv-primary);
}

.btn-tv.primary:hover {
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.6);
}

.btn-tv.primary:hover::before {
   left: 0;
}

.btn-tv.secondary {
   background: transparent;
   color: var(--tv-primary);
   border-color: var(--tv-primary);
}

.btn-tv.secondary::before {
   background: var(--tv-primary);
}

.btn-tv.secondary:hover {
   color: var(--text-light);
}

.btn-tv.secondary:hover::before {
   left: 0;
}

.series-rating {
   display: flex;
   align-items: center;
   gap: 10px;
   padding-top: 15px;
   border-top: 1px solid var(--gray-700);
}

.rating-stars {
   display: flex;
   gap: 2px;
}

.star {
   color: var(--gray-700);
   font-size: 1rem;
   transition: all 0.3s ease;
}

.star.filled {
   color: var(--tv-accent);
   text-shadow: 0 0 10px rgba(0, 168, 204, 0.5);
}

.rating-text {
   color: var(--text-gray);
   font-size: 0.9rem;
   font-weight: 600;
   font-family: var(--font-retro);
}

.card-tv-effect {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   pointer-events: none;
   opacity: 0;
   transition: all 0.5s ease;
}

.timeline-card:hover .card-tv-effect {
   opacity: 1;
}

.scan-lines {
   position: absolute;
   width: 100%;
   height: 100%;
   background: 
       repeating-linear-gradient(
           0deg,
           transparent,
           transparent 2px,
           rgba(0, 255, 65, 0.1) 2px,
           rgba(0, 255, 65, 0.1) 4px
       );
}

.signal-bars {
   position: absolute;
   top: 10px;
   left: 10px;
   width: 30px;
   height: 20px;
   background: 
       linear-gradient(to right, 
           var(--screen-glow) 0%, var(--screen-glow) 25%, transparent 25%, transparent 35%,
           var(--screen-glow) 35%, var(--screen-glow) 60%, transparent 60%, transparent 70%,
           var(--screen-glow) 70%, var(--screen-glow) 95%, transparent 95%
       );
   animation: signalStrength 2s ease-in-out infinite;
}

@keyframes signalStrength {
   0%, 100% { opacity: 0.5; }
   50% { opacity: 1; }
}

/* No Articles */
.no-articles {
   text-align: center;
   padding: 100px 20px;
   color: var(--text-gray);
}

.no-articles-icon {
   font-size: 5rem;
   margin-bottom: 25px;
   opacity: 0.6;
}

.no-articles h3 {
   font-size: 2.2rem;
   color: var(--tv-accent);
   margin: 0 0 15px 0;
   font-family: var(--font-tv);
}

.no-articles p {
   font-size: 1.1rem;
   margin: 0;
   font-style: italic;
}

/* TV Accordion */
.tv-accordion {
   padding: 100px 0;
   background: var(--gray-900);
   position: relative;
}

.tv-accordion::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       repeating-linear-gradient(
           45deg,
           transparent,
           transparent 20px,
           rgba(255, 107, 53, 0.02) 20px,
           rgba(255, 107, 53, 0.02) 40px
       );
   pointer-events: none;
}

.tv-accordion h2 {
   text-align: center;
   font-size: 3rem;
   color: var(--tv-accent);
   margin: 0 0 60px 0;
   text-shadow: 0 0 30px var(--tv-accent);
   text-transform: uppercase;
   letter-spacing: 3px;
   font-family: var(--font-tv);
   position: relative;
   z-index: 2;
}

.accordion-container {
   max-width: 1000px;
   margin: 0 auto;
   position: relative;
   z-index: 2;
}

.accordion-item {
   background: var(--gray-800);
   margin-bottom: 25px;
   border-radius: 15px;
   border: 2px solid var(--tv-primary);
   overflow: hidden;
   transition: all 0.4s ease;
}

.accordion-item:hover {
   border-color: var(--tv-accent);
   box-shadow: 0 0 25px rgba(0, 168, 204, 0.4);
}

.accordion-header {
   width: 100%;
   background: transparent;
   border: none;
   padding: 30px;
   display: flex;
   align-items: center;
   gap: 25px;
   cursor: pointer;
   transition: all 0.3s ease;
   color: var(--text-light);
   font-size: 1.3rem;
   font-weight: 700;
   text-align: left;
   font-family: var(--font-tv);
}

.accordion-header:hover {
   background: rgba(0, 168, 204, 0.1);
}

.accordion-icon {
   font-size: 1.8rem;
   min-width: 35px;
}

.accordion-title {
   flex: 1;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.accordion-arrow {
   transition: transform 0.4s ease;
   color: var(--tv-accent);
   font-weight: bold;
   font-size: 1.2rem;
}

.accordion-item.active .accordion-arrow {
   transform: rotate(180deg);
}

.accordion-content {
   padding: 0 30px 30px 30px;
   display: none;
}

.accordion-item.active .accordion-content {
   display: block;
   animation: tvAccordionOpen 0.4s ease-out;
}

@keyframes tvAccordionOpen {
   from {
       opacity: 0;
       transform: translateY(-15px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.accordion-preview {
   display: flex;
   gap: 25px;
   margin-bottom: 30px;
   align-items: center;
}

.preview-image {
   width: 140px;
   height: 90px;
   object-fit: cover;
   border-radius: 10px;
   border: 2px solid var(--tv-primary);
}

.preview-text h4 {
   color: var(--tv-accent);
   margin: 0 0 10px 0;
   font-size: 1.2rem;
   font-family: var(--font-tv);
}

.preview-text p {
   color: var(--text-gray);
   margin: 0;
   line-height: 1.6;
}

.genres-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
}

.genre-card {
   background: var(--dark-bg);
   padding: 20px;
   border-radius: 10px;
   border: 2px solid var(--tv-primary);
   text-align: center;
   transition: all 0.3s ease;
}

.genre-card:hover {
   border-color: var(--tv-accent);
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.3);
}

.genre-name {
   display: block;
   color: var(--tv-accent);
   font-weight: 700;
   font-size: 1.1rem;
   margin-bottom: 8px;
   font-family: var(--font-tv);
}

.genre-description {
   display: block;
   color: var(--text-gray);
   font-size: 0.9rem;
   font-style: italic;
}

.platforms-showcase {
   display: flex;
   flex-direction: column;
   gap: 25px;
}

.platform-item {
   background: var(--dark-bg);
   padding: 25px;
   border-radius: 10px;
   border: 2px solid var(--tv-primary);
   transition: all 0.3s ease;
}

.platform-item:hover {
   border-color: var(--tv-accent);
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.3);
}

.platform-item h4 {
   color: var(--tv-accent);
   margin: 0 0 10px 0;
   font-size: 1.2rem;
   font-family: var(--font-tv);
}

.platform-item p {
   color: var(--text-gray);
   margin: 0;
   line-height: 1.6;
}

/* Sizing Table */
.sizing-table-container {
   overflow-x: auto;
}

.sizing-table {
   width: 100%;
   border-collapse: collapse;
   background: var(--dark-bg);
   border-radius: 10px;
   overflow: hidden;
   border: 2px solid var(--tv-primary);
}

.sizing-table th,
.sizing-table td {
   padding: 15px;
   text-align: left;
   border-bottom: 1px solid var(--gray-700);
}

.sizing-table th {
   background: var(--tv-primary);
   color: var(--text-light);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-size: 0.9rem;
   font-family: var(--font-tv);
}

.sizing-table td {
   color: var(--text-gray);
}

.sizing-table td:first-child {
   color: var(--tv-accent);
   font-weight: 700;
   font-family: var(--font-tv);
}

.sizing-table tbody tr:hover {
   background: rgba(0, 168, 204, 0.1);
}

/* Care Instructions */
.care-instructions {
   display: flex;
   flex-direction: column;
   gap: 25px;
}

.care-step {
   display: flex;
   align-items: flex-start;
   gap: 25px;
   background: var(--dark-bg);
   padding: 25px;
   border-radius: 10px;
   border: 2px solid var(--tv-primary);
   transition: all 0.3s ease;
}

.care-step:hover {
   border-color: var(--tv-accent);
   box-shadow: 0 0 20px rgba(0, 168, 204, 0.3);
}

.step-number {
   background: var(--tv-accent);
   color: var(--dark-bg);
   width: 35px;
   height: 35px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   font-size: 1rem;
   flex-shrink: 0;
   font-family: var(--font-retro);
   box-shadow: 0 0 15px rgba(0, 168, 204, 0.5);
}

.step-content h4 {
   color: var(--tv-accent);
   margin: 0 0 10px 0;
   font-size: 1.1rem;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-family: var(--font-tv);
}

.step-content p {
   color: var(--text-gray);
   margin: 0;
   line-height: 1.6;
}

/* TV Stats Section */
.tv-stats-section {
   padding: 100px 0;
   background: var(--dark-bg);
   border-top: 3px solid var(--tv-primary);
   position: relative;
}

.tv-stats-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       radial-gradient(circle at 15% 85%, var(--netflix-red) 0%, transparent 50%),
       radial-gradient(circle at 85% 15%, var(--hbo-purple) 0%, transparent 50%);
   opacity: 0.03;
   pointer-events: none;
}

.tv-stats-section h2 {
   text-align: center;
   font-size: 3rem;
   color: var(--tv-accent);
   margin: 0 0 60px 0;
   text-shadow: 0 0 30px var(--tv-accent);
   text-transform: uppercase;
   letter-spacing: 3px;
   font-family: var(--font-tv);
   position: relative;
   z-index: 2;
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
   max-width: 1000px;
   margin: 0 auto;
   position: relative;
   z-index: 2;
}

.stat-card {
   background: var(--gray-900);
   padding: 40px 30px;
   border-radius: 20px;
   text-align: center;
   border: 2px solid var(--tv-primary);
   position: relative;
   overflow: hidden;
   transition: all 0.4s ease;
}

.stat-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 25px 60px rgba(255, 107, 53, 0.4);
   border-color: var(--tv-accent);
}

.stat-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(0, 168, 204, 0.1), transparent);
   transition: left 0.5s ease;
}

.stat-card:hover::before {
   left: 100%;
}

.stat-icon {
   font-size: 3rem;
   margin-bottom: 20px;
   position: relative;
   z-index: 2;
}

.stat-content {
   position: relative;
   z-index: 2;
}

.stat-number {
   font-size: 3rem;
   font-weight: 700;
   color: var(--tv-accent);
   text-shadow: 0 0 15px rgba(0, 168, 204, 0.6);
   display: inline-block;
   font-family: var(--font-retro);
}

.stat-unit {
   font-size: 1.5rem;
   color: var(--tv-primary);
   margin-left: 5px;
   font-family: var(--font-retro);
}

.stat-description {
   color: var(--text-gray);
   margin: 15px 0 0 0;
   font-size: 1.1rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-family: var(--font-tv);
}

/* Responsive Design */
@media (max-width: 768px) {
   .tv-hero {
       height: 50vh;
       min-height: 450px;
   }
   
   .tv-title {
       font-size: 2.5rem;
   }
   
   .tv-stats {
       flex-direction: column;
       gap: 25px;
   }
   
   .tv-remote {
       gap: 15px;
   }
   
   .remote-btn {
       width: 40px;
       height: 40px;
       font-size: 1rem;
   }
   
   .timeline-cable {
       left: 30px;
   }
   
   .timeline-left .timeline-content,
   .timeline-right .timeline-content {
       justify-content: flex-start;
       padding-left: 80px;
       padding-right: 20px;
   }
   
   .timeline-marker {
       left: 30px;
   }
   
   .timeline-card {
       max-width: 100%;
   }
   
   .filters-grid {
       grid-template-columns: 1fr;
   }
   
   .accordion-preview {
       flex-direction: column;
       text-align: center;
   }
   
   .genres-grid {
       grid-template-columns: 1fr;
   }
   
   .platforms-showcase {
       gap: 20px;
   }
   
   .stats-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   .care-step {
       flex-direction: column;
       text-align: center;
   }
   
   .step-number {
       align-self: center;
   }
   
   .marker-inner {
       width: 60px;
       height: 60px;
   }
   
   .marker-glow {
       width: 80px;
       height: 80px;
   }
}

@media (max-width: 480px) {
   .tv-category-main {
       padding-top: 60px;
   }
   
   .tv-hero {
       height: 40vh;
       min-height: 700px;
   }
   
   .tv-title {
       font-size: 2rem;
       letter-spacing: 1px;
   }
   
   .tv-subtitle {
       font-size: 1.1rem;
       letter-spacing: 1px;
   }
   
   .timeline-header h2 {
       font-size: 2rem;
   }
   
   .tv-accordion h2,
   .tv-stats-section h2 {
       font-size: 2rem;
   }
   
   .accordion-header {
       padding: 25px;
       font-size: 1.1rem;
   }
   
   .accordion-content {
       padding: 0 25px 25px 25px;
   }
   
   .stat-card {
       padding: 30px 20px;
   }
   
   .stat-number {
       font-size: 2.5rem;
   }
   
   .timeline-cable {
       left: 25px;
   }
   
   .timeline-marker {
       left: 25px;
   }
   
   .timeline-left .timeline-content,
   .timeline-right .timeline-content {
       padding-left: 65px;
   }
   
   .marker-inner {
       width: 50px;
       height: 50px;
   }
   
   .marker-icon {
       font-size: 1.4rem;
   }
   
   .marker-glow {
       width: 70px;
       height: 70px;
   }
   
   .filter-group {
       padding: 25px;
   }
   
   .filter-label {
       font-size: 1.1rem;
   }
   
   .card-content {
       padding: 25px;
   }
   
   .card-title {
       font-size: 1.2rem;
   }
   
   .btn-tv {
       padding: 10px 20px;
       font-size: 0.8rem;
   }
   
   .genres-grid {
       gap: 15px;
   }
   
   .genre-card {
       padding: 15px;
   }
   
   .platform-item {
       padding: 20px;
   }
   
   .care-step {
       padding: 20px;
   }
   
   .tv-remote {
       gap: 10px;
   }
   
   .remote-btn {
       width: 35px;
       height: 35px;
       font-size: 0.9rem;
   }
   
   .play-btn {
       width: 50px;
       height: 50px;
       font-size: 1.2rem;
   }
}

/* Animations et effets supplémentaires */
.timeline-item.filtered-out {
   opacity: 0.2;
   transform: scale(0.9);
   transition: all 0.4s ease;
}

.wishlist-btn.active {
   background: var(--netflix-red) !important;
   border-color: var(--tv-accent) !important;
   color: var(--text-light) !important;
   box-shadow: 0 0 20px rgba(229, 9, 20, 0.6) !important;
}

/* Loading states */
.loading {
   opacity: 0.5;
   pointer-events: none;
   position: relative;
}

.loading::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 25px;
   height: 25px;
   margin: -12px 0 0 -12px;
   border: 3px solid var(--tv-accent);
   border-right-color: transparent;
   border-radius: 50%;
   animation: tvSpin 0.8s linear infinite;
   z-index: 10;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
   width: 8px;
}

::-webkit-scrollbar-track {
   background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(to bottom, var(--tv-primary), var(--tv-accent));
   border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(to bottom, var(--tv-accent), var(--tv-primary));
}

/* Focus states for accessibility */
.filter-btn:focus,
.btn-tv:focus,
.clear-filters:focus,
.accordion-header:focus,
.remote-btn:focus {
   outline: 3px solid var(--tv-accent);
   outline-offset: 2px;
}

/* Selection colors */
::selection {
   background: var(--tv-accent);
   color: var(--text-light);
}

::-moz-selection {
   background: var(--tv-accent);
   color: var(--text-light);
}

/* Print styles */
@media print {
   .tv-hero,
   .tv-filters,
   .tv-accordion,
   .tv-stats-section {
       break-inside: avoid;
   }
   
   .timeline-card {
       break-inside: avoid;
       margin-bottom: 20px;
   }
   
   .tv-static,
   .neon-signs,
   .streaming-waves,
   .card-tv-effect {
       display: none;
   }
}

/* High contrast mode */
@media (prefers-contrast: high) {
   :root {
       --tv-primary: #ff8c00;
       --tv-secondary: #0066ff;
       --tv-accent: #00ffff;
       --text-light: #ffffff;
       --text-gray: #cccccc;
   }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
   *,
   *::before,
   *::after {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
}

/* Special TV Effects */
.tv-channel-change {
   animation: channelChange 0.5s ease-out;
}

@keyframes channelChange {
   0% { 
       transform: scale(1);
       filter: brightness(1);
   }
   50% { 
       transform: scale(1.05);
       filter: brightness(1.3);
   }
   100% { 
       transform: scale(1);
       filter: brightness(1);
   }
}

.tv-volume-up {
   animation: volumeUp 0.3s ease-out;
}

@keyframes volumeUp {
   0% { transform: scale(1); }
   50% { transform: scale(1.1); }
   100% { transform: scale(1); }
}

.tv-static-effect {
   animation: staticNoise 0.1s linear infinite;
}

@keyframes staticNoise {
   0% { 
       filter: contrast(1) brightness(1);
   }
   25% { 
       filter: contrast(1.2) brightness(1.1);
   }
   50% { 
       filter: contrast(0.8) brightness(0.9);
   }
   75% { 
       filter: contrast(1.1) brightness(1.2);
   }
   100% { 
       filter: contrast(1) brightness(1);
   }
}

/* TV On/Off Effect */
.tv-power-on {
   animation: powerOn 1s ease-out;
}

@keyframes powerOn {
   0% {
       transform: scaleY(0.1);
       opacity: 0;
   }
   50% {
       transform: scaleY(0.5);
       opacity: 0.5;
   }
   100% {
       transform: scaleY(1);
       opacity: 1;
   }
}

.tv-power-off {
   animation: powerOff 0.5s ease-out forwards;
}

@keyframes powerOff {
   0% {
       transform: scaleY(1);
       opacity: 1;
   }
   100% {
       transform: scaleY(0.1);
       opacity: 0;
   }
}

/* Binge Watch Effect */
.binge-watch-alert {
   position: fixed;
   top: 20px;
   right: 20px;
   background: var(--netflix-red);
   color: var(--text-light);
   padding: 15px 20px;
   border-radius: 10px;
   font-family: var(--font-tv);
   font-weight: 600;
   z-index: 9999;
   box-shadow: 0 5px 20px rgba(229, 9, 20, 0.5);
   animation: bingeAlert 0.5s ease-out;
}

@keyframes bingeAlert {
   0% {
       transform: translateX(100%);
       opacity: 0;
   }
   100% {
       transform: translateX(0);
       opacity: 1;
   }
}

/* Streaming Buffer Effect */
.streaming-buffer {
   position: relative;
}

.streaming-buffer::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 40px;
   height: 40px;
   margin: -20px 0 0 -20px;
   border: 3px solid var(--tv-accent);
   border-radius: 50%;
   border-top-color: transparent;
   animation: streamingBuffer 1s linear infinite;
}

@keyframes streamingBuffer {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}

/* Netflix-style hover effect */
.netflix-hover {
   transition: all 0.3s ease;
}

.netflix-hover:hover {
   transform: scale(1.05);
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
   z-index: 10;
}

/* Platform-specific colors */
.platform-netflix {
   border-color: var(--netflix-red) !important;
}

.platform-hbo {
   border-color: var(--hbo-purple) !important;
}

.platform-disney {
   border-color: var(--disney-blue) !important;
}

.platform-amazon {
   border-color: var(--amazon-orange) !important;
}
