
        :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #12121a;
            --bg-tertiary: #1a1a25;
            --bg-card: #161620;
            --bg-card-hover: #1e1e2e;
            --accent-primary: #e50914;
            --accent-secondary: #ff6b35;
            --accent-gradient: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
            --accent-gradient-hover: linear-gradient(135deg, #ff1a25 0%, #ff7d4a 100%);
            --text-primary: #ffffff;
            --text-secondary: #b0b0c0;
            --text-muted: #6b6b7b;
            --border-color: #252535;
            --border-light: #2a2a3a;
            --success: #00c853;
            --warning: #ffd600;
            --glass: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.08);
            --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 40px rgba(229, 9, 20, 0.15);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            overflow-x: clip;
            max-width: 100%;
        }

        body {
            font-family: 'Inter', 'Noto Sans SC', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: clip;
            max-width: 100%;
            line-height: 1.6;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-primary);
        }

        /* ========== ANIMATIONS ========== */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(50px); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        @keyframes glow {
            0%, 100% { box-shadow: 0 0 20px rgba(229, 9, 20, 0.2); }
            50% { box-shadow: 0 0 40px rgba(229, 9, 20, 0.4); }
        }
        @keyframes modalIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes overlayIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease-out forwards;
        }
        .animate-fade-in {
            animation: fadeIn 0.4s ease-out forwards;
        }
        .animate-scale-in {
            animation: scaleIn 0.4s ease-out forwards;
        }

        /* ========== NAVBAR ========== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 0 4%;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: transparent;
            transition: all 0.4s ease;
        }
        .navbar.scrolled {
            background: rgba(10, 10, 15, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-primary);
        }
        .logo-img {
            height: 38px;
            width: auto;
            max-width: 160px;
            object-fit: contain;
            display: block;
        }
        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--accent-gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            color: white;
            box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
        }
        .logo-text {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }
        .logo-text span {
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
            list-style: none;
        }
        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        .nav-links a:hover, .nav-links a.active {
            color: var(--text-primary);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--accent-gradient);
            border-radius: 2px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-box {
            position: relative;
            display: flex;
            align-items: center;
        }
        .search-box input {
            width: 280px;
            max-width: 32vw;
            padding: 10px 40px 10px 16px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 25px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            outline: none;
            transition: all 0.3s;
        }
        .search-box input:focus {
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
        }
        .search-box input::placeholder {
            color: var(--text-muted);
        }
        .search-box i {
            position: absolute;
            right: 14px;
            color: var(--text-muted);
            font-size: 14px;
        }

        .nav-btn {
            padding: 10px 24px;
            border: none;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
        }
        .nav-btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        .nav-btn-outline:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }
        .nav-btn-primary {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
        }
        .nav-btn-primary:hover {
            background: var(--accent-gradient-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
        }

        .user-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-weight: 700;
            font-size: 14px;
            border: 2px solid transparent;
            transition: all 0.3s;
        }
        .user-avatar:hover {
            border-color: var(--accent-primary);
        }

        /* ========== HERO SECTION ========== */
        .hero {
            position: relative;
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            align-items: center;
            padding-top: 70px;
            padding-bottom: 60px;
            box-sizing: border-box;
            overflow: hidden;
        }
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, #1a0a0f 0%, #0a0a0f 50%, #0f0a1a 100%);
            background-size: cover;
            background-position: center center;
            transition: opacity 0.7s ease;
        }
        .hero-bg.is-fading {
            opacity: 0.35;
        }
        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?w=1920&q=80') center/cover;
            opacity: 0.15;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 50%, var(--bg-primary) 100%);
        }
        .hero-particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
        }
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--accent-primary);
            border-radius: 50%;
            opacity: 0.3;
            animation: float 6s ease-in-out infinite;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            padding: 0 4%;
            animation: fadeInUp 1s ease-out;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(229, 9, 20, 0.15);
            border: 1px solid rgba(229, 9, 20, 0.3);
            border-radius: 25px;
            font-size: 13px;
            font-weight: 600;
            color: var(--accent-primary);
            margin-bottom: 24px;
            animation: glow 3s ease-in-out infinite;
        }
        .hero-badge i {
            font-size: 12px;
        }
        .hero-title {
            font-size: 64px;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 20px;
            letter-spacing: -2px;
        }
        .hero-title .gradient-text {
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-desc {
            font-size: 18px;
            color: var(--text-secondary);
            margin-bottom: 32px;
            max-width: 500px;
            line-height: 1.7;
        }
        .hero-buttons {
            display: flex;
            gap: 16px;
            margin-bottom: 40px;
        }
        .hero-btn {
            padding: 16px 36px;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .hero-btn-play {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
        }
        .hero-btn-play:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(229, 9, 20, 0.5);
        }
        .hero-btn-info {
            background: var(--glass);
            backdrop-filter: blur(10px);
            color: var(--text-primary);
            border: 1px solid var(--glass-border);
        }
        .hero-btn-info:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.2);
        }

        .hero-stats {
            display: flex;
            gap: 40px;
        }
        .hero-stat {
            display: flex;
            flex-direction: column;
        }
        .hero-stat-value {
            font-size: 28px;
            font-weight: 800;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-stat-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .hero-vertical-preview {
            position: absolute;
            right: 5%;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            gap: 20px;
            z-index: 2;
            animation: slideInRight 1.2s ease-out;
        }
        .vertical-card {
            width: 180px;
            height: 320px;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: all 0.4s ease;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .vertical-card:nth-child(1) { transform: rotate(-5deg) translateY(-30px); }
        .vertical-card:nth-child(2) { transform: rotate(0deg); z-index: 2; }
        .vertical-card:nth-child(3) { transform: rotate(5deg) translateY(30px); }
        .vertical-card.active {
            box-shadow: 0 24px 70px rgba(229, 9, 20, 0.35);
            outline: 2px solid rgba(229, 9, 20, 0.55);
            outline-offset: 2px;
        }
        .vertical-card.active:nth-child(2) {
            transform: rotate(0deg) scale(1.03);
        }
        .vertical-card:hover {
            transform: rotate(0deg) scale(1.05) translateY(-10px) !important;
            z-index: 10;
            box-shadow: 0 30px 80px rgba(229, 9, 20, 0.2);
        }
        .vertical-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .vertical-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
        }
        .vertical-card-title {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .vertical-card-ep {
            font-size: 12px;
            color: var(--text-muted);
        }
        .vertical-card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 10px;
            background: var(--accent-gradient);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
        }

        /* ========== MARQUEE TAGS ========== */
        .marquee-section {
            padding: 30px 0;
            overflow: hidden;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            background: var(--bg-secondary);
        }
        .marquee-track {
            display: flex;
            animation: marquee 30s linear infinite;
            width: max-content;
        }
        .marquee-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 24px;
            margin: 0 10px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 30px;
            white-space: nowrap;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.3s;
            cursor: pointer;
        }
        .marquee-item:hover {
            border-color: var(--accent-primary);
            color: var(--text-primary);
            background: rgba(229, 9, 20, 0.1);
        }
        .marquee-item i {
            color: var(--accent-primary);
        }

        /* ========== SECTION STYLES ========== */
        .section {
            padding: 60px 4%;
        }
        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        .section-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 24px;
            font-weight: 800;
        }
        .section-title i {
            color: var(--accent-primary);
            font-size: 20px;
        }
        .section-more {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }
        .section-more:hover {
            color: var(--accent-primary);
            gap: 12px;
        }

        /* ========== DRAMA CARDS ========== */
        .drama-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
            gap: 24px;
        }
        .drama-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
        }
        .drama-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent-primary);
            box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--shadow-glow);
        }
        .drama-card-poster {
            position: relative;
            aspect-ratio: 9/16;
            overflow: hidden;
        }
        .drama-card-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .drama-card:hover .drama-card-poster img {
            transform: scale(1.08);
        }
        .drama-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent 40%, rgba(0,0,0,0.9) 100%);
            opacity: 0;
            transition: opacity 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .drama-card:hover .drama-card-overlay {
            opacity: 1;
        }
        .play-btn {
            width: 60px;
            height: 60px;
            background: var(--accent-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
            transform: scale(0.8);
            transition: all 0.3s;
        }
        .drama-card:hover .play-btn {
            transform: scale(1);
        }
        .drama-card-badges {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            aspect-ratio: 9 / 16;
            z-index: 4;
            pointer-events: none;
        }
        .drama-badge {
            position: absolute;
            padding: 3px 7px;
            border-radius: 4px;
            font-size: 9px;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            white-space: nowrap;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
        }
        /* Köşe yerleşimi — kart kenarına bitişik, görünür alanda */
        .drama-card-badges .drama-badge:nth-child(1) {
            top: 10px;
            left: 0;
            border-radius: 0 5px 5px 0;
            padding-left: 6px;
        }
        .drama-card-badges .drama-badge:nth-child(2) {
            top: 10px;
            right: 0;
            border-radius: 5px 0 0 5px;
            padding-right: 6px;
        }
        .drama-card-badges .drama-badge:nth-child(3) {
            bottom: 10px;
            left: 0;
            border-radius: 0 5px 5px 0;
            padding-left: 6px;
        }
        .badge-new {
            background: rgba(229, 9, 20, 0.92);
            color: white;
        }
        .badge-hot {
            background: rgba(255, 107, 53, 0.92);
            color: white;
        }
        .badge-complete {
            background: rgba(0, 168, 68, 0.92);
            color: white;
        }
        .badge-dub {
            background: rgba(229, 9, 20, 0.92);
            color: white;
        }
        .badge-sub {
            background: rgba(0, 140, 120, 0.92);
            color: white;
        }
        .drama-card-badges .drama-badge:nth-child(4) {
            bottom: 10px;
            right: 0;
            border-radius: 5px 0 0 5px;
            padding-right: 6px;
        }
        .drama-card-info {
            padding: 16px;
        }
        .drama-card-title {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .drama-card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .drama-card-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .drama-card-meta i {
            font-size: 11px;
        }
        .rating-stars {
            color: var(--warning);
        }

        /* ========== TRENDING SECTION ========== */
        .trending-section {
            background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
        }
        .trending-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .trending-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 16px 20px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .trending-item:hover {
            border-color: var(--accent-primary);
            background: var(--bg-card-hover);
            transform: translateX(5px);
        }
        .trending-rank {
            font-size: 32px;
            font-weight: 900;
            color: var(--text-muted);
            width: 40px;
            text-align: center;
            font-style: italic;
        }
        .trending-item:nth-child(1) .trending-rank { color: #ffd700; }
        .trending-item:nth-child(2) .trending-rank { color: #c0c0c0; }
        .trending-item:nth-child(3) .trending-rank { color: #cd7f32; }
        .trending-thumb {
            width: 80px;
            height: 120px;
            border-radius: 10px;
            overflow: hidden;
            flex-shrink: 0;
        }
        .trending-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .trending-info {
            flex: 1;
            min-width: 0;
        }
        .trending-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 6px;
        }
        .trending-desc {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .trending-tags {
            display: flex;
            gap: 8px;
        }
        .trending-tag {
            padding: 3px 10px;
            background: rgba(255,255,255,0.05);
            border-radius: 20px;
            font-size: 11px;
            color: var(--text-muted);
        }
        .trending-stats {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
        }
        .trending-views {
            font-size: 14px;
            font-weight: 700;
            color: var(--accent-secondary);
        }
        .trending-episodes {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* ========== CATEGORIES ========== */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
            gap: 20px;
        }
        .category-card {
            position: relative;
            height: 160px;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s;
        }
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-glow);
        }
        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .category-card:hover img {
            transform: scale(1.1);
        }
        .category-card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(229, 9, 20, 0.7) 0%, rgba(10, 10, 15, 0.9) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 24px;
        }
        .category-card-title {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 4px;
        }
        .category-card-count {
            font-size: 13px;
            color: rgba(255,255,255,0.7);
        }
        .category-card-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 32px;
            opacity: 0.3;
        }

        /* ========== FEATURED HORIZONTAL CAROUSEL ========== */
        .featured-carousel {
            position: relative;
            overflow: hidden;
            max-width: 100%;
            isolation: isolate;
        }
        .featured-track {
            display: flex;
            gap: 24px;
            transition: transform 0.5s ease;
            will-change: transform;
        }
        .featured-slide {
            min-width: calc(50% - 12px);
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 16/9;
            cursor: pointer;
            flex-shrink: 0;
        }
        .featured-slide-poster {
            position: absolute;
            inset: 0;
        }
        .featured-slide-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .featured-slide-poster-img {
            display: none;
        }
        .featured-slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent 30%, rgba(0,0,0,0.95) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 30px;
            pointer-events: none;
        }
        .featured-slide-body {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2;
            padding: 0 30px 30px;
            pointer-events: none;
        }
        .featured-slide-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: var(--accent-gradient);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            position: absolute;
            top: 16px;
            left: 16px;
            z-index: 2;
        }
        .featured-slide-title {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .featured-slide-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 14px;
            color: var(--text-secondary);
        }
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-primary);
            font-size: 18px;
            transition: all 0.3s;
            z-index: 10;
        }
        .carousel-nav:hover {
            background: var(--accent-primary);
            border-color: var(--accent-primary);
        }
        .carousel-prev { left: 20px; }
        .carousel-next { right: 20px; }

        /* ========== PLAYER MODAL ========== */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.9);
            backdrop-filter: blur(10px);
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: overlayIn 0.3s ease-out;
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-content {
            background: var(--bg-secondary);
            border-radius: 24px;
            border: 1px solid var(--border-color);
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalIn 0.4s ease-out;
            position: relative;
        }
        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 50%;
            color: var(--text-primary);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }
        .modal-close:hover {
            background: var(--accent-primary);
        }

        /* Player Modal - ana stiller assets/css/player.css dosyasında */
        .player-info {
            padding: 24px;
        }
        .player-drama-title {
            font-size: 20px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .player-episode-info {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 16px;
        }
        .player-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }
        .player-action-btn {
            flex: 1;
            padding: 12px;
            border: 1px solid var(--border-color);
            background: var(--bg-tertiary);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-family: inherit;
        }
        .player-action-btn:hover {
            border-color: var(--accent-primary);
            background: rgba(229, 9, 20, 0.1);
        }
        .player-action-btn.active {
            background: var(--accent-gradient);
            border-color: transparent;
        }
        .episode-list {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 8px;
            max-height: 200px;
            overflow-y: auto;
            padding-right: 4px;
        }
        .episode-btn {
            padding: 10px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
        }
        .episode-btn:hover {
            border-color: var(--accent-primary);
            background: rgba(229, 9, 20, 0.1);
        }
        .episode-btn.active {
            background: var(--accent-gradient);
            border-color: transparent;
        }
        .episode-btn.watched {
            border-color: var(--success);
            color: var(--success);
        }

        /* ========== AUTH MODALS ========== */
        .auth-modal-content {
            padding: 40px;
            text-align: center;
        }
        .auth-logo {
            margin-bottom: 24px;
        }
        .auth-logo .logo {
            justify-content: center;
        }
        .auth-logo .logo-img {
            height: 44px;
            max-width: 200px;
            margin: 0 auto 10px;
        }
        .auth-logo .logo-icon {
            width: 50px;
            height: 50px;
            font-size: 22px;
            margin: 0 auto 10px;
        }
        .auth-logo .logo-text {
            font-size: 28px;
        }
        .auth-title {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .auth-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 28px;
        }
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
            text-align: left;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .form-group label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
        }
        .form-group input {
            padding: 14px 16px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            outline: none;
            transition: all 0.3s;
        }
        .form-group input:focus {
            border-color: var(--accent-primary);
            box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
        }
        .form-group input::placeholder {
            color: var(--text-muted);
        }
        .auth-submit {
            padding: 14px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
            margin-top: 8px;
        }
        .auth-submit:hover:not(:disabled) {
            background: var(--accent-gradient-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
        }
        .auth-submit:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        .auth-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            margin: 20px 0;
            color: var(--text-muted);
            font-size: 13px;
        }
        .auth-divider::before, .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border-color);
        }
        .social-login {
            display: flex;
            gap: 12px;
        }
        .social-btn {
            flex: 1;
            padding: 12px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .social-btn:hover {
            border-color: var(--accent-primary);
            background: rgba(229, 9, 20, 0.1);
        }
        .auth-footer {
            margin-top: 24px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .auth-footer a {
            color: var(--accent-primary);
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
        }
        .auth-footer a:hover {
            text-decoration: underline;
        }
        .auth-forgot-wrap {
            margin: -4px 0 12px;
            text-align: right;
        }
        .auth-forgot-wrap a {
            color: var(--text-muted);
            font-size: 13px;
            text-decoration: none;
        }
        .auth-forgot-wrap a:hover {
            color: var(--accent-primary);
            text-decoration: underline;
        }
        .auth-page-wrap {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: var(--bg-primary);
        }
        .auth-page-card {
            width: 100%;
            max-width: 420px;
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px 28px;
            text-align: center;
        }
        .auth-submit-link {
            display: inline-block;
            text-decoration: none;
            line-height: 1.2;
        }
        .reset-password-page .auth-title {
            font-size: 24px;
            margin-bottom: 8px;
        }

        /* ========== DETAIL MODAL ========== */
        .detail-modal-content {
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
        }
        .detail-hero {
            position: relative;
            height: 350px;
            overflow: hidden;
        }
        .detail-hero img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .detail-hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent 20%, var(--bg-secondary) 100%);
        }
        .detail-hero-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px;
        }
        .detail-poster {
            width: 140px;
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            border: 3px solid var(--bg-secondary);
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            float: left;
            margin-right: 24px;
            margin-bottom: 20px;
        }
        .detail-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .detail-title-section {
            overflow: hidden;
        }
        .detail-title {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 8px;
        }
        .detail-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 12px;
            font-size: 14px;
            color: var(--text-secondary);
            flex-wrap: wrap;
        }
        .detail-meta span {
            display: flex;
            align-items: center;
            gap: 4px;
            color: var(--text-primary);
        }
        .detail-meta span i {
            color: var(--accent-primary);
        }
        .detail-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }
        .detail-rating-score {
            font-size: 28px;
            font-weight: 800;
            color: var(--warning);
        }
        .detail-rating-stars {
            color: var(--warning);
            font-size: 14px;
        }
        .detail-rating-count {
            font-size: 13px;
            color: var(--text-muted);
        }
        .detail-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }
        .detail-action-btn {
            padding: 12px 28px;
            border: none;
            border-radius: 12px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .detail-action-primary {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
        }
        .detail-action-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
        }
        .detail-action-secondary {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        .detail-action-secondary:hover {
            border-color: var(--accent-primary);
        }
        .detail-body {
            padding: 0 40px 40px;
        }
        .detail-section {
            margin-bottom: 28px;
        }
        .detail-section-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .detail-section-title i {
            color: var(--accent-primary);
        }
        .detail-desc {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.8;
        }
        .detail-read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 14px;
            padding: 10px 16px;
            border-radius: 999px;
            border: 1px solid rgba(229, 9, 20, 0.35);
            background: rgba(229, 9, 20, 0.1);
            color: var(--accent-primary);
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, transform 0.2s;
        }
        .detail-read-more:hover {
            background: rgba(229, 9, 20, 0.18);
            border-color: var(--accent-primary);
            transform: translateY(-1px);
        }
        .detail-read-more i {
            font-size: 12px;
        }
        .detail-read-more--muted {
            border-color: var(--border-color);
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }
        .detail-read-more--muted:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
            background: rgba(229, 9, 20, 0.08);
        }
        .detail-read-more[hidden] {
            display: none !important;
        }
        .detail-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .detail-tag {
            padding: 6px 14px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            font-size: 13px;
            color: var(--text-secondary);
            transition: all 0.3s;
        }
        .detail-tag:hover {
            border-color: var(--accent-primary);
            color: var(--text-primary);
            cursor: pointer;
        }
        .detail-episodes {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 10px;
        }
        .detail-episode-btn {
            padding: 12px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: inherit;
            text-align: center;
        }
        .detail-episode-btn:hover {
            border-color: var(--accent-primary);
            background: rgba(229, 9, 20, 0.1);
        }
        .detail-episode-btn.active {
            background: var(--accent-gradient);
            border-color: transparent;
        }
        .detail-episode-btn.locked {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .detail-no-episodes {
            color: var(--text-muted);
            font-size: 14px;
            padding: 16px;
            background: var(--bg-tertiary);
            border-radius: 12px;
            border: 1px dashed var(--border-color);
        }
        .detail-action-btn.disabled,
        .detail-action-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            pointer-events: none;
        }
        .detail-episode-btn.locked::after {
            content: '\\f023';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 4px;
            font-size: 10px;
        }

        /* ========== FOOTER ========== */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 60px 4% 30px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-brand .logo {
            margin-bottom: 16px;
        }
        .footer-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 20px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
        }
        .footer-social a {
            width: 40px;
            height: 40px;
            background: var(--bg-tertiary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s;
        }
        .footer-social a:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
            transform: translateY(-3px);
        }
        .footer-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 20px;
        }
        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s;
        }
        .footer-links a:hover {
            color: var(--accent-primary);
            padding-left: 5px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-muted);
        }
        .footer-bottom-links {
            display: flex;
            gap: 24px;
        }
        .footer-bottom-links a {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer-bottom-links a:hover {
            color: var(--accent-primary);
        }

        /* ========== TOAST NOTIFICATION ========== */
        .toast-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 3000;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .toast {
            padding: 14px 16px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 14px;
            font-weight: 500;
            box-shadow: var(--shadow-lg);
            animation: slideInRight 0.4s ease-out;
            min-width: 280px;
            max-width: min(420px, calc(100vw - 40px));
            transition: opacity 0.4s ease, transform 0.4s ease;
        }
        .toast-icon {
            flex-shrink: 0;
            margin-top: 2px;
        }
        .toast-message {
            flex: 1;
            line-height: 1.45;
        }
        .toast-close {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border: none;
            border-radius: 8px;
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, color 0.2s;
        }
        .toast-close:hover {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-primary);
        }
        .toast-success { border-left: 4px solid var(--success); }
        .toast-error { border-left: 4px solid var(--accent-primary); }
        .toast-info { border-left: 4px solid var(--accent-secondary); }
        .toast i {
            font-size: 18px;
        }
        .toast-success .toast-icon { color: var(--success); }
        .toast-error .toast-icon { color: var(--accent-primary); }
        .toast-info .toast-icon { color: var(--accent-secondary); }

        /* ========== MOBILE MENU ========== */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
        }
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: var(--bg-secondary);
            border-left: 1px solid var(--border-color);
            z-index: 1500;
            padding: 80px 30px 30px;
            transition: right 0.4s ease;
        }
        .mobile-menu.active {
            right: 0;
        }
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.7);
            z-index: 1400;
            display: none;
        }
        .mobile-menu-overlay.active {
            display: block;
        }
        .mobile-menu-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .mobile-menu-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 18px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .mobile-menu-links a i {
            color: var(--accent-primary);
            width: 24px;
        }
        .mobile-menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1100px) {
            .nav-links { gap: 16px; }
            .search-box input { width: 200px; max-width: 24vw; }
        }
        @media (max-width: 1200px) {
            .hero-vertical-preview { display: none; }
            .hero-content { max-width: 100%; }
        }
        @media (max-width: 900px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .featured-slide {
                min-width: 100%;
                flex-shrink: 0;
                aspect-ratio: 3 / 2;
                min-height: 220px;
            }
        }
        @media (max-width: 768px) {
            .nav-links, .search-box { display: none; }
            .nav-right .nav-btn { display: none; }
            .mobile-menu-btn { display: block; }
            .navbar { padding: 0 16px; height: 60px; gap: 8px; }
            .nav-left { gap: 0; min-width: 0; flex: 1; }
            .logo-text { font-size: 18px; }
            .logo-icon { width: 34px; height: 34px; font-size: 15px; }
            .nav-right { gap: 8px; }
            .hero {
                min-height: 100svh;
                min-height: 100dvh;
                padding-top: 76px;
                padding-bottom: 40px;
                align-items: flex-start;
            }
            .hero-content {
                padding-top: 8px;
            }
            .hero-title { font-size: 36px; letter-spacing: -1px; }
            .hero-desc { font-size: 15px; }
            .hero-buttons { flex-direction: column; }
            .hero-stats { flex-wrap: wrap; gap: 16px 24px; }
            .hero-stat-value { font-size: 22px; }
            .section-header { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 20px; }
            .section-title { font-size: 20px; }
            .drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
            .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
            .category-card { height: 100px; border-radius: 14px; }
            .category-card-overlay { padding: 12px 14px; }
            .category-card-title { font-size: 14px; }
            .category-card-count { font-size: 11px; }
            .category-card-icon { font-size: 20px; top: 10px; right: 10px; }
            .featured-carousel .carousel-nav { display: none; }
            .featured-track {
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 4px 4px 16px;
                gap: 16px;
                transform: none !important;
                scrollbar-width: thin;
                scrollbar-color: var(--border-color) transparent;
            }
            .featured-track::-webkit-scrollbar { height: 4px; }
            .featured-track::-webkit-scrollbar-thumb {
                background: var(--border-color);
                border-radius: 4px;
            }
            .featured-slide {
                flex: 0 0 150px;
                width: 150px;
                min-width: 150px;
                display: flex;
                flex-direction: column;
                aspect-ratio: unset;
                min-height: unset;
                border-radius: 0;
                overflow: visible;
                scroll-snap-align: start;
            }
            .featured-slide-poster {
                position: relative;
                inset: auto;
                aspect-ratio: 9 / 16;
                border-radius: 12px;
                overflow: hidden;
                background: var(--bg-card);
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
            }
            .featured-slide-banner { display: none; }
            .featured-slide-poster-img { display: block; }
            .featured-slide-overlay {
                position: absolute;
                inset: 0;
                padding: 0;
                background: none;
            }
            .featured-slide-badge {
                top: 10px;
                left: 10px;
                font-size: 10px;
                padding: 4px 10px;
            }
            .featured-slide-body {
                position: static;
                padding: 10px 2px 0;
            }
            .featured-slide-title {
                font-size: 14px;
                font-weight: 700;
                line-height: 1.3;
                margin-bottom: 4px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .featured-slide-meta {
                flex-wrap: wrap;
                gap: 6px 10px;
                font-size: 12px;
                color: var(--text-muted);
            }
            .trending-list { gap: 12px; }
            .trending-item {
                display: grid;
                grid-template-columns: 28px 56px 1fr;
                grid-template-rows: auto auto;
                gap: 8px 12px;
                align-items: start;
                padding: 14px;
                overflow: hidden;
            }
            .trending-item:hover { transform: none; }
            .trending-rank {
                grid-column: 1;
                grid-row: 1;
                font-size: 22px;
                width: auto;
                align-self: center;
            }
            .trending-thumb {
                grid-column: 2;
                grid-row: 1;
                width: 56px;
                height: 84px;
            }
            .trending-info {
                grid-column: 3;
                grid-row: 1;
                min-width: 0;
            }
            .trending-title {
                font-size: 14px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .trending-desc { font-size: 12px; -webkit-line-clamp: 1; margin-bottom: 4px; }
            .trending-tags { flex-wrap: wrap; gap: 4px; }
            .trending-tag { font-size: 10px; padding: 2px 8px; }
            .trending-stats {
                grid-column: 1 / -1;
                grid-row: 2;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                width: 100%;
                padding-top: 10px;
                border-top: 1px solid var(--border-color);
            }
            .trending-views { font-size: 13px; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
            .section { padding: 40px 16px; max-width: 100%; overflow-x: clip; }
            .detail-modal-content {
                max-width: 100%;
                max-height: 94vh;
                border-radius: 16px 16px 0 0;
            }
            .detail-hero {
                height: auto;
                min-height: 0;
            }
            .detail-hero > img {
                height: 160px;
            }
            .detail-hero-info {
                position: relative;
                padding: 16px;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                background: var(--bg-secondary);
            }
            .detail-poster {
                float: none;
                width: 96px;
                height: 140px;
                margin: -70px auto 12px;
                border-width: 2px;
            }
            .detail-title {
                font-size: 20px;
                margin-bottom: 10px;
            }
            .detail-meta {
                justify-content: center;
                gap: 8px;
                margin-bottom: 10px;
            }
            .detail-meta span {
                padding: 6px 10px;
                background: rgba(255, 255, 255, 0.06);
                border: 1px solid var(--border-color);
                border-radius: 999px;
                font-size: 11px;
                font-weight: 600;
                color: var(--text-primary);
            }
            .detail-meta span i {
                color: var(--accent-primary);
                font-size: 10px;
            }
            .detail-rating {
                justify-content: center;
                margin-bottom: 12px;
            }
            .detail-rating-score {
                font-size: 22px;
            }
            .detail-actions {
                justify-content: center;
                gap: 8px;
                width: 100%;
                margin-bottom: 0;
            }
            .detail-action-btn {
                padding: 9px 14px;
                font-size: 12px;
                border-radius: 10px;
                flex: 1;
                min-width: 0;
                max-width: calc(50% - 4px);
                justify-content: center;
            }
            .detail-body {
                padding: 16px;
            }
        }
        @media (max-width: 480px) {
            .hero-title { font-size: 30px; }
            .drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
            .drama-card-info { padding: 10px; }
            .drama-card-title { font-size: 13px; }
            .drama-card-badges .drama-badge:nth-child(1),
            .drama-card-badges .drama-badge:nth-child(2) {
                top: 8px;
            }
            .drama-card-badges .drama-badge:nth-child(3) {
                bottom: 8px;
            }
            .drama-badge {
                font-size: 8px;
                padding: 2px 6px;
            }
            .auth-modal-content { padding: 24px; }
            .category-card { height: 88px; }
            .category-card-title { font-size: 13px; }
            .trending-desc,
            .trending-tags { display: none; }
        }
    

/* Long Feng Dizi - Ek stiller */
.hero-bg { background-size: cover; background-position: center center; }
.search-box { position: relative; }
.search-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; margin-top: 8px; max-height: 320px; overflow-y: auto; z-index: 100; box-shadow: var(--shadow-lg); }
.search-results.active { display: block; }
.search-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; transition: background 0.2s; }
.search-item:hover { background: var(--bg-card-hover); }
.search-item img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.user-menu { position: relative; }
.user-menu.open .user-dropdown { display: block; }
button.user-avatar,
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    padding: 0;
    border: 2px solid transparent;
    transition: all 0.3s;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    flex-shrink: 0;
}
.user-avatar:hover {
    border-color: var(--accent-primary);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav-notifications,
.user-menu {
    flex-shrink: 0;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 8px;
    min-width: 240px;
    z-index: 1200;
    box-shadow: var(--shadow-lg);
}
.user-dropdown-header {
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
}
.user-dropdown-name { display: block; font-weight: 700; font-size: 14px; }
.user-dropdown-email { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.user-dropdown-divider { height: 1px; background: var(--border-color); margin: 6px 0; }
.user-dropdown a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}
.user-dropdown a:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.user-dropdown-logout { color: #ff5252 !important; }
.nav-notifications { position: relative; }
.nav-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.nav-icon-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 1200;
    overflow: hidden;
}
.nav-notifications.open .notif-dropdown { display: flex; flex-direction: column; }
.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}
.notif-read-all {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.notif-dropdown-list {
    overflow-y: auto;
    max-height: 300px;
    padding: 8px;
}
.notif-dropdown-item {
    display: block;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 4px;
    border: 1px solid transparent;
}
.notif-dropdown-item:hover { background: var(--bg-card-hover); }
.notif-dropdown-item.unread { border-color: rgba(229,9,20,0.25); background: rgba(229,9,20,0.06); }
.notif-dropdown-item strong { display: block; font-size: 13px; margin-bottom: 4px; }
.notif-dropdown-item p { font-size: 12px; color: var(--text-muted); margin: 0; }
.notif-dropdown-item time { font-size: 11px; color: var(--text-muted); }
.notif-dropdown-footer {
    display: block;
    text-align: center;
    padding: 12px;
    border-top: 1px solid var(--border-color);
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.notif-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }
.section-link { color: var(--accent-primary); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.fav-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}
.fav-remove-btn:hover { color: var(--accent-primary); }

/* ========== CONTINUE WATCHING SLIDER ========== */
.continue-section {
    padding-top: 10px;
}

.continue-carousel {
    position: relative;
}

.continue-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 48px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.continue-row::-webkit-scrollbar {
    height: 4px;
}

.continue-row::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.continue-carousel .carousel-nav {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
}

.continue-carousel .continue-prev { left: 0; }
.continue-carousel .continue-next { right: 0; }

.continue-card {
    flex: 0 0 auto;
    width: 180px;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.continue-card:hover {
    transform: translateY(-6px);
}

.continue-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.continue-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.continue-card:hover .continue-card-poster img {
    transform: scale(1.05);
}

.continue-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
}

.continue-card:hover .continue-card-overlay {
    opacity: 1;
}

.continue-play-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 14px;
    margin-bottom: 8px;
}

.continue-ep-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.continue-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.continue-progress-bar {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 0 2px 2px 0;
}

.continue-card-info {
    padding: 10px 2px 0;
}

.continue-card-title {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.continue-card-ep {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .continue-row {
        padding-left: 4px;
        padding-right: 4px;
    }

    .continue-carousel .carousel-nav {
        display: none;
    }

    .continue-card {
        width: 150px;
    }

    .marquee-section {
        max-width: 100%;
        overflow-x: clip;
    }

    .hero-content {
        padding: 0 16px;
        max-width: 100%;
    }

    .hero,
    .marquee-section,
    .continue-carousel {
        overflow-x: clip;
        max-width: 100%;
    }
}

.empty-message { color: var(--text-muted); grid-column: 1 / -1; padding: 40px; text-align: center; }
.toast-error { border-left: 3px solid #ff1744; }
