* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #141414;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e50914;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e50914;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero {
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #e50914;
    color: #fff;
}

.btn-primary:hover {
    background: #f40612;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-hero {
    background: #e50914;
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23222" width="1200" height="800"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #ddd;
}

/* Features */
.features {
    padding: 80px 0;
    background: #000;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: #aaa;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px;
}

.auth-box {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #e50914;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #aaa;
}

.auth-link a {
    color: #e50914;
    text-decoration: none;
}

/* Catalog Hero Section */
.catalog-hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-top: 60px;
    padding: 60px 40px;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.7) 40%, transparent 100%);
}

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.9);
    line-height: 1.1;
}

.hero-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 18px;
}

.hero-meta span {
    background: rgba(0,0,0,0.8);
    padding: 8px 16px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-play, .btn-info {
    padding: 18px 45px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play {
    background: #fff;
    color: #000;
}

.btn-play:hover {
    background: rgba(255,255,255,0.85);
    transform: scale(1.05);
}

.btn-info {
    background: rgba(109,109,110,0.7);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-info:hover {
    background: rgba(109,109,110,0.9);
}

.premium-badge {
    background: #e50914 !important;
    font-weight: bold;
}

/* Catalog Header */
.catalog-header {
    padding: 30px 0 20px;
    background: #0a0a0a;
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid #222;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Content Row (horizontal scroll) */
.content-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 4px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #555 #1a1a1a;
}

.content-row::-webkit-scrollbar {
    height: 10px;
}

.content-row::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 5px;
}

.content-row::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.content-row::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.content-row .content-card {
    min-width: 220px;
    flex-shrink: 0;
}

/* Content Cards */
.content-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
}

.content-card:hover {
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.6);
}

.content-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
}

.content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    padding: 25px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover .content-overlay {
    opacity: 1;
}

.content-info h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.content-meta {
    display: flex;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.content-meta span {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.rating {
    color: #ffd700;
    font-weight: bold;
}

.content-desc {
    font-size: 13px;
    color: #ddd;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.type-badge {
    font-size: 12px;
}

/* Top 10 Grid */
.top10-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.top10-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #1a1a1a;
    aspect-ratio: 2/3;
}

.top10-card:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.6);
}

.top10-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.7);
}

.top10-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top10-info {
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.top10-card:hover .top10-info {
    opacity: 1;
}

.top10-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: bold;
}

.top10-info .content-meta {
    font-size: 12px;
}

/* Lock Badge */
.lock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(229, 9, 20, 0.95);
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.content-card.locked {
    opacity: 0.85;
}

.content-card.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    pointer-events: none;
}

/* Subscription */
.subscription-container {
    padding: 120px 20px 60px;
}

.subscription-container h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 50px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.plan-card.featured {
    border: 2px solid #e50914;
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e50914;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: #e50914;
}

.period {
    color: #aaa;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.subscription-info {
    margin-top: 60px;
}

.subscription-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.faq-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.faq-item h3 {
    margin-bottom: 10px;
}

.faq-item p {
    color: #aaa;
}

/* Profile */
.profile-container {
    padding: 120px 20px 60px;
    text-align: center;
}

.profile-container h1 {
    font-size: 36px;
    margin-bottom: 40px;
}

.profiles-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.profile-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: scale(1.1);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 10px;
}

.add-profile .profile-avatar {
    border: 2px dashed #555;
}

