/* Base CSS for My Reels - Mobile Optimized */
:root {
    /* My Drama Color Scheme */
    --drama-primary: #ff3366;
    --drama-secondary: #6c5ce7;
    --drama-accent: #00cec9;
    --drama-dark-bg: #0f0f23;
    --drama-card-bg: #1a1a2e;
    --drama-card-hover: #22223a;
    --drama-text: #ffffff;
    --drama-text-secondary: #b8b8d1;
    --drama-border: #2d2d44;
    
    /* Gradients */
    --gradient-primary: linear-gradient(45deg, #ff3366, #6c5ce7);
    --gradient-secondary: linear-gradient(45deg, #00cec9, #0984e3);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* My Drama Theme */
body.my-drama-theme {
    background-color: var(--drama-dark-bg);
    color: var(--drama-text);
}

/* Mobile Header */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.mobile-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    height: 56px;
}

.mobile-menu-toggle {
    font-size: 1.25rem;
    color: var(--drama-text);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.mobile-user-menu a {
    color: var(--drama-text);
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Navigation */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1098;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background: var(--drama-card-bg);
    z-index: 1099;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--drama-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--drama-text);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    color: var(--drama-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    color: var(--drama-text);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.sidebar-divider {
    color: var(--drama-text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.25rem 1.25rem 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--drama-border);
}

.sidebar-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--drama-border);
}

.sidebar-footer .social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.sidebar-footer .social-links a {
    color: var(--drama-text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.sidebar-footer .social-links a:hover {
    color: var(--drama-primary);
}

.copyright {
    color: var(--drama-text-secondary);
    font-size: 0.75rem;
    text-align: center;
    margin: 0;
}

/* Main Content */
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 2rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

.swiper-slide {
    position: relative;
    height: 500px;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    z-index: 2;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--drama-text);
}

.exclusive-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hero-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

/* Content Sections */
.content-section {
    padding: 0 1rem 2rem;
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--drama-text);
    margin: 0;
}

.section-subtitle {
    color: var(--drama-text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.section-more {
    color: var(--drama-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.section-more:hover {
    gap: 0.75rem;
}

/* Horizontal Scroll Sections */
.horizontal-section {
    position: relative;
    margin-bottom: 40px;
}

.horizontal-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: #ff3366 transparent;
}

.horizontal-container::-webkit-scrollbar {
    height: 6px;
}

.horizontal-container::-webkit-scrollbar-track {
    background: #1a1a2e;
    border-radius: 3px;
}

.horizontal-container::-webkit-scrollbar-thumb {
    background: #ff3366;
    border-radius: 3px;
}

.horizontal-item {
    flex: 0 0 auto;
    width: 200px;
}

/* Card Styles */
.trending-card,
.series-card,
.episode-card,
.new-release-card,
.top-rated-card,
.must-watch-card {
    background: var(--drama-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--drama-border);
}

.trending-card a,
.series-card a,
.episode-card a,
.new-release-card a,
.top-rated-card a,
.must-watch-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Thumbnail Styles */
.trending-thumbnail,
.series-thumbnail,
.episode-thumbnail,
.release-thumbnail,
.rated-thumbnail,
.must-watch-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.trending-thumbnail img,
.series-thumbnail img,
.episode-thumbnail img,
.release-thumbnail img,
.rated-thumbnail img,
.must-watch-thumbnail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trending-card:hover img,
.series-card:hover img,
.episode-card:hover img,
.release-thumbnail:hover img,
.rated-thumbnail:hover img,
.must-watch-thumbnail:hover img {
    transform: scale(1.05);
}

/* Badge Styles */
.series-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3366;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2196F3;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.episode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.episode-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rating-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 193, 7, 0.9);
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Card Info Styles */
.trending-info,
.series-info,
.episode-info,
.release-info,
.rated-info,
.must-watch-content {
    padding: 0.75rem;
}

.series-title,
.episode-title,
.pick-title,
.must-watch-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--drama-text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-name {
    font-size: 0.75rem;
    color: var(--drama-text-secondary);
    margin-bottom: 0.5rem;
}

/* Meta Information */
.trending-meta,
.series-meta,
.episode-meta,
.release-meta,
.rated-meta,
.pick-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--drama-text-secondary);
}

.view-count,
.duration,
.release-time,
.episode-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Continue Watching Progress */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Top Picks Grid */
.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.pick-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pick-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.pick-info {
    padding: 0.75rem;
}

.pick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pick-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--drama-text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    line-height: 1;
}

/* Must Watch Section */
.must-watch-section .section-header {
    margin-bottom: 1.5rem;
}

.must-watch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.must-watch-card {
    display: flex;
    flex-direction: column;
    background: var(--drama-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--drama-border);
}

.must-watch-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.must-watch-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.must-watch-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.must-watch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.must-watch-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--drama-text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.must-watch-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.must-watch-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

/* Categories Section */
.categories-section .section-header {
    margin-bottom: 1.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: var(--drama-card-bg);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--drama-text);
    transition: all 0.3s ease;
    border: 1px solid var(--drama-border);
}

.category-card:hover {
    transform: translateY(-4px);
    background: var(--drama-card-hover);
    border-color: var(--drama-primary);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.category-icon i {
    font-size: 1.25rem;
    color: white;
}

.category-name {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.75rem;
    color: var(--drama-text-secondary);
}

/* Ad Banner */
.ad-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.ad-banner h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.ad-banner p {
    margin: 0;
    opacity: 0.9;
}

/* Social Bar */
.social-bar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #ff3366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    background: #ff6699;
}

/* Footer */
.my-drama-footer {
    background: var(--drama-card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem 1rem;
    margin-top: 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    min-width: 200px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--drama-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    color: var(--drama-text-secondary);
    font-size: 1.125rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--drama-primary);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--drama-text);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--drama-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--drama-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--drama-text-secondary);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-methods i {
    font-size: 1.5rem;
    color: var(--drama-text-secondary);
}

/* No Data Message */
.no-data-message {
    padding: 20px;
    text-align: center;
    background: #1a1a2e;
    border-radius: 10px;
    color: #888;
    margin: 20px 0;
}

/* Default Thumbnail */
.default-thumbnail {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #666;
    font-size: 14px;
}

.default-thumbnail i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #ff3366;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
    
    .main-content {
        padding-top: 56px;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 300px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    
    .swiper-slide {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        overflow: hidden;
    }
    
    .hero-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* Horizontal Items */
    .horizontal-item {
        width: 160px;
    }
    
    .trending-thumbnail img,
    .series-thumbnail img,
    .episode-thumbnail img,
    .release-thumbnail img,
    .rated-thumbnail img {
        height: 200px;
    }
    
    /* Content Sections */
    .content-section {
        padding: 0 0.75rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    /* Must Watch Grid */
    .must-watch-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .must-watch-thumbnail {
        height: 150px;
    }
    
    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .category-card {
        padding: 1rem 0.5rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
    
    /* Social Bar - Hide on Mobile */
    .social-bar {
        display: none;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-methods {
        gap: 0.75rem;
    }
    
    .payment-methods i {
        font-size: 1.25rem;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .horizontal-item {
        width: 140px;
    }
    
    .trending-thumbnail img,
    .series-thumbnail img,
    .episode-thumbnail img,
    .release-thumbnail img,
    .rated-thumbnail img {
        height: 180px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-slider {
        height: 250px;
    }
    
    .swiper-slide {
        height: 250px;
    }
}

/* Tablet Screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .horizontal-item {
        width: 180px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .must-watch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Screens */
@media (min-width: 1025px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .must-watch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ultra Small Screens */
@media (max-width: 360px) {
    .horizontal-item {
        width: 130px;
    }
    
    .trending-thumbnail img,
    .series-thumbnail img,
    .episode-thumbnail img,
    .release-thumbnail img,
    .rated-thumbnail img {
        height: 160px;
    }
    
    .hero-slider {
        height: 220px;
    }
    
    .swiper-slide {
        height: 220px;
    }
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 51, 102, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #ff3366;
    opacity: 1;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Selection */
::selection {
    background: rgba(255, 51, 102, 0.5);
    color: white;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--drama-primary);
    animation: spin 1s ease-in-out infinite;
}

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

/* Animation for Cards */
.trending-card,
.series-card,
.episode-card,
.new-release-card,
.top-rated-card,
.must-watch-card {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .trending-card:hover img,
    .series-card:hover img,
    .episode-card:hover img,
    .release-thumbnail:hover img,
    .rated-thumbnail:hover img,
    .must-watch-thumbnail:hover img {
        transform: none;
    }
}