.profile-settings {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.profile-settings h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.settings-list {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
}

.setting-item {
    margin-bottom: 30px;
}

.setting-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.setting-item input[type="text"] {
    width: 100%;
    padding: 10px;
    background: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
}

.avatar-selector {
    display: flex;
    gap: 15px;
}

.avatar-option {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.avatar-option:hover {
    transform: scale(1.1);
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #e50914;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Player */
.player-page {
    background: #000;
}

.player-container {
    padding-top: 60px;
}

.player-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Video Player amélioré */
.video-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 80vh;
    border: none;
    display: block;
}

/* Cacher les logos et watermarks des services de streaming */
.video-wrapper iframe {
    pointer-events: auto;
}

/* Améliorer l'affichage du lecteur */
#videoPlayer {
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: #000;
}

.player-container {
    background: #000;
}

/* Masquer les éléments indésirables dans l'iframe */
.video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.player-info {
    padding: 40px 0;
}

.player-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.player-info p {
    color: #aaa;
    margin-bottom: 20px;
}

.player-actions {
    display: flex;
    gap: 15px;
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    color: #aaa;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Publicité overlay */
.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ad-content {
    text-align: center;
    padding: 40px;
}

.ad-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.ad-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

#adTimer {
    color: #e50914;
    font-weight: bold;
    font-size: 24px;
}

.ad-banner {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.ad-banner p {
    margin-bottom: 15px;
}

/* Badge Premium sur les contenus */
.content-card {
    position: relative;
}

.content-card.locked {
    opacity: 0.7;
}

.lock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(229, 9, 20, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.series-badge, .movie-badge {
    display: inline-block;
    background: #333;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
}

/* Message Premium */
.premium-message {
    background: #1a1a1a;
    border: 2px solid #e50914;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.premium-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.premium-message p {
    margin-bottom: 20px;
}

/* Badge d'abonnement dans le catalogue */
.subscription-badge {
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

.subscription-badge a {
    color: #e50914;
    text-decoration: none;
    font-weight: bold;
}

.subscription-badge a:hover {
    text-decoration: underline;
}

/* Catalog Filters Update */
.catalog-header .filters {
    display: flex;
    gap: 15px;
}

.catalog-header .filters select,
.catalog-header .filters input {
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.catalog-header .filters input {
    flex: 1;
}

.catalog-header .filters select:focus,
.catalog-header .filters input:focus {
    outline: none;
    border-color: #e50914;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-play, .btn-info {
        width: 100%;
    }
    
    .top10-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .content-row .content-card {
        min-width: 150px;
    }
    
    .catalog-header .filters {
        flex-direction: column;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #e50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader p {
    margin-top: 20px;
    font-size: 18px;
    color: #fff;
}

/* Sélecteur d'épisodes */
.episode-selector {
    margin-top: 40px;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
}

.episode-selector h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.episode-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.episode-item:hover {
    background: #333;
    transform: translateX(5px);
}

.episode-item.active {
    border: 2px solid #e50914;
    background: #333;
}

.episode-item.locked {
    opacity: 0.6;
}

.episode-item.locked:hover {
    background: #2a2a2a;
    transform: none;
}

.episode-number {
    width: 40px;
    height: 40px;
    background: #e50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.episode-item.locked .episode-number {
    background: #555;
}

.episode-info {
    flex: 1;
}

.episode-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.episode-info p {
    font-size: 14px;
    color: #aaa;
}

.free-badge {
    background: #00a651;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Plans grid update */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal de détails du contenu */
.content-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-modal.active {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 5vh auto;
    background: #141414;
    border-radius: 12px;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #e50914;
    transform: rotate(90deg);
}

.modal-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border-radius: 12px 12px 0 0;
}

.modal-hero-content {
    width: 100%;
}

.modal-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.modal-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
}

.modal-meta span {
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 12px;
    border-radius: 4px;
}

.premium-tag {
    background: #e50914 !important;
}

.modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-play-modal {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-play-modal:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.btn-icon {
    width: 45px;
    height: 45px;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: scale(1.1);
}

.modal-details {
    padding: 40px;
}

.modal-description {
    margin-bottom: 30px;
}

.modal-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.modal-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

.modal-episodes {
    margin-bottom: 30px;
}

.modal-episodes h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.episodes-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.episode-preview {
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.episode-preview:hover {
    transform: scale(1.05);
    background: #333;
}

.episode-preview.locked {
    opacity: 0.6;
}

.episode-thumb {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-play, .episode-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
}

.episode-preview:hover .episode-play,
.episode-preview:hover .episode-lock {
    opacity: 1;
}

.episode-free {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00a651;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.episode-preview-info {
    padding: 15px;
}

.episode-preview-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.episode-preview-info p {
    font-size: 14px;
    color: #aaa;
}

.episodes-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(229, 9, 20, 0.1);
    border-left: 4px solid #e50914;
    border-radius: 4px;
    color: #ddd;
}

.modal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 14px;
    color: #888;
    font-weight: bold;
}

.info-value {
    font-size: 16px;
    color: #fff;
}

.modal-premium-banner {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.modal-premium-banner h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.modal-premium-banner p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.modal-premium-banner .btn-primary {
    background: #fff;
    color: #e50914;
    font-weight: bold;
}

.modal-premium-banner .btn-primary:hover {
    background: #f0f0f0;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }
    
    .modal-hero {
        height: 300px;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 32px;
    }
    
    .modal-details {
        padding: 20px;
    }
    
    .episodes-preview {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-wrap: wrap;
    }
}

/* Scrollbar pour la modal */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Hero Slider amélioré */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1.2s ease;
}

.btn-hero-secondary {
    background: rgba(109,109,110,0.7);
    color: #fff;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(109,109,110,0.9);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #e50914;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

/* Features section update */
.features {
    background: linear-gradient(180deg, #000 0%, #141414 100%);
}

.features .subtitle {
    text-align: center;
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Top 10 Section Home */
.top10-section {
    padding: 60px 0;
    background: #0a0a0a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: bold;
}

.voir-plus {
    color: #e50914;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.voir-plus:hover {
    color: #fff;
}

.top10-home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.top10-home-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #1a1a1a;
    aspect-ratio: 2/3;
}

.top10-home-card:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5);
}

.top10-home-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45px;
    height: 45px;
    background: rgba(229, 9, 20, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.top10-home-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top10-home-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.top10-home-card:hover .top10-home-overlay {
    opacity: 1;
}

.top10-home-overlay h3 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.movie-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #aaa;
}

.movie-meta span {
    background: rgba(255,255,255,0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Sections de contenu */
.nouveautes-section,
.trending-section,
.action-section {
    padding: 60px 0;
    background: #141414;
}

.trending-section {
    background: #0a0a0a;
}

.content-row-home {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.content-row-home::-webkit-scrollbar {
    height: 8px;
}

.content-row-home::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.content-row-home::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.content-row-home::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.content-card-home {
    min-width: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #1a1a1a;
    position: relative;
}

.content-card-home:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5);
}

.content-card-home img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.content-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card-home:hover .content-card-overlay {
    opacity: 1;
}

.content-card-overlay h4 {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

.content-card-overlay p {
    font-size: 12px;
    color: #aaa;
}

/* Franchises Section */
.franchises-section {
    padding: 60px 0;
    background: #000;
}

.franchises-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.franchise-card {
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.franchise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.franchise-card:hover::before {
    opacity: 1;
}

.franchise-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.6);
}

.franchise-logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
    letter-spacing: 2px;
}

.franchise-card.marvel {
    background: linear-gradient(135deg, #ed1d24 0%, #b71c1c 100%);
}

.franchise-card.dc {
    background: linear-gradient(135deg, #0476F2 0%, #0353a4 100%);
}

.franchise-card.netflix {
    background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
}

.franchise-card.prime {
    background: linear-gradient(135deg, #00A8E1 0%, #0073bb 100%);
}

.franchise-card.prime .franchise-logo {
    font-size: 22px;
    text-transform: lowercase;
}

.franchise-card.starwars {
    background: #000;
    border: 3px solid #FFE81F;
}

.franchise-card.starwars .franchise-logo {
    color: #FFE81F;
}

/* Responsive */
@media (max-width: 1200px) {
    .top10-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .franchises-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top10-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .franchises-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-card-home {
        min-width: 150px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero, .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
    
    .top10-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .franchises-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Sélecteur de source vidéo - Version discrète */
.source-selector {
    background: rgba(20, 20, 20, 0.95);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-selector select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.source-selector select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #e50914;
}

.source-selector select:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.source-selector select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.source-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Amélioration du lecteur vidéo */
#videoIframe {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}


/* Bannières publicitaires */
.ad-banner-container {
    background: rgba(20, 20, 20, 0.95);
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-banner-demo {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.ad-banner-demo p {
    margin: 5px 0;
}

/* Bouton skip ad */
.btn-skip-ad {
    margin-top: 15px;
    padding: 10px 20px;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-skip-ad:hover {
    background: #f40612;
    transform: scale(1.05);
}


/* Messages d'authentification */
.auth-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.auth-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.auth-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

.btn-link {
    background: none;
    border: none;
    color: #e50914;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    padding: 10px 0;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-link:hover {
    color: #f40612;
}


/* Bouton de langue */
.btn-language {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #e50914;
}

/* Page de profil */
.profile-container {
    max-width: 900px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.profile-container h1 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.profile-header {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.profile-photo-section {
    flex-shrink: 0;
}

.profile-photo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e50914;
    box-shadow: 0 8px 32px rgba(229, 9, 20, 0.4);
    transition: all 0.3s ease;
}

.profile-photo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(229, 9, 20, 0.6);
}

.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo-wrapper:hover .profile-photo-overlay {
    opacity: 1;
}

.photo-upload-btn {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: block;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    margin: 0 0 15px 0;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-info p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.subscription-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.settings-list {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item {
    margin-bottom: 30px;
}

.setting-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-item input[type="text"],
.setting-item input[type="email"] {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.setting-item input[type="text"]:focus,
.setting-item input[type="email"]:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.setting-item input[type="email"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.subscription-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-info p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.profile-actions button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.profile-actions .btn-primary {
    background: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
}

.profile-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(229, 9, 20, 0.6);
}

.profile-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.language-select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-select:hover {
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.08);
}

.language-select:focus {
    outline: none;
    border-color: #e50914;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.language-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-container h1 {
        font-size: 32px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }
    
    .profile-photo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .profile-info h2 {
        font-size: 32px;
    }
    
    .settings-list {
        padding: 25px 20px;
    }
    
    .profile-actions {
        grid-template-columns: 1fr;
    }
    
    .subscription-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Page de paiement (Checkout) */
.checkout-container {
    min-height: 100vh;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.checkout-content {
    max-width: 1400px;
    margin: 0 auto;
}

.checkout-step {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-header {
    text-align: center;
    margin-bottom: 50px;
}

.checkout-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.checkout-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* Récapitulatif de commande */
.order-summary {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
}

.plan-details {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(229, 9, 20, 0.05) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid rgba(229, 9, 20, 0.3);
}

.plan-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.plan-info {
    flex: 1;
}

.plan-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #fff;
}

.plan-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.plan-price-display {
    font-size: 32px;
    font-weight: bold;
    color: #e50914;
}

.features-list {
    margin-bottom: 30px;
}

.features-list h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list li:last-child {
    border-bottom: none;
}

.price-breakdown {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.price-row.total {
    border-top: 2px solid rgba(229, 9, 20, 0.5);
    margin-top: 10px;
    padding-top: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.price-row.total span:last-child {
    color: #e50914;
}

.billing-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 4px solid #e50914;
}

.billing-info p {
    margin: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Méthodes de paiement */
.payment-methods {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-methods h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(229, 9, 20, 0.5);
}

.payment-option.selected {
    background: rgba(229, 9, 20, 0.1);
    border-color: #e50914;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #e50914;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1;
}

.payment-icon {
    font-size: 28px;
}

.payment-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.payment-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
    padding-left: 35px;
}

.payment-logos img {
    height: 20px;
    opacity: 0.8;
}

/* Formulaires de paiement */
.payment-form {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-form h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e50914;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.crypto-selector {
    margin-bottom: 25px;
}

.crypto-selector label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.crypto-selector select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.btn-pay {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(229, 9, 20, 0.6);
}

.btn-pay:active {
    transform: translateY(0);
}

.security-badges {
    text-align: center;
    padding: 20px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.security-badges p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Traitement du paiement */
.processing-payment {
    text-align: center;
    padding: 100px 20px;
}

.spinner-large {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid #e50914;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

.processing-payment h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.processing-payment p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* Confirmation de paiement */
.payment-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.payment-success h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
}

.payment-success > p {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.success-details {
    background: rgba(229, 9, 20, 0.1);
    border: 2px solid rgba(229, 9, 20, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.success-details h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.success-details ul {
    list-style: none;
    padding: 0;
}

.success-details li {
    padding: 12px 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.success-actions a {
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #e50914 0%, #f40612 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}

.success-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(229, 9, 20, 0.6);
}

.success-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.success-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Checkout */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-header h1 {
        font-size: 32px;
    }
    
    .checkout-subtitle {
        font-size: 16px;
    }
    
    .order-summary,
    .payment-methods {
        padding: 25px 20px;
    }
    
    .plan-details {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions a {
        width: 100%;
    }
    
    .payment-success h1 {
        font-size: 32px;
    }
    
    .success-icon {
        font-size: 80px;
    }
}
