/*
 * V8 Theme - Main Style CSS
 * Version: 1.0.0
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #040518;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
.site-wrapper:before {
    /* height: 100%;
    background-image: url(https://start.ru/static/images/promo/background.svg);
    opacity: .2;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1; */
}
/* Container */
.container {
    max-width: 1280px !important;
    margin: 0 auto;
    padding: 0 20px;
}
.ytp-watch-later-title, .ytp-title-text {
    display: none !important;
}
/* Site Wrapper */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== HEADER ========== */
.site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    opacity: 1;
    will-change: transform, opacity;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 30px;
}

/* Left Section: Logo + Navigation */
.left-section {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    max-width: 70%;
    position: relative;
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo svg {
    height: 40px;
    width: auto;
    fill: #ffffff;
}

/* Main Navigation */
.main-navigation {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c4c4c4;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #b1133f, #e63946);
    transition: width 0.3s ease;
}

/* Profesyonel Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 1280px;
    max-width: 90vw;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow: hidden;
}

/* Show mega menu when nav item is hovered */
#mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Profil Mega Menu Stats */
.mega-menu-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 8px;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #b1133f;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(20, 20, 20, 0.98);
}

.mega-menu-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    min-height: 400px;
    overflow: hidden;
}

.mega-menu-left {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 0;
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-menu-section {
    padding: 0 16px;
}

.mega-menu-section:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu-title {
    color: #b1133f;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(177, 19, 63, 0.3);
}

.mega-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
}

.mega-menu-links li {
    overflow: hidden;
}

.mega-menu-links.multi-column {
    grid-template-columns: 1fr 1fr;
    max-height: none;
}

.mega-menu-links li {
    margin-bottom: 0;
}

.mega-menu-link {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-link:hover {
    color: #ffffff;
    background-color: rgba(177, 19, 63, 0.1);
    transform: translateX(4px);
    overflow: hidden;
}

/* Right side with marquee */
.mega-menu-right {
    width: 350px;
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.05), rgba(0, 0, 0, 0.3));
    padding: 24px;
    position: relative;
    overflow: hidden;
}



.mega-menu-featured {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mega-menu-featured-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
}

.mega-menu-featured-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #b1133f, #e63946);
}

/* Marquee Animation */
.mega-menu-marquee {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mega-menu-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(26, 26, 46, 0.9) 0%, 
        rgba(26, 26, 46, 0.3) 15%, 
        rgba(26, 26, 46, 0.1) 50%, 
        rgba(26, 26, 46, 0.3) 85%, 
        rgba(26, 26, 46, 0.9) 100%);
    z-index: 2;
    pointer-events: none;
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    height: 100%;
}

.marquee-row {
    display: flex;
    gap: 0.5rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-row:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 20s;
}

.marquee-row:nth-child(3) {
    animation-duration: 30s;
}

.marquee-item {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.marquee-item img.error {
    opacity: 0;
}

.marquee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(45, 55, 72, 0.8) 0%, 
        rgba(74, 85, 104, 0.6) 50%, 
        rgba(45, 55, 72, 0.8) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marquee-item img.error + .marquee-item::before {
    opacity: 1;
}

.marquee-item img.error {
    opacity: 0;
}

.marquee-item:has(img.error) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.marquee-item:has(img.error)::after {
    content: '🎬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Aktif Gruplar Tasarımı */
.mega-menu-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.05), rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scroll Bar Styling */
.mega-menu-groups::-webkit-scrollbar {
    width: 4px;
}

.mega-menu-groups::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.mega-menu-groups::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #b1133f, #8b0f31);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mega-menu-groups::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d1154a, #b1133f);
}

/* Firefox Scroll Bar */
.mega-menu-groups {
    scrollbar-width: thin;
    scrollbar-color: #b1133f rgba(255, 255, 255, 0.05);
}

.group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.group-item:hover {
    background: linear-gradient(135deg, rgba(177, 19, 63, 0.1), rgba(177, 19, 63, 0.05));
    border-color: rgba(177, 19, 63, 0.3);
    transform: translateX(4px);
}

.group-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #b1133f, #8b0f31);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(177, 19, 63, 0.3);
}

.group-info {
    flex: 1;
    min-width: 0;
}

.group-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-members {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Subscription Section */
.mega-menu-subscription {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(177, 19, 63, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(177, 19, 63, 0.2);
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mega-menu-subscription:hover {
    background: rgba(177, 19, 63, 0.2);
    border-color: rgba(177, 19, 63, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(177, 19, 63, 0.2);
}

.subscription-icon {
    width: 40px;
    height: 40px;
    background: #b1133f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 18px;
}

.subscription-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.subscription-info {
    flex: 1;
}

.subscription-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.subscription-price {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

/* Smart TV Button */
.smart-tv-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smart-tv-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.smart-tv-button svg {
    width: 20px;
    height: 20px;
}

/* Responsive Mega Menu */
@media (max-width: 1024px) {
    .mega-menu {
        width: 95vw;
    }
    
    .mega-menu-content {
        padding: 0 15px;
    }
    
    .mega-menu-left {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu-section:nth-child(3) {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 16px;
        margin-top: 16px;
        grid-column: 1 / -1;
    }
    
    .mega-menu-right {
        width: 250px;
    }
    
    .mega-menu-marquee {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        left: 0;
        transform: none;
        max-width: 100%;
    }
    
    .mega-menu::before {
        display: none;
    }
    
    .mega-menu-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .mega-menu-left {
        grid-template-columns: 1fr;
        gap: 16px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mega-menu-section {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 16px;
    }
    
    .mega-menu-section:last-child {
        border-bottom: none;
    }
    
    .mega-menu-right {
        width: 100%;
        height: auto;
    }
    
    .mega-menu-marquee {
        height: 120px;
    }
    
    .mega-menu-subscription {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .smart-tv-button {
        margin-top: 8px;
    }
}

/* Right Section: Search + User */
.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Search Section */
.search-section {
    position: relative;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 280px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0 45px 0 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #888;
}

.search-input:focus {
    outline: none;
    border-color: #b1133f;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.2);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.search-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.search-btn:active {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.2);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #091840;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    display: none;
    border: 1px solid rgba(177, 19, 63, 0.2);
}

.search-results-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.search-results-content {
    max-height: 400px;
    overflow-y: auto;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 5, 24, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay-content {
    text-align: center;
}

.search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(177, 19, 63, 0.3);
    border-top: 3px solid #b1133f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.search-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

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

/* User Section */
.user-section {
    flex-shrink: 0;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background: transparent;
    color: #c4c4c4;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #b1133f, #e63946);
    color: #ffffff;
    font-weight: 700;
}

.btn-register:hover {
    background: #dc2626;
}

/* User Menu (Logged In) */
.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    position: relative;
}

.btn-notification {
    background: none;
    border: none;
    color: #c4c4c4;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.btn-notification:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-notification:active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #b1133f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Dropdown - Matching Notification Style */
.user-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.user-avatar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 240px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow: hidden;
    display: none;
}

.user-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(31, 41, 55, 0.95);
}

.user-info {
    padding: 20px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
    background: rgba(17, 24, 39, 0.3);
    text-align: center;
}

.user-name {
    display: block;
    color: #e5e7eb;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.user-level {
    color: #9ca3af;
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(177, 19, 63, 0.2);
    border: 1px solid rgba(177, 19, 63, 0.3);
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

.dropdown-links {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-links li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.dropdown-links li:last-child a {
    border-bottom: none;
}

.dropdown-links li a:hover {
    background: rgba(55, 65, 81, 0.5);
    color: #ffffff;
    transform: translateX(4px);
}

.dropdown-links li a:before {
    content: '';
    width: 6px;
    height: 6px;
    background: #b1133f;
    border-radius: 50%;
    margin-right: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-links li a:hover:before {
    opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    display: flex;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Search Button */
.mobile-search-btn {
    display: none;
}

.btn-mobile-search {
    background: none;
    border: none;
    color: #c4c4c4;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-mobile-search:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-mobile-search:active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* ========== MOBILE BOTTOM NAVIGATION ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #011426b3 0%, #0e1239b3 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

/* ========== MOBILE SEARCH MODAL ========== */
.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #040518;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.mobile-search-modal.show {
    display: flex !important;
}

.mobile-search-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 15px;
    border-bottom: 1px solid rgba(177, 19, 63, 0.2);
}

.mobile-search-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-search-back {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.mobile-search-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-search-input-wrapper {
    position: relative;
    flex: 1;
}

.mobile-search-input {
    width: 100%;
    height: 45px;
    background: #fff;
    border-radius: 15px;
    padding: 0 45px 0 16px;
    color: #000;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.mobile-search-input::placeholder {
    color: #888;
}

.mobile-search-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(177, 19, 63, 0.2);
}

.mobile-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none;
}

.mobile-search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #b1133f;
}

.mobile-search-clear.show {
    display: block;
}

.mobile-search-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: transparent;
}

.mobile-search-results {
    margin-bottom: 0;
    display: none;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    background: transparent;
    border: none;
    padding: 0;
}

.mobile-search-results.show {
    display: block;
}

.mobile-search-results-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 0;
    background: transparent;
    display: block;
}

.mobile-search-results-content,
.mobile-search-results .leftbar-search-result-in {
    max-height: none;
    overflow-y: auto;
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.mobile-popular-searches {
    margin-bottom: 30px;
    padding: 20px;
    background: transparent;
}

.mobile-popular-searches h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.popular-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tag {
    background: rgba(177, 19, 63, 0.1);
    color: #b1133f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(177, 19, 63, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.popular-tag:hover {
    background: rgba(177, 19, 63, 0.2);
    border-color: rgba(177, 19, 63, 0.4);
}

/* Mobile Search Loading States */
.search-loading-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 40px 20px;
    color: #888;
    font-family: 'Poppins', sans-serif;
}

.search-spinner-small {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(177, 19, 63, 0.3);
    border-top: 2px solid #b1133f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

/* Body scroll prevention */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    transition: all 0.3s ease;
    padding: 8px 5px;
    border-radius: 12px;
    min-width: 60px;
    position: relative;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #b1133f;
    background: rgba(177, 19, 63, 0.05);
}

.bottom-nav-item.active {
    position: relative;
    overflow: hidden;
}

.bottom-nav-item.active::before {
  content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 21px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 0;
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.1);
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.bottom-nav-item.active .bottom-nav-icon svg {
    fill: #ffffff;
}

.bottom-nav-item.active .bottom-nav-label {
    font-weight: 600;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.bottom-nav-item:hover .bottom-nav-icon {
    transform: scale(1.05);
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.bottom-nav-icon svg {
    width: 100%;
    height: 100%;
}

.bottom-nav-label {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    padding-top: 100px;
    min-height: calc(100vh - 70px);
}

/* Mobile adjustment for bottom nav */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 80px; /* Space for bottom nav */
    }
}

/* ========== FOOTER ========== */
.site-footer {
    background: #040518;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding: 60px 0 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.footer-section ul li a:hover {
    color: #b1133f;
}

.footer-section p {
    color: #888;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* Footer Mobile Section */
.footer-mobile-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 60px;
}

.footer-mobile-left {
    flex: 1;
}

.qr-code-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.qr-code {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.qr-info h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.qr-info p {
    color: #888;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.app-stores {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: block;
    transition: transform 0.3s ease;
}

.app-store-btn:hover {
    transform: translateY(-2px);
}

.app-store-btn img {
    height: 45px;
    width: auto;
    border-radius: 8px;
}

/* Footer Mobile Right */
.footer-mobile-right {
    flex: 1;
}

.footer-mobile-right h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.footer-mobile-right p {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

/* Social Media Links */
.social-media-links {
    margin-top: 30px;
}

.social-media-links h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.social-media-links .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-media-links .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-links .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-media-links .social-link svg {
    transition: transform 0.3s ease;
}

.social-media-links .social-link:hover svg {
    transform: scale(1.1);
}

.platform-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.platform-logo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: background 0.3s ease;
}

.platform-logo:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 50px 0 30px;
    }
    
    .footer-mobile-section {
        flex-direction: column;
        gap: 40px;
    }
    
    .platform-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }
    
    .footer-mobile-section {
        gap: 30px;
    }
    
    .qr-code-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .app-stores {
        justify-content: center;
    }
    
    .platform-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
        padding: 30px 0 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-section ul li {
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        font-size: 14px;
    }
    
    .qr-info h4 {
        font-size: 18px;
    }
    
    .footer-mobile-right h4 {
        font-size: 18px;
    }
    
    .app-store-btn img {
        height: 40px;
    }
    
    .platform-logos {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ========== COLLECTION SLIDERS ========== */
.collection-section {
    margin-bottom: 3rem;
}


.collection-section .section-header p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Line Clamp Utilities */
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Expanded description style for read more functionality */
.description-text.expanded {
    overflow: visible;
    display: block;
    -webkit-box-orient: unset;
    -webkit-line-clamp: unset;
    max-height: none;
}

/* Collection Card Hover Effects */
/* Splide Arrow Styling for Collections */
.collection-slider .splide__arrow {
    background: none;
    border: none;
    border-radius: 0;
    width: 40px;
    height: 40px;
    box-shadow: none;
    backdrop-filter: none;
    transition: none;
    /* Hareketi tamamen kaldır */
    transform: none !important;
}

.collection-slider .splide__arrow:hover {
    background: none;
    transform: none !important;
}

.collection-slider .splide__arrow svg {
    fill: #ffffff;
}

.collection-slider .splide__arrow--prev {
    left: -50px;
}

.collection-slider .splide__arrow--next {
    right: -50px;
}

/* Kart hover'da yukarı çıkınca üstü kesilmesin diye */
.collection-slider .splide__list {
    padding-top: 16px;
}

@media (max-width: 768px) {
    .collection-slider .splide__list {
        padding-top: 10px;
    }
}

/* Mobile responsive for collection arrows */
@media (max-width: 768px) {
    .collection-slider .splide__arrow {
        display: none !important;
    }
}

/* Arrow'ları gizle eğer o yönde içerik yoksa */
.collection-slider .splide__arrow:disabled {
    display: none !important;
}

.splide__arrow:disabled {
    display: none !important;
}

/* Card Hover Effect: Sadece yukarı hareket */
.collection-slider .splide__slide {
    margin-top: 8px;
}
.collection-slider .splide__slide > a > div {
    transition: transform 0.2s ease;
}
.collection-slider .splide__slide > a > div:hover {
    transform: translateY(-2px);
}
.collection-slider .splide__slide:hover img {
    filter: none;
}

/* Custom Text Colors */
.text-light-gray {
    color: rgb(230, 230, 232) !important;
}

/* Collection Cards Mobile Responsive */
@media (max-width: 768px) {
    .collection-slider .splide__slide > a > div {
        width: 165px !important; /* Mobilde kartları küçült */
    }
    
    .collection-slider .splide__slide .h-64 {
        height: 200px !important; /* Mobilde yüksekliği azalt */
    }
    
    /* Mobilde hover efektini kaldır */
    .collection-slider .splide__slide > a > div:hover {
        transform: none !important;
    }
    
    /* Collection slider overflow'u kontrol et - peek effect için */
    .collection-slider {
        overflow: visible !important;
    }
    
    .collection-slider .splide__slide .py-3 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .collection-slider .splide__slide .text-base {
        font-size: 0.875rem !important; /* 14px */
    }
    
    .collection-slider .splide__slide .text-sm {
        font-size: 0.75rem !important; /* 12px */
    }
    
    /* Container padding'i azalt */
    .container {
        padding: 0 10px !important;
    }
    
    /* Section margins'ı azalt */
    .collection-section.mb-12 {
        margin-bottom: 2rem !important;
    }
    
    /* Peek effect için slider container */
    .collection-slider {
        overflow: visible !important;
    }
    
    .collection-slider .splide__track {
        overflow: visible !important;
    }
    
    .collection-slider .splide__list {
        overflow: visible !important;
    }
}

@media (max-width: 640px) {
    .collection-slider .splide__slide > a > div {
        width: 155px !important; /* Peek effect için optimize */
    }
    
    .collection-slider .splide__slide .h-64 {
        height: 190px !important;
    }
}

@media (max-width: 480px) {
    .collection-slider .splide__slide > a > div {
        width: 125px !important; /* Daha küçük ekranlar için */
    }
    
    .collection-slider .splide__slide .h-64 {
        height: 155px !important;
    }
    
    /* Container padding'i daha da azalt */
    .container {
        padding: 0 15px !important;
    }
    
    /* Mobilde arrow'ları tamamen gizle */
    .collection-slider .splide__arrow {
        display: none !important;
    }
    
    /* Peek effect için overflow visible */
    .collection-slider .splide__track {
        overflow: visible !important;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        gap: 20px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .search-input {
        width: 240px;
    }
    
    .right-section {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Mobilde x ekseninde scroll'u kaldır */
    body {
        overflow-x: hidden !important;
    }
    
    .site-wrapper {
        overflow-x: hidden !important;
    }
    
    .main-content {
        overflow-x: hidden !important;
    }
    
    .home-content {
        overflow-x: hidden !important;
    }
    
    .content-section {
        overflow-x: hidden !important;
    }
    
    /* Slider'lar için istisna - peek effect çalışması için */
    .collection-slider,
    .collection-slider .splide__track,
    .collection-slider .splide__list,
    .slider-container,
    .cuff-hero-slider,
    .cuff-hero-slider .splide__track,
    .cuff-hero-slider .splide__list {
        overflow: visible !important;
    }
    
    /* Ana slider mobil arrows gizle */
    .cuff-hero-slider .splide__arrow {
        display: none !important;
    }
    
    /* Section Header Mobile Düzenlemeleri */
    .content-section .section-header,
    .collection-section .section-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    
    .content-section .view-all-btn,
    .collection-section .view-all-btn,
    .section-header .view-all-btn {
        font-size: 0.875rem !important; /* 14px */
        padding: 6px 12px !important;
        white-space: nowrap !important;
        text-align: center !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Header: Hide desktop navigation and search */
    .main-navigation,
    .search-section {
        display: none;
    }
    
    /* Left section mobile adjustment */
    .left-section {
        gap: 0;
        justify-content: flex-start;
    }
    
    /* Show mobile elements */
    .mobile-search-btn {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Hide desktop auth buttons on mobile */
    .auth-buttons {
        display: none;
    }
    
    /* Show only search icon and avatar on mobile */
    .user-menu {
        gap: 15px;
    }
    
    /* Guest user mobile layout */
    .guest-menu {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .guest-menu .auth-buttons {
        display: none; /* Hide auth buttons on mobile for guests too */
    }
    
    /* Adjust header for mobile */
    .header-content {
        justify-content: space-between;
    }
    
    .logo-section {
        flex: 1;
    }
    
    .right-section {
        gap: 15px;
        justify-content: flex-end;
    }
    
    /* Footer adjustments - handled in main footer responsive section */
    
    /* Main content with bottom nav space */
    .main-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        height: 60px;
        gap: 15px;
    }
    
    /* Section Header daha küçük ekranlar için */
    .section-header h2 {
        font-size: 1.125rem !important; /* 18px */
    }
    
    .view-all-btn {
        font-size: 0.75rem !important; /* 12px */
        padding: 4px 8px !important;
    }
    
    .site-logo img,
    .site-logo svg {
        height: 30px;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
    }
    
    /* Smaller bottom nav items */
    .bottom-nav-item {
        min-width: 50px;
        padding: 6px 3px;
    }
    
    .bottom-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .bottom-nav-label {
        font-size: 10px;
    }
    
    /* Footer responsive handled in main footer section */
    
    .main-content {
        padding-top: 70px;
        padding-bottom: 75px;
    }
} 




/* ========== SPLIDE SLIDER STYLES ========== */
/* Slider Container */
.slider-container {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto 20px auto;
    overflow: visible;
  }
  
  /* Ana slider mobil responsive */
  @media (max-width: 768px) {
    .slider-container {
        padding: 0;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .cuff-hero-slider {
        overflow: visible !important;
    }
    
    .cuff-hero-slider .splide__track {
        overflow: visible !important;
    }
    
    .cuff-hero-slider .splide__list {
        overflow: visible !important;
    }
    
    .cuff-hero-slider .splide__slide {
        height: 300px !important;
        opacity: 0.3 !important;
        transition: opacity 0.3s ease !important;
    }
    
    .cuff-hero-slider .splide__slide.is-active {
        opacity: 1 !important;
    }
  }
  
  @media (max-width: 640px) {
    .cuff-hero-slider .splide__slide {
        height: 280px !important;
    }
  }
  
  @media (max-width: 480px) {
    .cuff-hero-slider .splide__slide {
        height: 260px !important;
    }
  }
  .slider-fade {
    position: absolute;
    top: 0;
    width: 28px;  /* Genişlik: gradientin ne kadar yayılacağını belirler */
    height: 100%;
    z-index: 5;
    pointer-events: none; /* Mouse ile tıklamayı engelle */
  }
  
  .slider-fade--left {
    left: 0;
    width: 64px;
    top: 0;
    height: 100%;
    position: absolute;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #040518 0%,
      rgba(4, 5, 24, 0.98) 6.67%,
      rgba(4, 5, 24, 0.92) 13.33%,
      rgba(4, 5, 24, 0.82) 20%,
      rgba(4, 5, 24, 0.08) 80%,
      rgba(4, 5, 24, 0.03) 86.67%,
      rgba(4, 5, 24, 0.01) 93.33%,
      rgba(4, 5, 24, 0) 100%
    );
  }
  
  
.slider-fade--right {
  right: 0;
  width: 64px;
  top: 0;
  height: 100%;
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    270deg,
    #040518 0%,
    rgba(4, 5, 24, 0.98) 6.67%,
    rgba(4, 5, 24, 0.92) 13.33%,
    rgba(4, 5, 24, 0.82) 20%,
    rgba(4, 5, 24, 0.08) 80%,
    rgba(4, 5, 24, 0.03) 86.67%,
    rgba(4, 5, 24, 0.01) 93.33%,
    rgba(4, 5, 24, 0) 100%
  );
}

  .cuff-hero-slider .splide__slide {
    max-width: 1280px; /* ana slide container'dan küçük */
    width: 100%;
    margin: 0 auto;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: #222;
    cursor: pointer;
    transition: all 0.4s ease;
  }
  
 
  
  .slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 32px;
    transition: opacity 0.5s ease;
    z-index: 0;
    position: relative;
  }
  
  .cuff-hero-slider .splide__slide.is-active .slide-bg {
    opacity: 0;
  }
  
  .cuff-hero-slider .splide__slide.is-visible .slide-bg {
    opacity: 0;
  }
  
  /* Video Player */
  .slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  /* Hero Video Iframe Styling */
  #hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  /* Custom Bottom Gradient for Hero Section */
  .hero-bottom-gradient {
    background: linear-gradient(180deg, 
      rgba(4, 5, 24, 0) 0%, 
      rgba(4, 5, 24, 0.02) 6.67%, 
      rgba(4, 5, 24, 0.05) 13.33%, 
      rgba(4, 5, 24, 0.1) 20%, 
      rgba(4, 5, 24, 0.15) 26.67%, 
      rgba(4, 5, 24, 0.25) 33.33%, 
      rgba(4, 5, 24, 0.35) 40%, 
      rgba(4, 5, 24, 0.5) 46.67%, 
      rgba(4, 5, 24, 0.65) 53.33%, 
      rgba(4, 5, 24, 0.75) 60%, 
      rgba(4, 5, 24, 0.85) 66.67%, 
      rgba(4, 5, 24, 0.92) 73.33%, 
      rgba(4, 5, 24, 0.96) 80%, 
      rgba(4, 5, 24, 0.98) 86.67%, 
      rgba(4, 5, 24, 0.99) 93.33%, 
      rgba(4, 5, 24, 1) 100%
    );
  }
  
  /* Custom Top Gradient for Hero Section */
  .hero-top-gradient {
    background: linear-gradient(0deg, 
      rgba(4, 5, 24, 0) 0%, 
      rgba(4, 5, 24, 0.02) 6.67%, 
      rgba(4, 5, 24, 0.05) 13.33%, 
      rgba(4, 5, 24, 0.1) 20%, 
      rgba(4, 5, 24, 0.15) 26.67%, 
      rgba(4, 5, 24, 0.25) 33.33%, 
      rgba(4, 5, 24, 0.35) 40%, 
      rgba(4, 5, 24, 0.5) 46.67%, 
      rgba(4, 5, 24, 0.65) 53.33%, 
      rgba(4, 5, 24, 0.75) 60%, 
      rgba(4, 5, 24, 0.85) 66.67%, 
      rgba(4, 5, 24, 0.92) 73.33%, 
      rgba(4, 5, 24, 0.96) 80%, 
      rgba(4, 5, 24, 0.98) 86.67%, 
      rgba(4, 5, 24, 0.99) 93.33%, 
      rgba(4, 5, 24, 1) 100%
    );
  }
  
  /* Minimal Background Effects */
  .gradient-animation {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    opacity: 0.3;
  }
  
/* Simple Pulse Animation */
  @keyframes gradientPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
      opacity: 0.5;
    }
}

/* Removed complex animations for better performance */
  
  /* Sadece aktif slide'ın videosu görünür ve çalar */
  .cuff-hero-slider .splide__slide.is-active:not(.splide__slide--clone) .slide-video {
    opacity: 1;
  }
  
  .cuff-hero-slider .splide__slide.is-visible:not(.splide__slide--clone) .slide-video {
    opacity: 1;
  }
  
  .slide-video.active {
    opacity: 1;
  }
  
  /* Video Controls */
  .video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: opacity 0.3s ease;
  }
  
  .video-play-btn,
  .video-pause-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .video-play-btn:hover,
  .video-pause-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
  }
  
  .cuff-hero-slider .splide__slide:hover .video-controls {
    opacity: 1;
  }
  
  .cuff-hero-slider .splide__slide .video-controls {
    opacity: 0;
  }
  
  .cuff-hero-slider .splide__slide.playing .video-controls {
    opacity: 0;
  }
    .logo-left-bottom {
     position: absolute;
     left: 36px;
     bottom: 32px;
     z-index: 2;
     max-width: 500px;
     transition: all 0.6s ease;
   }
   .logo-left-bottom img {
     max-height: 64px;
     max-width: 340px;
     margin-bottom: 16px;
   }
   
   /* Slide Overview */
   .slide-overview {
     color: #ffffff;
     font-size: 16px;
     line-height: 1.5;
     font-weight: 400;
     max-width: 450px;
     opacity: 0;
     height: 0;
     margin-bottom: 0;
     overflow: hidden;
     transform: translateY(-10px);
     transition: all 0.6s ease;
   }
   
   .cuff-hero-slider .splide__slide:hover .slide-overview {
     opacity: 1;
     height: auto;
     margin-bottom: 12px;
     transform: translateY(0);
   }
   
   /* Slide Categories */
   .slide-categories {
     color: #888888;
     font-size: 14px;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 8px;
   }
   
   .slide-separator {
     color: #666666;
   }
   
   .slide-year,
   .slide-genre,
   .slide-rating {
     color: #888888;
   }
   
   .slide-imdb {
     color: #f5c518;
     display: flex;
     align-items: center;
     gap: 4px;
     font-weight: 600;
   }
   
   .slide-imdb svg {
     flex-shrink: 0;
   }
   
   /* Responsive Slider Content */
   @media (max-width: 768px) {
     .logo-left-bottom {
       left: 20px;
       bottom: 20px;
       max-width: 350px;
     }
     
     .logo-left-bottom img {
       max-height: 42px;
       max-width: 220px;
       margin-bottom: 8px;
     }
     
     .slide-overview {
       font-size: 13px;
       max-width: 300px;
       line-height: 1.4;
     }
     
     .cuff-hero-slider .splide__slide:hover .slide-overview {
       margin-bottom: 8px;
     }
     
     .slide-categories {
       font-size: 11px;
       gap: 4px;
     }
   }
   
   @media (max-width: 480px) {
     .logo-left-bottom {
       left: 20px;
       bottom: 20px;
       max-width: 300px;
     }
     
     .logo-left-bottom img {
       max-height: 40px;
       max-width: 200px;
       margin-bottom: 10px;
     }
     
     .slide-overview {
       font-size: 13px;
       max-width: 280px;
     }
     
     .cuff-hero-slider .splide__slide:hover .slide-overview {
       margin-bottom: 8px;
     }
     
     .slide-categories {
       font-size: 11px;
       gap: 4px;
     }
   }
  
     /* Hero Section */
     .hero-section {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        padding: 60px 0;
        text-align: center;
        margin-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 20px;
        background: linear-gradient(90deg, #ff6b6b, #ffd93d);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        color: #c4c4c4;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .featured-slider {
        margin-top: 40px;
    }
    
    /* Content Sections */
    .content-section {
        margin-bottom: 50px;
    }
    
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 1.1rem;
        font-weight: 500;
    }
    .item-name {
        font-size: 14px;
    }
    
    .view-all-btn {
        font-size: 0.875rem !important;
        padding: 6px 12px !important;
        white-space: nowrap !important;
        text-align: center !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #c4c4c4;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
 
    
    /* Content Grids */
    .content-grid,
    .countdown-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .trending-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
    
    /* Placeholder Cards */
    .placeholder-card {
        background: rgba(255, 255, 255, 0.05);
        border: 2px dashed rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        padding: 40px 20px;
        text-align: center;
        color: #888;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-placeholder {
        background: rgba(255, 255, 255, 0.05);
        border: 2px dashed rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        padding: 60px 20px;
        color: #888;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .hero-content p {
            font-size: 1rem;
        }
        
        
        .content-grid,
        .countdown-grid {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }
        
        .trending-list {
            grid-template-columns: 1fr;
        }
    }

    /* ========== TV GUIDE SECTION ========== */
    .tv-guide-section {
        margin-bottom: 40px;
    }
    
    .tv-guide-container {
        padding: 20px 0;
    }
    
    .tv-guide-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
    
    .tv-program-card {
        background-color: #101825; /* Solid color from image */
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid transparent; /* for hover effect */
        cursor: pointer;
        display: block; /* Make it work for <a> tags */
        text-decoration: none; /* Remove underline from link */
    }
    
    .tv-program-card:hover {
        border-color: rgba(255, 255, 255, 0.2); /* Subtle hover effect */
    }
    
    .program-image {
        overflow: hidden;
        position: relative;
    }
    
    .program-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .program-audio-icon {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
        width: 28px;
        height: 28px;
        background-color: rgba(17, 35, 66, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .program-audio-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
    }

    .program-logo-on-image {
        position: absolute;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: 35%;
        max-height: 40px;
    }
    
    .program-logo-on-image img {
        width: auto;
        height: 100%;
        max-height: 40px;
        object-fit: contain;
        filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
    }
    
    .program-info {
        padding: 16px;
    }
    
    .program-header {
        /* This class is no longer used for these cards */
    }
    
    .channel-logo img {
        /* This class is no longer used for these cards */
    }
    
    .program-details {
        /* This class is no longer used for these cards */
    }
    
    .program-title {
        font-size: 15px;
        font-weight: 600;
        color: #ffffff;
        margin: 0 0 4px 0;
        line-height: 1.3;
        font-family: 'Poppins', sans-serif;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .program-time {
        font-size: 14px;
        color: #8A98A8;
        font-weight: 400;
    }
    
    /* Responsive TV Guide */
    @media (max-width: 1024px) {
        .tv-guide-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }
    }
    
    @media (max-width: 768px) {
        .tv-guide-section {
            margin-bottom: 2rem !important;
        }
        
        .tv-guide-container {
            padding: 15px 0;
        }
        
        .tv-guide-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        .tv-program-card {
            border-radius: 12px;
        }
        
        .program-image {
            height: 140px;
            border-radius: 12px 12px 0 0;
        }
        
        .program-info {
            padding: 12px;
        }
        
        .program-title {
            font-size: 13px;
            line-height: 1.2;
            margin-bottom: 6px;
        }
        
        .program-time {
            font-size: 11px;
        }
        
        .program-logo-on-image {
            bottom: 8px;
            left: 8px;
            max-height: 30px;
            max-width: 30%;
        }
        
        .program-logo-on-image img {
            max-height: 30px;
        }
        
        .program-audio-icon {
            top: 8px;
            right: 8px;
            width: 24px;
            height: 24px;
            padding: 4px;
        }
        
        .program-audio-icon img {
            width: 16px;
            height: 16px;
        }
    }
    
    @media (max-width: 480px) {
        .tv-guide-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        
        .program-image {
            height: 120px;
        }
        
        .program-info {
            padding: 10px;
        }
        
        .program-title {
            font-size: 12px;
            margin-bottom: 4px;
        }
        
        .program-time {
            font-size: 10px;
        }
        
        .program-logo-on-image {
            bottom: 6px;
            left: 6px;
            max-height: 25px;
        }
        
        .program-logo-on-image img {
            max-height: 25px;
        }
        
        .program-audio-icon {
            top: 6px;
            right: 6px;
            width: 20px;
            height: 20px;
            padding: 3px;
        }
        
        .program-audio-icon img {
            width: 14px;
            height: 14px;
        }
    }
    
    /* TV Guide Section Header Override */
    .tv-guide-section .section-header {
       display: flex !important;
       justify-content: space-between !important;
       align-items: center !important;
       text-align: left !important;
       width: 100% !important;
    }
    
    .tv-guide-section .section-header h2 {
        color: #ffffff;
    }
    
    .tv-guide-section .view-all-btn {
       font-size: 0.875rem !important;
       padding: 6px 12px !important;
       white-space: nowrap !important;
       text-align: center !important;
       margin-left: auto !important;
       flex-shrink: 0 !important;
       background: rgba(255, 255, 255, 0.05);
       border: 1px solid rgba(255, 255, 255, 0.1);
       color: #c4c4c4;
    }
    
    .tv-guide-section .view-all-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

/* ========== CATEGORIES SLIDER SECTION ========== */
.categories-slider-section {
    margin-bottom: 40px;
    overflow-x: hidden;
    overflow-y: visible;
}

.categories-slider-container {
    padding: 40px 0 20px 0;
    overflow-x: hidden;
    overflow-y: visible;
}

.categories-slider {
    overflow-x: hidden;
    overflow-y: visible;
}

.categories-slider .splide__track {
    overflow-x: hidden;
    overflow-y: visible;
}

.categories-slider .splide__list {
    display: flex !important;
    overflow-x: hidden;
    overflow-y: visible;
    padding-top:25px !important
}

.categories-slider .splide__slide {
    width: calc(25% - 15px) !important;
    margin-right: 20px !important;
    min-width: 240px;
    overflow: visible !important;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.category-card {
    display: block;
    height: 175px; /* 4:3 aspect ratio base */
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible !important;
}

.category-card:hover {
    transform: translateY(-1px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.category-poster {
    position: absolute;
    top: -20px;
    right: 15px;
    width: 125px;

    z-index: 10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.category-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-logo {
    position: absolute;
    left: 20px;
    bottom: 25px;
    z-index: 8;
    max-width: calc(100% - 160px); /* Poster alanını hesaba katarak */
    max-height: 50px;
}

.category-logo img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}



/* Categories Slider Arrows - HIDDEN */
.categories-slider .splide__arrow {
    display: none !important;
}

.categories-slider .splide__arrow--prev {
    display: none !important;
}

.categories-slider .splide__arrow--next {
    display: none !important;
}

/* Responsive Categories Slider */
@media (max-width: 1024px) {
    .categories-slider .splide__slide {
        width: calc(33.333% - 14px) !important;
        min-width: 220px;
    }
    
    .category-card {
        height: 160px;
    }
    
    .category-poster {
        width: 110px;
        height: 160px;
    }
    
    .category-logo {
        left: 18px;
        bottom: 20px;
        max-width: calc(100% - 140px);
        max-height: 45px;
    }
    
    .category-logo img {
        max-height: 45px;
    }
}

@media (max-width: 768px) {
    .categories-slider .splide__slide {
        width: calc(50% - 10px) !important;
        margin-right: 15px !important;
        min-width: 200px;
    }
    
    .category-card {
        height: 140px;
    }
    
    .category-poster {
        width: 90px;
        height: 130px;
        top: -15px;
        right: 12px;
    }
    
    .category-logo {
        left: 15px;
        bottom: 18px;
        max-width: calc(100% - 115px);
        max-height: 35px;
    }
    
    .category-logo img {
        max-height: 35px;
    }
    
    /* Force visible overflow for mobile peek effect */
    .categories-slider {
        overflow: visible !important;
    }
    
    .categories-slider .splide__track {
        overflow: visible !important;
    }
    
    .categories-slider .splide__list {
        overflow: visible !important;
    }
    
    .categories-slider .splide__slide {
        overflow: visible !important;
    }
    
    .categories-slider .splide__arrow {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .categories-slider .splide__slide {
        width: calc(50% - 10px) !important;
        margin-right: 15px !important;
        min-width: 160px;
    }
    
    .category-card {
        height: 120px;
    }
    
    .category-poster {
        width: 75px;
        height: 110px;
        top: -12px;
        right: 10px;
    }
    
    .category-logo {
        left: 12px;
        bottom: 15px;
        max-width: calc(100% - 95px);
        max-height: 30px;
    }
    
    .category-logo img {
        max-height: 30px;
    }
}

@media (max-width: 480px) {
    .categories-slider-container {
        padding: 30px 0 15px 0;
    }
    
    .categories-slider .splide__slide {
        width: calc(50% - 8px) !important;
        margin-right: 12px !important;
        min-width: 140px;
    }
    
    .category-card {
        height: 100px;
    }
    
    .category-poster {
        width: 60px;
        height: 85px;
        top: -10px;
        right: 8px;
    }
    
    .category-logo {
        left: 10px;
        bottom: 12px;
        max-width: calc(100% - 78px);
        max-height: 25px;
    }
    
    .category-logo img {
        max-height: 25px;
    }
}

/* Categories Slider Section Header */
.categories-slider-section .section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    width: 100% !important;
}

.categories-slider-section .section-header h2 {
    color: #ffffff;
}

.categories-slider-section .view-all-btn {
    font-size: 0.875rem !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c4c4c4;
}

.categories-slider-section .view-all-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ========== EPISODE PAGE STYLES ========== */
/* Custom Episode Scrollbar */
.episode-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #ef4444 transparent;
}

.episode-scrollbar::-webkit-scrollbar {
    width: 0.5px;
}

.episode-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.episode-scrollbar::-webkit-scrollbar-thumb {
    background-color: #ef4444;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

.episode-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #dc2626;
}

/* Episode Item Enhancements */
.episode-item {
    position: relative;
    overflow: hidden;
}



/* Episode Progress - Minimal */
.episode-item .bg-red-500 {
    /* Simple static style - no animation */
}

/* Episode Thumbnail Hover Effect - Minimal */
.episode-item img {
    transition: all 0.2s ease;
}

.episode-item:hover img {
    transform: scale(1.02);
}

/* Episode Badge - Static */
.episode-item:hover .bg-black\/90 {
    background: rgba(0, 0, 0, 0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .episode-item img {
        width: 60px;
        height: 36px;
    }
    
    .episode-item .text-sm {
        font-size: 0.75rem;
    }
    
    .episode-item .text-xs {
        font-size: 0.625rem;
    }
}

/* ========== REDDIT-STYLE COMMENTS ========== */
/* Reddit Comment Container */
.reddit-comment {
    position: relative;
    border-radius: 0;
}

.reddit-comment:last-child {
    border-bottom: none;
}

/* Vote Buttons */
.vote-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vote-btn.upvote:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.vote-btn.downvote:hover {
    color: #6b7280;
    background: rgba(107, 114, 128, 0.1);
}

.vote-btn.upvote.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

.vote-btn.downvote.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
}

/* Episode/Movie Like/Dislike Buttons */
.fnc_addFeel {
    position: relative;
    transition: all 0.3s ease;
}

.fnc_addFeel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fnc_addFeel.active {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.fnc_addFeel.active:hover {
    background: rgba(239, 68, 68, 0.2) !important;
}

.fnc_addFeel.active svg {
    color: #ef4444 !important;
}

.fnc_addFeel.active span {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Loading state for buttons */
.fnc_addFeel .animate-spin {
    animation: spin 1s linear infinite;
}

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

/* Vote Score */
.vote-score {
    min-width: 24px;
    text-align: center;
    transition: color 0.2s ease;
}

/* Comment Actions */
.reply-btn, .share-btn, .delete-btn {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.reply-btn:hover, .share-btn:hover {
    color: #ffffff !important;
}

.delete-btn:hover {
    color: #ef4444 !important;
}

/* Comment Form Enhancements */
.comment-input {
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
}

.comment-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
}

/* Character Counter */
#char-count {
    transition: color 0.2s ease;
}

.comment-input:focus + div #char-count {
    color: #ef4444;
}

/* Sub Comments Styling */
.sub-comments {
    margin-left: 0;
    padding-left: 0;
}

.sub-comments .vote-btn {
    width: 20px;
    height: 20px;
}

.sub-comments .vote-score {
    font-size: 11px;
    min-width: 20px;
}

/* Sub-comment specific styling */
.sub-comments > div {
    position: relative;
}

.sub-comments > div:not(:last-child) {
    margin-bottom: 16px;
}

/* Sub-comment actions - no reply button needed */
.sub-comments .text-xs {
    justify-content: flex-start;
}

.sub-comments .delete-btn {
    font-size: 11px;
}

.sub-comments .delete-btn svg {
    width: 12px;
    height: 12px;
}

/* Spoiler Content */
.spoiler-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spoiler-blur:hover {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Reply Form */
.reply-form {
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
}

.reply-form.show {
    opacity: 1;
    max-height: 200px;
}

.reply-form textarea {
    font-family: 'Poppins', sans-serif;
}

/* Cancel Reply Button */
.cancel-reply {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

/* Load More Comments Button */
.load-more-comments {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.load-more-comments:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Comment Sort Dropdown */
.comment-sort select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

/* Comment Animation Effects - Minimal */
@keyframes fadeInComment {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New comment highlight - Simple */
.reddit-comment.new {
    animation: fadeInComment 0.3s ease-out;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    transition: all 0.3s ease;
}

/* After animation completes, ensure styles are reset */
.reddit-comment.new.fade-complete {
    background: transparent;
    border-left: none;
    animation: none;
}

/* Custom Checkbox Styles */
.custom-checkbox {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.checkbox-visual {
    width: 18px;
    height: 18px;
    border: 2px solid #6b7280;
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.checkbox-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.checkbox-check {
    width: 12px;
    height: 12px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.checkbox-visual:hover {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.checkbox-visual.checked {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.checkbox-visual.checked::before {
    opacity: 1;
    transform: scale(1);
}

.checkbox-visual.checked .checkbox-check {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Checkbox animation - Minimal */
.custom-checkbox:active .checkbox-visual {
    transform: scale(0.95);
}

/* Social Media Share Buttons */
.social-share-btn {
    text-align: center;
    padding: 16px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-share-btn:active {
    transform: translateY(0);
}

/* Hover effects for each platform - Minimal */
.social-share-btn[data-platform="twitter"]:hover .bg-black {
    background: #000000 !important;
}

.social-share-btn[data-platform="facebook"]:hover .bg-blue-600 {
    background: #1877f2 !important;
}

.social-share-btn[data-platform="whatsapp"]:hover .bg-green-500 {
    background: #25d366 !important;
}

/* Simple active state for social buttons */
.social-share-btn:active {
    transform: scale(0.95);
}

/* Divider styling */
.social-divider {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.social-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Custom Modal Styles */
.modal-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Modal animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* ========== V8 STREAMING CONTROL PANEL ========== */
/* Video Stream Control Panel */
.streaming-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.streaming-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.streaming-card.active {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444 !important;
}

.streaming-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 68, 68, 0.05);
    pointer-events: none;
    z-index: 1;
}

.streaming-card.active .absolute {
    opacity: 1 !important;
}

.quality-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.quality-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quality-card.active {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: #3b82f6 !important;
}

.quality-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.05);
    pointer-events: none;
    z-index: 1;
}

.quality-card.active .absolute {
    opacity: 1 !important;
}

/* Quality Selection Panel Animation */
.quality-selection-panel {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    display: none;
}

.quality-selection-panel.show {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
    display: block !important;
}

/* Stream Control Panel Glassmorphism */
.bg-gradient-to-r {
    position: relative;
}

.bg-gradient-to-r::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* Streaming Card Hover Effects */
.streaming-card:hover .w-12 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.quality-card:hover .w-8 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Minimal Active State */
.streaming-card.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.quality-card.active {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Mobile Responsive for Stream Control */
@media (max-width: 768px) {
    .streaming-card {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .streaming-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .quality-card {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .quality-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .bg-gradient-to-r {
        border-radius: 16px;
        padding: 16px;
    }
}

@media (max-width: 640px) {
    .streaming-card .p-4 {
        padding: 12px !important;
    }
    
    .quality-card .p-4 {
        padding: 12px !important;
    }
    
    .streaming-card .w-12 {
        width: 40px !important;
        height: 40px !important;
    }
    
    .streaming-card .w-6 {
        width: 20px !important;
        height: 20px !important;
    }
    
    .quality-card .w-8 {
        width: 32px !important;
        height: 32px !important;
    }
    
    .quality-card .w-4 {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Mobile Responsive Comments */
@media (max-width: 768px) {
    .reddit-comment {
        padding: 16px !important;
    }
    
    .vote-btn {
        width: 20px;
        height: 20px;
    }
    
    .vote-score {
        font-size: 11px;
        min-width: 20px;
    }
    
    .comment-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .reply-form textarea {
        font-size: 14px;
    }
    
    .sub-comments {
        padding-left: 0;
    }
    
    .sub-comments .vote-btn {
        width: 16px;
        height: 16px;
    }
    
    .sub-comments .vote-score {
        font-size: 10px;
        min-width: 16px;
    }
}

@media (max-width: 480px) {
    .reddit-comment {
        padding: 12px !important;
    }
    
    .comment-input {
        padding: 12px !important;
        font-size: 16px;
    }
    
    .reply-form textarea {
        padding: 8px !important;
        font-size: 14px;
    }
}

/* ========== SIMILAR CONTENT SECTION ========== */
/* Similar Content Section with Gradient Lines and Background */
.similar-content-section {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(90deg, rgba(95, 88, 135, 0), rgb(17 24 39) 50%, rgba(95, 88, 135, 0));
}

.similar-content-section::before {
    background: linear-gradient(90deg, rgba(95, 88, 135, 0), #475573 50%, rgba(95, 88, 135, 0));
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.similar-content-section::after {
    background: linear-gradient(90deg, rgba(95, 88, 135, 0), #475573 50%, rgba(95, 88, 135, 0));
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Similar Content Carousel */
.similar-content-slider {
    position: relative;
}

.similar-content-slider .splide__track {
    overflow: hidden !important;
}

.similar-content-slider .splide__list {
    padding-top: 10px;
    padding-bottom: 10px;
}

.similar-content-slider .splide__slide {
    margin-right: 16px;
}

/* Similar Content Arrows */
.similar-content-slider .splide__arrow {
    background: none;
    border: none;
    border-radius: 0;
    width: 40px;
    height: 40px;
}

.similar-content-slider .splide__arrow:hover {
    background: none;
    border: none;
}

.similar-content-slider .splide__arrow svg {
    fill: #ffffff;
    width: 16px;
    height: 16px;
}

.similar-content-slider .splide__arrow--prev {
    left: -50px;
}

.similar-content-slider .splide__arrow--next {
    right: -50px;
}

/* Similar Item Cards */
.similar-item {
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.similar-item:hover {
    transform: translateY(-4px);
}

.similar-item img {
    transition: all 0.3s ease;
    filter: brightness(0.8);
}

.similar-item:hover img {
    filter: brightness(1);
}

/* Similar Item Badges */
.similar-item .absolute {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Similar Item Rating */
.similar-item .text-yellow-400 {
    filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.5));
}

/* Similar Item Hover Effects */
.similar-item a:hover h4 {
    color: #ef4444 !important;
}

/* Play Button Animation */
.similar-item .bg-red-600 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.similar-item:hover .bg-red-600 {
    background: #dc2626 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Mobile Responsive for Similar Content */
@media (max-width: 768px) {
    .similar-content-section {
        padding: 30px 0;
    }
    
    .similar-content-slider .splide__slide {
        margin-right: 12px;
    }
    
    .similar-content-slider .splide__arrow {
        display: none !important;
    }
    
    .similar-item:hover {
        transform: none; /* Disable hover transform on mobile */
    }
    
    .similar-item img {
        height: 120px !important; /* Smaller height for mobile */
    }
    
    .similar-item h4 {
        font-size: 12px !important;
    }
    
    .similar-item .text-xs {
        font-size: 10px !important;
    }
    
    .similar-item .absolute {
        padding: 4px 6px !important;
        font-size: 10px !important;
    }
    
    .similar-item .w-3 {
        width: 10px !important;
        height: 10px !important;
    }
    
    .similar-item .w-4 {
        width: 12px !important;
        height: 12px !important;
    }
}

@media (max-width: 640px) {
    .similar-content-section {
        padding: 20px 0;
    }
    
    .similar-content-slider .splide__slide {
        margin-right: 10px;
    }
    
    .similar-item img {
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .similar-content-section {
        padding: 15px 0;
    }
    
    .similar-content-slider .splide__slide {
        margin-right: 8px;
    }
    
    .similar-item img {
        height: 90px !important;
    }
    
    .similar-item h4 {
        font-size: 11px !important;
        line-height: 1.2;
    }
    
    .similar-item .text-xs {
        font-size: 9px !important;
    }
}

/* ========== WATCH STATUS DROPDOWN ========== */
/* Watch Status Dropdown Styles */
.watch-status-dropdown {
    position: relative;
}

.watch-status-trigger {
    cursor: pointer;
    user-select: none;
}

.watch-status-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 100;
    min-width: 192px;
    margin-top: 4px;
}

.watch-status-btn {
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 0 4px;
}

.watch-status-btn:hover {
    background: rgba(75, 85, 99, 0.5) !important;
    color: #ffffff !important;
}

.watch-status-btn.active {
    background: #dc2626 !important;
    color: #ffffff !important;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.dropdown-arrow.rotate-180 {
    transform: rotate(180deg);
}

/* Mobile responsive for watch status */
@media (max-width: 768px) {
    .watch-status-menu {
        right: -10px;
        min-width: 160px;
    }
    
    .watch-status-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .watch-status-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 480px) {
    .watch-status-menu {
        right: -15px;
        min-width: 140px;
    }
    
    .watch-status-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
    
    .watch-status-btn svg {
        width: 12px !important;
        height: 12px !important;
        margin-right: 4px !important;
    }
}

/* ========== COMPACT STREAM PANEL STYLES ========== */
/* Compact Stream Panel */
.streaming-card.active {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3);
}

.quality-card.active {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.series-alter-active.active {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: #3b82f6 !important;
}

/* Compact Panel Responsive */
@media (max-width: 768px) {
    .streaming-card,
    .quality-card {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }
    
    .streaming-card img {
        width: 14px !important;
        height: 14px !important;
    }
    
    .quality-card .w-3 {
        width: 10px !important;
        height: 10px !important;
    }
}

@media (max-width: 480px) {
    .streaming-card,
    .quality-card {
        padding: 6px 10px !important;
        font-size: 10px !important;
    }
    
    .streaming-card span,
    .quality-card span {
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
                 white-space: nowrap;
     }
}

/* ========== COMMENT FORM MOBILE FIXES ========== */
/* Comment Form Mobile Optimizations */
@media (max-width: 768px) {
    /* Comment form container */
    .comment-input {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 16px !important;
        min-height: 100px;
    }
    
    /* Custom checkbox mobile */
    .custom-checkbox .checkbox-visual {
        width: 20px;
        height: 20px;
    }
    
    .custom-checkbox .checkbox-check {
        width: 14px;
        height: 14px;
    }
    
    /* Character counter mobile */
    #char-count {
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    /* Comment form layout fixes */
    .comment-input {
        border-radius: 12px;
        padding: 14px !important;
    }
    
    /* Ensure proper spacing in mobile layout */
    .flex.flex-col.md\:flex-row {
        gap: 16px;
    }
    
    .flex.flex-col.sm\:flex-row {
        gap: 12px;
    }
    
    /* Button mobile optimization */
    .w-full.md\:w-auto {
        min-height: 44px; /* Touch-friendly */
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    .comment-input {
        padding: 12px !important;
        font-size: 16px !important;
        min-height: 90px;
    }
    
    /* Compact checkbox label */
    .custom-checkbox .checkbox-visual {
        width: 18px;
        height: 18px;
    }
    
    .custom-checkbox .checkbox-check {
        width: 12px;
        height: 12px;
    }
    
    /* Smaller text on very small screens */
    .text-sm.md\:text-md {
        font-size: 13px;
    }
    
         #char-count {
         font-size: 10px;
     }
}

/* ========== EPISODE ACTIONS MOBILE FIXES ========== */
/* Episode Actions Mobile Optimizations */
@media (max-width: 640px) {
    /* Episode actions layout */
    .flex.flex-col.sm\:flex-row.sm\:items-center.sm\:justify-between {
        gap: 16px;
    }
    
    /* Center align buttons on mobile */
    .flex.items-center.justify-center.sm\:justify-start,
    .flex.items-center.justify-center.sm\:justify-end {
        width: 100%;
        justify-content: center;
    }
    
    /* Episode action buttons mobile */
    .flex.items-center.gap-2.px-4.py-2 {
        min-height: 44px; /* Touch-friendly */
        padding: 10px 16px;
    }
}

/* XS breakpoint for very small screens */
@media (max-width: 480px) {
    /* Hide/show text for small screens */
    .xs\:hidden {
        display: none !important;
    }
    
    .xs\:inline {
        display: inline !important;
    }
    
    /* Compact episode actions on very small screens */
    .flex.items-center.gap-2.px-4.py-2 {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .flex.items-center.gap-2.px-4.py-2 svg {
        width: 14px;
        height: 14px;
    }
}

/* Larger than XS - show full text */
@media (min-width: 481px) {
    .xs\:hidden {
        display: inline !important;
    }
    
    .xs\:inline {
        display: none !important;
    }
}

/* ========== VIDEO PLAYER RESPONSIVE ========== */
/* Aspect Video Utility */
.aspect-video {
    aspect-ratio: 16/9;
    position: relative;
    width: 100%;
}

/* Video Player Container */
.series-watch-player {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.series-watch-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

/* Mobile Video Player Adjustments */
@media (max-width: 768px) {
    .aspect-video {
        max-height: 60vh;
        min-height: 220px;
    }
    
    .series-watch-player {
        border-radius: 12px;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
        margin: 0;
    }
    
    .series-watch-player iframe {
        border-radius: 12px;
    }
    
    /* Container adjustments for mobile */
    .lg\:col-span-3 {
        margin: 0 -10px; /* Extend video to edges */
        padding: 0 10px;
    }
}

@media (max-width: 640px) {
    .aspect-video {
        max-height: 55vh;
        min-height: 200px;
    }
    
    .series-watch-player {
        border-radius: 10px;
    }
    
    .series-watch-player iframe {
        border-radius: 10px;
    }
    
    /* More aggressive container expansion */
    .lg\:col-span-3 {
        margin: 0 -15px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .aspect-video {
        max-height: 50vh;
        min-height: 180px;
    }
    
    .series-watch-player {
        border-radius: 8px;
    }
    
    .series-watch-player iframe {
        border-radius: 8px;
    }
    
         /* Full width on very small screens */
     .lg\:col-span-3 {
         margin: 0 -20px;
         padding: 0 20px;
     }
}

/* Video Container Mobile Optimizations */
@media (max-width: 768px) {
    /* Video container background */
    .bg-black.rounded-lg.overflow-hidden.shadow-xl {
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
        margin: 0 -10px;
    }
}

@media (max-width: 640px) {
    .bg-black.rounded-lg.overflow-hidden.shadow-xl {
        border-radius: 10px;
        margin: 0 -15px;
    }
}

@media (max-width: 480px) {
    .bg-black.rounded-lg.overflow-hidden.shadow-xl {
        border-radius: 8px;
        margin: 0 -20px;
    }
}

/* Stream Control Panel Mobile Fixes */
@media (max-width: 768px) {
    /* Compact stream panel */
    .bg-gray-900\/90.rounded-xl.p-4 {
        margin: 0 -10px;
        border-radius: 12px;
        padding: 16px;
    }
    
    /* Language/Quality selection mobile layout */
    .flex.flex-wrap.gap-2 {
        gap: 8px;
        justify-content: flex-start;
    }
    
    .streaming-card,
    .quality-card {
        font-size: 12px;
        padding: 8px 12px;
        min-width: auto;
    }
    
    .streaming-card img {
        width: 14px;
        height: 14px;
    }
    
    .quality-card .w-3 {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 640px) {
    .bg-gray-900\/90.rounded-xl.p-4 {
        margin: 0 -15px;
        border-radius: 10px;
        padding: 12px;
    }
    
    .streaming-card,
    .quality-card {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .bg-gray-900\/90.rounded-xl.p-4 {
        margin: 0 -20px;
        border-radius: 8px;
        padding: 10px;
    }
    
    .streaming-card,
    .quality-card {
        font-size: 10px;
        padding: 5px 8px;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .streaming-card span,
    .quality-card span {
        max-width: 50px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

/* ========== VIDEO PLAYER PLACEHOLDER MOBILE FIXES ========== */
/* Video Player No-Content Area Mobile Responsive */
.video-placeholder-container {
    position: relative;
    min-height: 200px;
}

@media (max-width: 768px) {
    /* Video placeholder container */
    .video-placeholder-container {
        padding: 20px !important;
        min-height: 120px;
    }
    
    /* Placeholder content container */
    .video-placeholder-container .max-w-lg {
        max-width: 100% !important;
        padding: 0 10px;
    }
    
    /* Hide series cover image on mobile */
    .video-placeholder-container .relative.mb-6 {
        display: none !important;
    }
    
    /* Info box */
    .video-placeholder-container .bg-gray-800 {
        padding: 16px !important;
        margin-bottom: 16px !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 640px) {
    /* Smaller padding for smaller screens */
    .video-placeholder-container {
        padding: 16px !important;
        min-height: 100px;
    }
    
    /* Keep cover image hidden */
    .video-placeholder-container .relative.mb-6 {
        display: none !important;
    }
    
    /* Smaller text sizes */
    .video-placeholder-container .text-lg {
        font-size: 16px !important;
    }
    
    .video-placeholder-container .text-md {
        font-size: 14px !important;
    }
    
    /* Compact info box */
    .video-placeholder-container .bg-gray-800 {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    /* Compact button */
    .video-placeholder-container .px-6.py-3 {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    /* Very compact for small phones */
    .video-placeholder-container {
        padding: 12px !important;
        min-height: 80px;
    }
    
    /* Keep cover image hidden */
    .video-placeholder-container .relative.mb-6 {
        display: none !important;
    }
    
    /* Extra small text */
    .video-placeholder-container .text-lg {
        font-size: 14px !important;
    }
    
    .video-placeholder-container .text-md {
        font-size: 12px !important;
    }
    
    /* Very compact info box */
    .video-placeholder-container .bg-gray-800 {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }
    
    /* Small button */
    .video-placeholder-container .px-6.py-3 {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
    
    /* Container margin adjustment */
    .video-placeholder-container .max-w-lg {
        padding: 0 5px;
    }
    
    /* Smaller gap between elements */
    .video-placeholder-container .mb-4 {
        margin-bottom: 8px !important;
    }
    
    .video-placeholder-container .mb-2 {
        margin-bottom: 4px !important;
    }
}

/* ========== PAGINATION STYLES ========== */
/* Pagination Container */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-wrapper ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-wrapper li {
    margin: 0;
    padding: 0;
}

/* Pagination Links */
.pagination-wrapper li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background-color: #1f2937;
    color: #9ca3af;
    border: 1px solid #374151;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pagination-wrapper li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.pagination-wrapper li a:hover::before {
    left: 100%;
}

.pagination-wrapper li a:hover {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Active Page */
.pagination-wrapper li.active a,
.pagination-wrapper li a.active {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
    font-weight: 600;
    position: relative;
}

.pagination-wrapper li.active a::after,
.pagination-wrapper li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

/* Previous/Next Buttons */
.pagination-wrapper li.prev a,
.pagination-wrapper li.next a {
    padding: 8px;
    min-width: 40px;
}

.pagination-wrapper li.prev a svg,
.pagination-wrapper li.next a svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.pagination-wrapper li.prev a:hover,
.pagination-wrapper li.next a:hover {
    background-color: #b91c1c;
    transform: translateY(-2px) scale(1.05);
}

/* Disabled State */
.pagination-wrapper li.disabled a {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* First/Last Page Indicators */
.pagination-wrapper li a[rel="start"],
.pagination-wrapper li a[rel="end"] {
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pagination-wrapper ul {
        gap: 6px;
    }
    
    .pagination-wrapper li a {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .pagination-wrapper li.prev a,
    .pagination-wrapper li.next a {
        padding: 6px;
        min-width: 36px;
    }
    
    .pagination-wrapper li.prev a svg,
    .pagination-wrapper li.next a svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .pagination-wrapper ul {
        gap: 4px;
    }
    
    .pagination-wrapper li a {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .pagination-wrapper li.prev a,
    .pagination-wrapper li.next a {
        padding: 4px;
        min-width: 32px;
    }
    
    .pagination-wrapper li.prev a svg,
    .pagination-wrapper li.next a svg {
        width: 12px;
        height: 12px;
    }
    
    /* Hide some page numbers on very small screens */
    .pagination-wrapper li:nth-child(n+6):nth-last-child(n+6) {
        display: none;
    }
    
    .pagination-wrapper li:nth-child(n+6):nth-last-child(n+6) + li {
        display: none;
    }
}

/* Pagination Container Background Adjustments */
@media (max-width: 640px) {
    .pagination-wrapper {
        padding: 0 10px;
    }
}

/* Enhanced Hover Effects */
.pagination-wrapper li a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

/* Focus States for Accessibility */
.pagination-wrapper li a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
}

.pagination-wrapper li a:focus-visible {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Search Results Container */
.leftbar-search-result {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.leftbar-search-result::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(31, 41, 55, 0.95);
}

.leftbar-search-result-head {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
    background: rgba(17, 24, 39, 0.3);
    border-radius: 12px 12px 0 0;
}

.leftbar-search-result-head span {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leftbar-search-result-in {
    padding: 8px;
}

/* Search Result Items */
.autosuggest-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.autosuggest-item:last-child {
    border-bottom: none;
}

.autosuggest-item:hover {
    background: rgba(55, 65, 81, 0.5);
    transform: translateX(4px);
}

.autosuggest-item img {
    width: 40px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    margin-right: 12px;
}

.autosuggest-item h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.autosuggest-item:hover h4 {
    color: #f87171;
}

.autosuggest-more {
    text-align: center;
    padding: 12px;
    border-top: 1px solid rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    font-size: 12px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.search-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-top: 2px solid #b1133f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.search-no-results {
    text-align: center;
    padding: 24px;
}

.search-no-results svg {
    color: #6b7280;
    margin: 0 auto 12px;
}

.search-no-results h3 {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.search-no-results p {
    color: #6b7280;
    font-size: 14px;
}

/* Mobile Search Result Responsive */
@media (max-width: 768px) {
    .leftbar-search-result {
        left: -16px;
        right: -16px;
        margin-top: 12px;
        max-height: 350px;
    }
    
    .autosuggest-item {
        padding: 10px;
    }
    
    .autosuggest-item img {
        width: 35px;
        height: 48px;
    }
    
    .autosuggest-item h4 {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .leftbar-search-result {
        left: -20px;
        right: -20px;
        max-height: 300px;
    }
    
    .autosuggest-item {
        padding: 8px;
    }
    
    .autosuggest-item img {
        width: 32px;
        height: 44px;
        margin-right: 10px;
    }
    
    .autosuggest-item h4 {
        font-size: 12px;
    }
    
    .leftbar-search-result-head span {
        font-size: 12px;
    }
}

/* Notification Dropdown */
.notification-btn {
    position: relative;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    width: 380px;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 114, 128, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 450px;
    overflow: hidden;
    display: none;
}

.notification-dropdown::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(31, 41, 55, 0.95);
}

.notification-dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
    background: rgba(17, 24, 39, 0.3);
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-dropdown-header span {
    color: #e5e7eb;
    font-size: 16px;
    font-weight: 600;
}

.mark-all-read {
    padding: 6px;
    border-radius: 6px;
    background: rgba(107, 114, 128, 0.1);
    color: #9ca3af;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.mark-all-read:hover {
    background: rgba(177, 19, 63, 0.2);
    color: #b1133f;
}

.notification-dropdown-content {
    max-height: 400px;
    overflow-y: auto;
}

/* Notification Items */
.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: rgba(55, 65, 81, 0.3);
}

.notification-item.unread {
    background: rgba(177, 19, 63, 0.05);
    border-left: 3px solid #b1133f;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 16px;
    width: 8px;
    height: 8px;
    background: #b1133f;
    border-radius: 50%;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 12px;
    border: 2px solid rgba(107, 114, 128, 0.2);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    color: #e5e7eb;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.notification-text a {
    color: #b1133f;
    text-decoration: none;
    font-weight: 500;
}

.notification-text a:hover {
    text-decoration: underline;
}

.notification-text img.lazy {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 2px;
}

.notification-time {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

.notification-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.notification-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-top: 2px solid #b1133f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.notification-empty {
    text-align: center;
    padding: 40px 20px;
}

.notification-empty svg {
    color: #6b7280;
    margin: 0 auto 16px;
}

.notification-empty h3 {
    color: #9ca3af;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.notification-empty p {
    color: #6b7280;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-dropdown {
        right: -16px;
        width: 320px;
        margin-top: 16px;
    }
    
    .notification-dropdown::after {
        right: 32px;
    }
    
    .notification-item {
        padding: 12px 16px;
    }
    
    .notification-avatar {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    
    .notification-text {
        font-size: 13px;
    }
    
    .notification-time {
        font-size: 11px;
    }
    
    /* User Dropdown Mobile */
    .user-dropdown-menu {
        right: -16px;
        width: 220px;
        margin-top: 16px;
    }
    
    .user-dropdown-menu::after {
        right: 32px;
    }
    
    .user-info {
        padding: 16px;
    }
    
    .user-name {
        font-size: 15px;
    }
    
    .user-level {
        font-size: 12px;
        padding: 3px 10px;
    }
    
    .dropdown-links li a {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .notification-dropdown {
        right: -20px;
        width: 280px;
        max-height: 350px;
    }
    
    .notification-dropdown::after {
        right: 36px;
    }
    
    .notification-dropdown-header {
        padding: 12px 16px;
    }
    
    .notification-dropdown-header span {
        font-size: 14px;
    }
    
    .notification-item {
        padding: 10px 12px;
    }
    
    .notification-avatar {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }
    
    .notification-text {
        font-size: 12px;
    }
    
    .notification-dropdown-content {
        max-height: 280px;
    }
    
    /* User Dropdown Small Mobile */
    .user-dropdown-menu {
        right: -20px;
        width: 200px;
    }
    
    .user-dropdown-menu::after {
        right: 36px;
    }
    
    .user-info {
        padding: 14px;
    }
    
    .user-name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .user-level {
        font-size: 11px;
        padding: 2px 8px;
    }
    
    .dropdown-links li a {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .dropdown-links li a:before {
        width: 4px;
        height: 4px;
        margin-right: 8px;
    }
}

/* Auth Pages Styling */
.content {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Full Width & Full Height Poster Wall Background */
.abstract-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(177, 19, 63, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 34, 82, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(220, 38, 127, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95) 0%, 
            rgba(20, 20, 20, 0.9) 25%,
            rgba(25, 25, 25, 0.85) 50%,
            rgba(30, 30, 30, 0.8) 75%,
            rgba(0, 0, 0, 0.95) 100%);
}

.abstract-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(177, 19, 63, 0.02) 100px,
            rgba(177, 19, 63, 0.02) 102px
        );
    animation: subtleMove 20s ease-in-out infinite;
}

.abstract-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(177, 19, 63, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    animation: gentleFloat 30s ease-in-out infinite reverse;
}

/* Content Overlay */
.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(120deg, 
            rgba(0, 0, 0, 0.3) 0%, 
            rgba(0, 0, 0, 0.1) 30%,
            rgba(0, 0, 0, 0.05) 60%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Abstract Background Animations */
@keyframes subtleMove {
    0%, 100% { 
        transform: translateX(0px) translateY(0px) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: translateX(5px) translateY(-3px) rotate(0.5deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateX(-3px) translateY(5px) rotate(-0.3deg);
        opacity: 0.9;
    }
    75% { 
        transform: translateX(2px) translateY(-2px) rotate(0.2deg);
        opacity: 0.7;
    }
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: scale(1.02) rotate(1deg);
        opacity: 0.4;
    }
    66% { 
        transform: scale(0.98) rotate(-0.5deg);
        opacity: 0.2;
    }
}

/* Mobile Responsive for Abstract Background */
@media (max-width: 768px) {
    .content {
        width: 100vw;
        height: 100vh;
        height: 100svh; /* Safe area viewport height for mobile */
        min-height: 100vh;
        min-height: 100svh;
    }
    
    .content-inner {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        padding: 12px;
    }
    
    .abstract-bg {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        background: 
            radial-gradient(ellipse at 30% 20%, rgba(177, 19, 63, 0.12) 0%, transparent 60%),
            radial-gradient(ellipse at 70% 80%, rgba(139, 34, 82, 0.08) 0%, transparent 50%),
            linear-gradient(145deg, 
                rgba(0, 0, 0, 0.96) 0%, 
                rgba(15, 15, 15, 0.92) 50%,
                rgba(0, 0, 0, 0.96) 100%);
    }
    
    .abstract-bg::before {
        animation: subtleMove 25s ease-in-out infinite;
        background: 
            repeating-linear-gradient(
                60deg,
                transparent,
                transparent 80px,
                rgba(177, 19, 63, 0.015) 80px,
                rgba(177, 19, 63, 0.015) 82px
            );
    }
    
    .abstract-bg::after {
        animation: gentleFloat 35s ease-in-out infinite reverse;
        background: 
            radial-gradient(circle at 50% 30%, rgba(177, 19, 63, 0.03) 0%, transparent 70%);
    }
}

@media (max-width: 480px) {
    .content {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
    }
    
    .content-inner {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        padding: 8px;
    }
    
    .abstract-bg {
        width: 100vw;
        height: 100vh;
        height: 100svh;
        background: 
            radial-gradient(ellipse at 40% 30%, rgba(177, 19, 63, 0.10) 0%, transparent 70%),
            linear-gradient(160deg, 
                rgba(0, 0, 0, 0.98) 0%, 
                rgba(10, 10, 10, 0.95) 100%);
    }
    
    .abstract-bg::before {
        animation: subtleMove 30s ease-in-out infinite;
        background: 
            repeating-linear-gradient(
                75deg,
                transparent,
                transparent 60px,
                rgba(177, 19, 63, 0.01) 60px,
                rgba(177, 19, 63, 0.01) 61px
            );
    }
    
    .abstract-bg::after {
        animation: gentleFloat 40s ease-in-out infinite reverse;
        background: 
            radial-gradient(circle at 60% 40%, rgba(177, 19, 63, 0.02) 0%, transparent 80%);
    }
}



.content-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.user-account {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.user-account-content {
    width: 100%;
    max-width: 400px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

.user-account-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.user-account-head {
    padding: 32px 32px 24px;
    text-align: center;
    background: transparent;
}

.user-account-head .flex.justify-center a {
    transition: all 0.3s ease;
}

.user-account-head .flex.justify-center a:hover {
    transform: scale(1.05);
}

.user-account-head .flex.justify-center a svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.user-account-head h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.user-account-head p {
    display: none;
}

.user-account-form {
    padding: 0 32px 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-element {
    position: relative;
}

.input-element.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

.input-element.flex a,
.input-element.flex button {
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.input-element.flex .checkbox {
    flex: 0 0 auto;
}

.input-element.flex .forget-password {
    flex: 0 0 auto;
}

.input-element input[type="text"],
.input-element input[type="email"],
.input-element input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
}

.input-element input[type="text"]::placeholder,
.input-element input[type="email"]::placeholder,
.input-element input[type="password"]::placeholder {
    color: #888;
    font-weight: 400;
}

.input-element input[type="text"]:focus,
.input-element input[type="email"]:focus,
.input-element input[type="password"]:focus {
    border-color: #555;
    background: #333;
}

/* Custom Checkbox */
.checkbox {
    display: flex;
    align-items: center;
}

.checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.checkbox-icon {
    width: 20px;
    height: 20px;
    border: 1px solid #555;
    border-radius: 6px;
    background: #2a2a2a;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox input[type="checkbox"]:checked + .checkbox-icon {
    background: #ffffff;
    border-color: #ffffff;
}

.checkbox input[type="checkbox"]:checked + .checkbox-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    width: 4px;
    height: 8px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
}

/* Forgot Password Link */
.forget-password a {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.forget-password a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Buttons */
.user-login,
.user-register,
.user-forgot {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-login:hover,
.user-register:hover,
.user-forgot:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.user-login:active,
.user-register:active,
.user-forgot:active {
    transform: translateY(0);
}

.user-login:disabled,
.user-register:disabled,
.user-forgot:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Register Page Link */
.input-element a[href*="kayit-ol"],
.input-element a[href*="giris-yap"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.input-element a[href*="kayit-ol"]:hover,
.input-element a[href*="giris-yap"]:hover {
    background: #333;
    border-color: #555;
    transform: translateY(-1px);
}

/* Social Login Icons */
.social-section {
    margin-top: 32px;
}

.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #404040;
}

.social-divider span {
    padding: 0 16px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #404040;
    background: #2a2a2a;
    color: #ffffff;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Google Icon */
.google-icon {
    background: #ffffff;
    border-color: #dadce0;
}

.google-icon:hover {
    background: #f8f9fa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Facebook Icon */
.facebook-icon {
    background: #1877F2;
    border-color: #1877F2;
}

.facebook-icon:hover {
    background: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Loading State */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-account {
        padding: 12px;
    }
    
    .user-account-content {
        max-width: 100%;
        border-radius: 16px;
        backdrop-filter: blur(15px);
    }
    
    .user-account-head {
        padding: 24px 20px 18px;
    }
    
    .user-account-head .flex.justify-center a {
        transform: scale(0.85);
        margin-bottom: 2px;
    }
    
    .user-account-head h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .user-account-head p {
        font-size: 14px;
    }
    
    .user-account-form {
        padding: 0 20px 20px;
    }
    
    .input-group {
        gap: 18px;
    }
    
    .input-element input[type="text"],
    .input-element input[type="email"],
    .input-element input[type="password"] {
        padding: 13px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 10px;
        transition: all 0.2s ease;
    }
    
    .input-element input[type="text"]:focus,
    .input-element input[type="email"]:focus,
    .input-element input[type="password"]:focus {
        box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.08);
    }
    
    .input-element.flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .input-element.flex a,
    .input-element.flex button {
        min-width: 100px;
        font-size: 14px;
    }
    
    .input-element.flex .checkbox-text {
        font-size: 13px;
    }
    
    .input-element.flex .forget-password a {
        font-size: 13px;
    }
    
    .input-element a[href*="kayit-ol"],
    .input-element a[href*="giris-yap"] {
        margin-right: 0;
        margin-bottom: 6px;
        padding: 13px 16px;
        border-radius: 10px;
        transition: all 0.2s ease;
    }
    
    .user-login,
    .user-register,
    .user-forgot {
        padding: 14px 20px;
        border-radius: 10px;
        transition: all 0.2s ease;
    }
    
    .checkbox-visual {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }
    
    .checkbox-text {
        font-size: 14px;
    }
    
    .social-section {
        margin-top: 20px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        transition: all 0.2s ease;
    }
    
    .social-icon:active {
        transform: scale(0.95);
    }
}

@media (max-width: 480px) {
    .user-account {
        padding: 8px;
    }
    
    .user-account-content {
        border-radius: 14px;
        backdrop-filter: blur(12px);
    }
    
    .user-account-head {
        padding: 20px 16px 16px;
    }
    
    .user-account-head .flex.justify-center a {
        transform: scale(0.75);
        margin-bottom: 1px;
    }
    
    .user-account-head h1 {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .user-account-head p {
        font-size: 13px;
    }
    
    .user-account-form {
        padding: 0 16px 18px;
    }
    
    .input-group {
        gap: 14px;
    }
    
    .input-element.flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    
    .input-element.flex a,
    .input-element.flex button {
        min-width: 80px;
        font-size: 13px;
    }
    
    .input-element.flex .checkbox-text {
        font-size: 12px;
    }
    
    .input-element.flex .forget-password a {
        font-size: 12px;
    }
    
    .input-element input[type="text"],
    .input-element input[type="email"],
    .input-element input[type="password"] {
        padding: 12px 14px;
        border-radius: 8px;
    }
    
    .input-element a[href*="kayit-ol"],
    .input-element a[href*="giris-yap"] {
        padding: 12px 14px;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .user-login,
    .user-register,
    .user-forgot {
        padding: 13px 18px;
        border-radius: 8px;
        font-size: 15px;
    }
    
    .checkbox-visual {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }
    
    .checkbox-text {
        font-size: 13px;
    }
    
    .social-section {
        margin-top: 18px;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .social-divider {
        margin-bottom: 18px;
    }
    
    .social-divider span {
        font-size: 13px;
    }
}

/* Mobile Search Results - Desktop temasını kullanıyor */
.mobile-autosuggest-item {
    cursor: pointer;
}

/* Cast Detail Page Styles */
/* Timeline Utility Classes */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cast Detail Mobile Responsive */
@media (max-width: 768px) {
    .xl\:col-span-4 {
        grid-column: span 12;
    }
    
    .xl\:col-span-8 {
        grid-column: span 12;
    }
    
    .sticky {
        position: relative;
    }
    
    .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .flex.gap-6 {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    /* Cast Detail Specific Mobile Styles */
    .cast-detail-mobile-container .max-w-xs {
        max-width: 200px;
    }
    
    .cast-detail-mobile-container .aspect-\[3\/4\] {
        max-height: 280px;
    }
    
    .cast-detail-mobile-container .bg-gray-900\/40 {
        padding: 12px;
    }
    
    .cast-detail-mobile-container .text-xs {
        font-size: 0.625rem;
    }
    
    .cast-detail-mobile-container .text-sm {
        font-size: 0.75rem;
    }
}
    
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .grid.gap-8 {
        gap: 24px;
    }
    
    .p-4 {
        padding: 12px;
    }
    
    .text-4xl {
        font-size: 1.75rem;
    }
    
    .text-5xl {
        font-size: 2rem;
    }
    
    .text-6xl {
        font-size: 2.25rem;
    }
    
    .flex.gap-2 {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .w-12.h-12 {
        width: 40px;
        height: 40px;
    }
    
    .w-16.h-20 {
        width: 56px;
        height: 70px;
    }
    
    /* Cast Detail Extra Small Mobile */
    .cast-detail-mobile-container .max-w-xs {
        max-width: 160px !important;
    }
    
    .cast-detail-mobile-container .aspect-\[3\/4\] {
        max-height: 220px !important;
    }
    
    .cast-detail-mobile-container .bg-gray-900\/40 {
        padding: 8px !important;
    }
    
    .cast-detail-mobile-container .gap-3 {
        gap: 6px !important;
    }
    
    .cast-detail-mobile-container .text-xs {
        font-size: 0.5625rem !important;
    }
    
    .cast-detail-mobile-container .text-sm {
        font-size: 0.6875rem !important;
    }
    
    .cast-detail-mobile-container .rounded-xl {
        border-radius: 8px !important;
    }
    
    .cast-detail-mobile-container .p-2 {
        padding: 6px !important;
    }
}

/* Cast List Page Styles */
.cast-item {
    height: 100%;
}

.cast-item .h-full {
    height: 100%;
}

.cast-item h3 {
    min-height: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cast-item .flex-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Custom Red Color #b1133f */
.group-hover-custom-red:hover {
    color: #b1133f !important;
}

.group:hover .group-hover-custom-red {
    color: #b1133f !important;
}

.group-hover-custom-text {
    transition: color 0.3s ease;
}

.group:hover .group-hover-custom-text {
    color: #b1133f !important;
}

.group-hover-custom-bg {
    transition: background-color 0.3s ease;
}

.group:hover .group-hover-custom-bg {
    background-color: #b1133f !important;
}

.custom-red-text {
    color: #b1133f !important;
}

/* Cast Stats Badges */
.cast-item .bg-red-500\/10,
.cast-item .bg-blue-500\/10,
.cast-item .bg-green-500\/10 {
    transition: all 0.3s ease;
}

.cast-item:hover .bg-red-500\/10 {
    background-color: rgba(177, 19, 63, 0.15);
}

.cast-item:hover .bg-blue-500\/10 {
    background-color: rgba(59, 130, 246, 0.15);
}

.cast-item:hover .bg-green-500\/10 {
    background-color: rgba(34, 197, 94, 0.15);
}

.cast-item .rounded-full {
    transition: all 0.3s ease;
}

.cast-item:hover .rounded-full {
    background-color: rgba(177, 19, 63, 0.3) !important;
}

/* Cast Mobile Responsive */
@media (max-width: 768px) {
    .cast-item .h-full {
        min-height: 280px;
    }
    
    .cast-item .p-4 {
        padding: 12px;
    }
    
    .cast-item h3 {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    .cast-item .text-xs {
        font-size: 0.75rem;
    }
    
    .cast-item .gap-2 {
        gap: 6px;
    }
    
    .cast-item .px-2 {
        padding-left: 6px;
        padding-right: 6px;
    }
    
    .cast-item .py-1 {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .cast-item .h-full {
        min-height: 260px;
    }
    
    .cast-item .p-4 {
        padding: 10px;
    }
    
    .cast-item h3 {
        font-size: 0.8125rem;
        margin-bottom: 8px;
    }
    
    .cast-item .gap-2 {
        gap: 4px;
    }
    
    .cast-item .px-2 {
        padding-left: 4px;
        padding-right: 4px;
    }
    
    .cast-item .py-1 {
        padding-top: 2px;
        padding-bottom: 2px;
    }
    
    .cast-item .w-3.h-3 {
        width: 10px;
        height: 10px;
    }
    
    .cast-item .w-2.h-2 {
        width: 8px;
        height: 8px;
    }
    
    .cast-item .w-6.h-6 {
        width: 20px;
        height: 20px;
    }
    
    .cast-item .text-xs {
        font-size: 0.6875rem;
    }
}

.search-loading-mobile {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
}

.search-spinner-small {
    animation: spin 1s linear infinite;
    width: 20px;
    height: 20px;
    border: 2px solid rgb(75, 85, 99);
    border-top-color: rgb(239, 68, 68);
    border-radius: 50%;
}

.search-loading-mobile span {
    margin-left: 12px;
    color: rgb(156, 163, 175);
    font-size: 14px;
}

/* Mobile search message containers */
.mobile-search-results .text-center {
    text-align: center;
}

.mobile-search-results .py-6 {
    padding: 24px 0;
}

.mobile-search-results .py-8 {
    padding: 32px 0;
}

.mobile-search-results .w-12 {
    width: 48px;
}

.mobile-search-results .h-12 {
    height: 48px;
}

.mobile-search-results .text-gray-600 {
    color: rgb(75, 85, 99);
}

.mobile-search-results .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mobile-search-results .mb-3 {
    margin-bottom: 12px;
}

.mobile-search-results .text-gray-400 {
    color: rgb(156, 163, 175);
}

.mobile-search-results .text-sm {
    font-size: 14px;
}

.no-results {
    color: rgb(156, 163, 175);
    text-align: center;
    padding: 32px;
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Mobile Search Modal Improvements */
.mobile-search-results {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: none; /* Hidden by default */
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.mobile-search-results.show,
.mobile-search-results.leftbar-search-result.show {
    display: block !important; /* Show when active */
}

/* Mobile search results content */
.mobile-search-results-content,
.mobile-search-results .leftbar-search-result-in {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

/* Mobile search results header */
.mobile-search-results-header,
.mobile-search-results .leftbar-search-result-head {
    display: block;
    padding: 16px 20px 12px;
    background: transparent;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
    margin-bottom: 0;
}

.mobile-search-results-header span,
.mobile-search-results .leftbar-search-result-head span {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    display: block;
}

/* Hide popular searches when search results are shown */
.mobile-search-results.show ~ .mobile-popular-searches {
    display: none;
}

/* Force mobile search results to show */
.mobile-search-modal .mobile-search-results.leftbar-search-result {
    display: none; /* Hidden by default */
}

.mobile-search-modal .mobile-search-results.leftbar-search-result.show {
    display: block !important; /* Force show when active */
}

/* Override any leftbar-search-result hiding rules for mobile */
.mobile-search-modal .leftbar-search-result {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: auto !important;
}

/* Ultimate override for mobile search results visibility */
.mobile-search-modal .mobile-search-results.leftbar-search-result.show,
.mobile-search-modal .mobile-search-results.show,
.mobile-search-content .mobile-search-results.show,
.mobile-search-content .leftbar-search-result.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: 60vh !important;
    overflow: visible !important;
}

.mobile-search-results::-webkit-scrollbar {
    width: 4px;
}

.mobile-search-results::-webkit-scrollbar-track {
    background: rgba(75, 85, 99, 0.1);
}

.mobile-search-results::-webkit-scrollbar-thumb {
    background: rgba(239, 68, 68, 0.5);
    border-radius: 2px;
}

.mobile-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 68, 68, 0.7);
}

/* Mobile Search No Results State */
.mobile-search-results .no-results {
    color: rgba(156, 163, 175, 1);
    text-align: center;
    padding: 2rem;
    font-size: 0.875rem;
}

/* Mobile Search Result Items Touch Feedback */
@media (max-width: 768px) {
    .mobile-autosuggest-item {
        -webkit-tap-highlight-color: rgba(239, 68, 68, 0.1);
        tap-highlight-color: rgba(239, 68, 68, 0.1);
    }
    
    .mobile-autosuggest-item:active {
        background-color: rgba(239, 68, 68, 0.1);
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
}

/* Profile Settings Tabs */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-btn {
    position: relative;
    transition: all 0.2s ease;
}

.tab-btn.active {
    border-bottom-color: #b1133f !important;
    color: #ffffff !important;
}

.tab-btn:hover {
    color: #ffffff;
}

/* Notification Toast Styles */
.notification-toast {
    animation: slideInRight 0.3s ease-out;
}

.notification-toast:hover {
    transform: translateX(-5px);
    transition: transform 0.2s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Profile Photo Upload Hover Effect */
.profile-photo-container:hover .profile-photo-overlay {
    opacity: 1;
}

.profile-photo-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Form Input Focus States */
.form-input:focus {
    border-color: #b1133f !important;
    box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.1) !important;
}

/* Profile Settings Form Styles */
#info-form input:focus,
#password-form input:focus,
#social-form input:focus,
textarea:focus {
    border-color: #b1133f !important;
    box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.1) !important;
}

/* Profile Photo Loading Animation */
.photo-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

.photo-loading .spinner {
    animation: spin 1s linear infinite;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
}

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

/* Custom Switch Styles */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.custom-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #374151;
    transition: all 0.3s ease;
    border-radius: 34px;
    border: 2px solid #4b5563;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: #9ca3af;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-switch input:checked + .switch-slider {
    background-color: #b1133f;
    border-color: #b1133f;
}

.custom-switch input:checked + .switch-slider:before {
    transform: translateX(26px);
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(177, 19, 63, 0.3);
}

.custom-switch input:focus + .switch-slider {
    box-shadow: 0 0 0 3px rgba(177, 19, 63, 0.2);
}

.custom-switch:hover .switch-slider {
    background-color: #4b5563;
}

.custom-switch:hover input:checked + .switch-slider {
    background-color: #9a0f35;
}

.custom-switch input:disabled + .switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-switch input:disabled + .switch-slider:before {
    background-color: #6b7280;
}

/* Settings Notification Styles */
.settings-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    z-index: 1000;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    max-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-notification.show {
    transform: translateX(0);
}

.settings-notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.settings-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.settings-notification .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.settings-notification .close-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .custom-switch {
        width: 50px;
        height: 28px;
    }
    
    .switch-slider:before {
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
    }
    
    .custom-switch input:checked + .switch-slider:before {
        transform: translateX(20px);
    }
    
    .settings-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-200px);
    }
    
    .settings-notification.show {
        transform: translateY(0);
    }
}

/* Watchlist Styles */
.series-card {
    position: relative;
}

.series-card .group:hover .transition-transform {
    transform: scale(1.05);
}

.series-card .group:hover .hover\:shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(177, 19, 63, 0.1), 0 10px 10px -5px rgba(177, 19, 63, 0.04);
}

/* Series card progress bar animation */
.series-card .bg-red-500 {
    transition: width 0.8s ease-in-out;
}

/* Watch status button animations */
.watch-status-btn {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.watch-status-btn:hover {
    transform: scale(1.1);
    background-color: rgba(177, 19, 63, 0.9) !important;
}

.watch-status-btn:active {
    transform: scale(0.95);
}

/* Load more button */
.more-watchlist {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.more-watchlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(177, 19, 63, 0.15);
}

.more-watchlist:active {
    transform: translateY(0);
}

/* Empty state animations */
.watchlist-empty-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Series grid responsive improvements */
@media (max-width: 640px) {
    .series-card .aspect-\[2\/3\] {
        aspect-ratio: 3/4;
    }
    
    .series-card .p-4 {
        padding: 12px;
    }
    
    .series-card h3 {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .series-card .text-xs {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    
    .series-card .bg-gray-900\/50 {
        border-radius: 16px;
    }
    
    .series-card .absolute.top-3 {
        top: 8px;
    }
    
    .series-card .absolute.top-3.left-3 {
        left: 8px;
    }
    
    .series-card .absolute.top-3.right-3 {
        right: 8px;
    }
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Watchlist Page Styles */
.watchlist-tab {
    background: transparent;
    color: #9CA3AF;
    border: none;
    position: relative;
    overflow: hidden;
}

.watchlist-tab.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
    color: #FFFFFF;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.watchlist-tab:hover {
    background: rgba(55, 65, 81, 0.5);
    color: #D1D5DB;
}

.watchlist-tab.active:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(239, 68, 68, 0.08));
}

/* Movie Cards, Series Cards & Anime Cards */
.movie-card, .series-card, .anime-card {
    position: relative;
}

.movie-card:hover .absolute.inset-0, .series-card:hover .absolute.inset-0, .anime-card:hover .absolute.inset-0 {
    opacity: 1;
}

.movie-card .group:hover .transition-transform, .series-card .group:hover .transition-transform, .anime-card .group:hover .transition-transform {
    transform: scale(1.02);
}

.movie-card .group:hover .hover\:shadow-lg, .series-card .group:hover .hover\:shadow-lg, .anime-card .group:hover .hover\:shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.movie-card .bg-red-600:hover, .series-card .bg-red-600:hover, .anime-card .bg-red-600:hover {
    background-color: #DC2626;
}

/* Watch Status Button specific styles for watchlist */
.movie-card .watch-status-btn, .series-card .watch-status-btn, .anime-card .watch-status-btn {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.movie-card .watch-status-btn:hover, .series-card .watch-status-btn:hover, .anime-card .watch-status-btn:hover {
    background: #DC2626;
    transform: scale(1.1);
}

.movie-card .watch-status-btn:active, .series-card .watch-status-btn:active, .anime-card .watch-status-btn:active {
    transform: scale(0.95);
}

/* Load More Button for watchlist */
.more-watchlist {
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.3);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-watchlist:hover {
    background: rgba(75, 85, 99, 0.5);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-2px);
}

.more-watchlist:active {
    transform: translateY(0);
}

/* Tab content animations */
.tab-content {
    display: none;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Empty state icons animation */
.watchlist-empty-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive adjustments for watchlist */
@media (max-width: 640px) {
    .movie-card .aspect-\[2\/3\], .series-card .aspect-\[2\/3\], .anime-card .aspect-\[2\/3\] {
        aspect-ratio: 2/3;
    }
    
    .movie-card .p-4, .series-card .p-4, .anime-card .p-4 {
        padding: 1rem;
    }
    
    .movie-card h3, .series-card h3, .anime-card h3 {
        font-size: 0.875rem;
    }
    
    .movie-card .text-xs, .series-card .text-xs, .anime-card .text-xs {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .movie-card .bg-gray-900\/50, .series-card .bg-gray-900\/50, .anime-card .bg-gray-900\/50 {
        background: rgba(17, 24, 39, 0.5);
    }
    
    .movie-card .absolute.top-3, .series-card .absolute.top-3, .anime-card .absolute.top-3 {
        top: 0.5rem;
    }
    
    .movie-card .absolute.top-3.left-3, .series-card .absolute.top-3.left-3, .anime-card .absolute.top-3.left-3 {
        left: 0.5rem;
    }
    
    .movie-card .absolute.top-3.right-3, .series-card .absolute.top-3.right-3, .anime-card .absolute.top-3.right-3 {
        right: 0.5rem;
    }
}

/* Notification Page Styles */
.notification-item {
    position: relative;
    transition: all 0.2s ease;
}

.notification-item.unread {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(239, 68, 68, 0.02));
    border-left: 3px solid #DC2626;
}

.notification-item:hover {
    background: rgba(55, 65, 81, 0.3) !important;
}

.notification-item.unread:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(239, 68, 68, 0.04)) !important;
}

/* Notification message styling */
.notification-message {
    word-break: break-word;
    line-height: 1.5;
}

.notification-message a {
    color: #F87171;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notification-message a:hover {
    color: #DC2626;
}

/* Notification icon styling */
.notification-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* Action buttons styling */
.mark-as-read, .delete-notification {
    opacity: 0;
    transition: all 0.2s ease;
}

.notification-item:hover .mark-as-read,
.notification-item:hover .delete-notification {
    opacity: 1;
}

.mark-as-read:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
}

.delete-notification:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* Mark all as read button */
.mark-all-read {
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.mark-all-read:hover {
    background: rgba(75, 85, 99, 0.5);
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

/* Empty state icon animation */
.notification-empty-icon {
    animation: float 3s ease-in-out infinite;
}

/* Loading overlay */
#notification-loading {
    backdrop-filter: blur(8px);
    z-index: 9999;
}

/* Notification toast improvements */
.notification-toast {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

/* Responsive adjustments for notifications */
@media (max-width: 768px) {
    .notification-item .p-6 {
        padding: 1rem;
    }
    
    .notification-item .w-12.h-12 {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .notification-item .gap-4 {
        gap: 0.75rem;
    }
    
    .mark-all-read .hidden.md\:inline {
        display: none;
    }
    
    .notification-toast {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        transform: translateY(100%);
    }
    
    .notification-toast:not(.translate-x-full) {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .notification-item .p-6 {
        padding: 0.75rem;
    }
    
    .notification-item .text-sm {
        font-size: 0.875rem;
    }
    
    .notification-item .text-xs {
        font-size: 0.75rem;
    }
    
    .mark-as-read, .delete-notification {
        opacity: 1; /* Always show on mobile */
    }
    
    .flex.items-center.gap-3 {
        gap: 0.5rem;
    }
    
    .mark-all-read .px-4.py-2 {
        padding: 0.5rem 0.75rem;
    }
}

/* Collections Page Styles */
.collection-card {
    position: relative;
    transition: all 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
}

.collection-card .group:hover .transition-transform {
    transform: scale(1.05);
}

.collection-card .group:hover .hover\:shadow-lg {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Collection images stack effect */
.collection-card .flex.-space-x-2 > * + * {
    margin-left: -0.5rem;
}

.collection-card .-space-x-2 > div {
    transition: all 0.2s ease;
}

.collection-card:hover .-space-x-2 > div {
    transform: translateX(2px);
}

/* Collection action buttons */
.edit-collection, .delete-collection {
    opacity: 0;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none;
    color: #9ca3af;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.collection-card:hover .edit-collection,
.collection-card:hover .delete-collection {
    opacity: 1;
}

.edit-collection:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.delete-collection:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Collection create button */
.collection-create-btn {
    background-color: #dc2626;
    border: 1px solid #dc2626;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.collection-create-btn:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
}

.collection-create-btn:active {
    background-color: #991b1b;
    transform: translateY(0);
}

/* Collection empty state icon animation */
.collection-empty-icon {
    animation: float 3s ease-in-out infinite;
}

/* Collection loading overlay */
#collection-loading {
    backdrop-filter: blur(8px);
    z-index: 9999;
}

/* Collection cover image effects */
.collection-card .aspect-\[3\/4\] {
    aspect-ratio: 3/4;
}

.collection-card .bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

/* Collection info hover effects */
.collection-card h3 a:hover {
    color: #F87171;
    transition: color 0.2s ease;
}

/* Collection stats styling */
.collection-card .text-xs .w-3 {
    flex-shrink: 0;
}

/* Collection creator avatar */
.collection-card .w-5.h-5 {
    border: 1px solid rgba(75, 85, 99, 0.5);
    transition: border-color 0.2s ease;
}

.collection-card:hover .w-5.h-5 {
    border-color: rgba(239, 68, 68, 0.3);
}

/* Responsive adjustments for collections */
@media (max-width: 768px) {
    .collection-card .p-4 {
        padding: 1rem;
    }
    
    .collection-card .aspect-\[3\/4\] {
        aspect-ratio: 3/4;
    }
    
    .collection-card h3 {
        font-size: 0.875rem;
    }
    
    .collection-card .text-xs {
        font-size: 0.75rem;
    }
    
    .collection-create-btn .hidden.sm\:inline {
        display: none;
    }
}

@media (max-width: 640px) {
    .collection-card .absolute.bottom-4 {
        bottom: 0.75rem;
    }
    
    .collection-card .absolute.bottom-4.left-4 {
        left: 0.75rem;
    }
    
    .collection-card .absolute.bottom-4.right-4 {
        right: 0.75rem;
    }
    
    .collection-card .w-8.h-10 {
        width: 1.5rem;
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-1.sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .collection-card .bg-gray-900\/50 {
        background: rgba(17, 24, 39, 0.5);
    }
    
    .collection-card .absolute.top-3.right-3 {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .edit-collection, .delete-collection {
        opacity: 1; /* Always show on mobile */
    }
}

/* Collection toast notifications */
.collection-toast {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .collection-toast {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        transform: translateY(100%);
    }
    
    .collection-toast:not(.translate-x-full) {
        transform: translateY(0);
    }
}

/* Collection Detail Page Styles */
.collection-content-card {
    position: relative;
    transition: all 0.3s ease;
}

.collection-content-card:hover {
    transform: translateY(-4px);
}

.collection-content-card .group:hover .transition-transform {
    transform: scale(1.05);
}

.collection-content-card .group:hover .hover\:shadow-lg {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}



/* Collection content card badges */
.collection-content-card .absolute.top-3.left-3,
.collection-content-card .absolute.top-3.right-3,
.collection-content-card .absolute.bottom-3.left-3,
.collection-content-card .absolute.bottom-3.right-3 {
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

/* Collection content hover effects */
.collection-content-card h3 a:hover {
    color: #F87171;
    transition: color 0.2s ease;
}

/* Collection action buttons */
.edit-collection-btn, .delete-collection-btn {
    background-color: #1f2937;
    border: 1px solid #374151;
    color: #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.edit-collection-btn:hover {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
}

.delete-collection-btn:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
}

.edit-collection-btn:active, .delete-collection-btn:active {
    transform: translateY(0);
}

/* Remove from collection button */
.remove-from-collection {
    opacity: 0;
    transition: all 0.2s ease;
    background-color: transparent;
    border: none;
    color: #9ca3af;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.collection-content-card:hover .remove-from-collection {
    opacity: 1;
}

.remove-from-collection:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Collection detail loading overlay */
#collection-detail-loading {
    backdrop-filter: blur(8px);
    z-index: 9999;
}

/* Collection stats styling */
.collection-content-card .text-xs .w-3 {
    flex-shrink: 0;
}

/* Collection empty state icon animation */
.collection-empty-icon {
    animation: float 3s ease-in-out infinite;
}

/* Collection content card responsive adjustments */
@media (max-width: 768px) {
    .collection-content-card .p-3 {
        padding: 0.5rem;
    }
    
    .collection-content-card .aspect-\[3\/4\] {
        aspect-ratio: 3/4;
    }
    
    .collection-content-card h3 {
        font-size: 0.625rem;
    }
    
    .collection-content-card .text-xs {
        font-size: 0.5rem;
    }
    
    .edit-collection-btn .hidden.sm\:inline,
    .delete-collection-btn .hidden.sm\:inline {
        display: none;
    }
}

@media (max-width: 640px) {
    .grid.grid-cols-2.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .collection-content-card .absolute.top-3 {
        top: 0.5rem;
    }
    
    .collection-content-card .absolute.bottom-3 {
        bottom: 0.5rem;
    }
    
    .collection-content-card .absolute.top-3.left-3 {
        left: 0.5rem;
    }
    
    .collection-content-card .absolute.top-3.right-3 {
        right: 0.5rem;
    }
    
    .collection-content-card .absolute.bottom-3.left-3 {
        left: 0.5rem;
    }
    
    .collection-content-card .absolute.bottom-3.right-3 {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-2.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .collection-content-card .bg-gray-900\/50 {
        background: rgba(17, 24, 39, 0.5);
    }
    
    .remove-from-collection {
        opacity: 1; /* Always show on mobile */
    }
    
    .edit-collection-btn, .delete-collection-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Collection detail toast notifications */
.collection-detail-toast {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .collection-detail-toast {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 1rem;
        transform: translateY(100%);
    }
    
    .collection-detail-toast:not(.translate-x-full) {
        transform: translateY(0);
    }
}

/* Collection Edit Modal Styles */
#collection-edit-modal {
    backdrop-filter: blur(8px);
}

#collection-edit-modal .bg-gray-900\/95 {
    background: rgba(17, 24, 39, 0.95);
}

.collection-edit-item {
    transition: all 0.2s ease;
}

.collection-edit-item:hover {
    background-color: rgba(55, 65, 81, 0.3);
}

.search-result-item {
    transition: all 0.2s ease;
}

.search-result-item:hover {
    transform: translateY(-1px);
}

.add-to-collection-btn:disabled {
    background-color: #10b981;
    cursor: not-allowed;
}

.add-to-collection-btn:disabled:hover {
    background-color: #10b981;
}

/* Modal responsive styles */
@media (max-width: 768px) {
    #collection-edit-modal .max-w-4xl {
        max-width: 95vw;
    }
    
    #collection-edit-modal .p-6 {
        padding: 1rem;
    }
    
    .collection-edit-item .flex.items-center.gap-4 {
        gap: 0.75rem;
    }
    
    .collection-edit-item .w-12.h-16 {
        width: 2.5rem;
        height: 3.5rem;
    }
    
    .search-result-item .w-12.h-16 {
        width: 2.5rem;
        height: 3.5rem;
    }
}

@media (max-width: 480px) {
    #collection-edit-modal .max-w-4xl {
        max-width: 100vw;
        margin: 0.5rem;
    }
    
    #collection-edit-modal .rounded-2xl {
        border-radius: 1rem;
    }
    
    .collection-edit-item .text-sm {
        font-size: 0.75rem;
    }
    
    .search-result-item .text-sm {
        font-size: 0.75rem;
    }
}


    
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    display: inline-block;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    border-radius: 4px;
}

.footer-link:hover {
    color: #ffffff;
    background-color: rgba(220, 38, 38, 0.1);
    padding-left: 0.5rem;
    transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-links-title {
        font-size: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* Modal Smooth Animation - Enhanced */
.group-edit-modal {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0.85) translateY(-40px);
    will-change: transform, opacity;
    pointer-events: none;
    filter: blur(2px);
}

.group-edit-modal:not(.hidden) {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    filter: blur(0);
}

/* Modal visible state for smooth animation */
.group-edit-modal.modal-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    filter: blur(0);
}

/* Modal backdrop smooth animation */
.group-edit-modal .bg-black.bg-opacity-50 {
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.group-edit-modal:not(.hidden) .bg-black.bg-opacity-50,
.group-edit-modal.modal-visible .bg-black.bg-opacity-50 {
    opacity: 0.5;
}

/* Modal content smooth animation */
.group-edit-modal .bg-gray-900 {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.85);
    will-change: transform;
}

.group-edit-modal:not(.hidden) .bg-gray-900,
.group-edit-modal.modal-visible .bg-gray-900 {
    transform: scale(1);
}

/* Enhanced modal animations */
.group-edit-modal .bg-gray-900 {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.9);
    will-change: transform;
}

.group-edit-modal:not(.hidden) .bg-gray-900,
.group-edit-modal.modal-visible .bg-gray-900 {
    transform: scale(1);
}

/* Modal close animation */
.group-edit-modal.closing {
    opacity: 0;
    transform: scale(0.85) translateY(-40px);
    pointer-events: none;
    filter: blur(2px);
}

.group-edit-modal.closing .bg-gray-900 {
    transform: scale(0.85);
}

.group-edit-modal.closing .bg-black.bg-opacity-50 {
    opacity: 0;
}

/* Group Preview Styling */
.group-edit-modal .bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.group-edit-modal .object-cover {
    object-fit: cover;
}

/* Preview image hover effects */
.group-edit-modal .bg-cover:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.group-edit-modal .object-cover:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Group Post Voting System - Left Sidebar */
.flex-shrink-0.upvoted .vote-up svg {
    color: #f97316 !important; /* Orange for upvote */
}

.flex-shrink-0.downvoted .vote-down svg {
    color: #3b82f6 !important; /* Blue for downvote */
}

.vote-up:hover svg {
    color: #f97316 !important;
    transform: scale(1.1);
}

.vote-down:hover svg {
    color: #3b82f6 !important;
    transform: scale(1.1);
}

.vote-up svg, .vote-down svg {
    transition: all 0.2s ease;
}

.vote-up:disabled svg, .vote-down:disabled svg {
    opacity: 0.6;
    cursor: not-allowed;
}

.vote-count {
    font-weight: 600;
    min-width: 2rem;
    text-align: center;
}

/* Vote section styling */
.flex-shrink-0 {
    transition: all 0.2s ease;
}

.flex-shrink-0.upvoted {
    /* border-right-color: #f97316; */
}

.flex-shrink-0.downvoted {
    border-right-color: #3b82f6;
}

/* Comment Voting System - Same styling as posts */
.comment-item .flex-shrink-0.upvoted .vote-up svg {
    color: #f97316 !important;
}

.comment-item .flex-shrink-0.downvoted .vote-down svg {
    color: #3b82f6 !important;
}

.comment-item .vote-up:hover svg {
    color: #f97316 !important;
    transform: scale(1.1);
}

.comment-item .vote-down:hover svg {
    color: #3b82f6 !important;
    transform: scale(1.1);
}

.comment-item .vote-up svg, .comment-item .vote-down svg {
    transition: all 0.2s ease;
}

.comment-item .flex-shrink-0.upvoted {
    /* border-right-color: #f97316; */
}

.comment-item .flex-shrink-0.downvoted {
    /* border-right-color: #3b82f6; */
}

/* Request Page Styles - V8 Theme */
.request-response {
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0.5rem;
    background: #374151;
    border: 1px solid #4b5563;
}

.request-response::-webkit-scrollbar {
    width: 6px;
}

.request-response::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 3px;
}

.request-response::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

.request-response::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Vote buttons styling for request page */
.vote-buttons.upvoted .vote-up svg {
    color: #f97316 !important;
}

.vote-buttons.downvoted .vote-down svg {
    color: #3b82f6 !important;
}

.vote-buttons button {
    transition: all 0.2s ease;
}

.vote-buttons button:hover {
    background-color: #4b5563;
}

.vote-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Status badge colors */
.success {
    background-color: #065f46 !important;
    color: #6ee7b7 !important;
    border-color: #047857 !important;
}

.warning {
    background-color: #92400e !important;
    color: #fbbf24 !important;
    border-color: #b45309 !important;
}

.denied {
    background-color: #991b1b !important;
    color: #fca5a5 !important;
    border-color: #dc2626 !important;
}

.in-queue {
    background-color: #1e40af !important;
    color: #93c5fd !important;
    border-color: #2563eb !important;
}

.added {
    background-color: #065f46 !important;
    color: #6ee7b7 !important;
    border-color: #047857 !important;
}

/* Request search results styling */
.request-response .search-result-item {
    padding: 0.75rem;
    border-bottom: 1px solid #4b5563;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.request-response .search-result-item:hover {
    background-color: #4b5563;
}

.request-response .search-result-item:last-child {
    border-bottom: none;
}

/* Global search results scroll styling */
#global-search-results {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #6b7280 #374151;
}

#global-search-results::-webkit-scrollbar {
    width: 6px;
}

#global-search-results::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 3px;
}

#global-search-results::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 3px;
}

#global-search-results::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Search result items in global search */
#global-search-results .search-result-item {
    padding: 0.75rem;
    border-bottom: 1px solid #374151;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: #1f2937;
}

#global-search-results .search-result-item:hover {
    background-color: #374151;
}

#global-search-results .search-result-item:last-child {
    border-bottom: none;
}

/* Global search results container styling */
#global-search-results {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

/* Load more button styling */
.more-request {
    transition: all 0.3s ease;
}

.more-request:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.more-request:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Search Type Selector Styles */
#search-type-selector {
    background-image: none;
}

#search-type-selector:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

#search-type-selector option {
    background-color: #1e293b;
    color: #e2e8f0;
}

#search-type-selector option:hover {
    background-color: #334155;
}

/* ========== QUEST PAGE STYLES ========== */

/* Quest Cards */
.quest-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(177, 19, 63, 0.3);
}

.quest-card.achievement {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.quest-card.completed {
    border-color: rgba(40, 167, 69, 0.3);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.02));
}

.quest-card.limited {
    border-color: rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), rgba(236, 72, 153, 0.02));
    position: relative;
    overflow: hidden;
}

.quest-card.limited::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899, #f97316, #ec4899);
    animation: shimmer 2s linear infinite;
}

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

.quest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.quest-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #b1133f, #8b0f31);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quest-type {
    background: rgba(177, 19, 63, 0.2);
    color: #b1133f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quest-type.limited {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.quest-timer {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    padding: 4px 8px;
}

.timer-text {
    color: #ec4899;
    font-size: 11px;
    font-weight: 600;
}

.quest-content {
    margin-bottom: 16px;
}

.quest-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.quest-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.quest-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #b1133f, #8b0f31);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    min-width: 40px;
}

.quest-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(177, 19, 63, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(177, 19, 63, 0.2);
}

.quest-reward.completed {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
}

.quest-reward.limited {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

.reward-icon {
    color: #b1133f;
}

.quest-reward.completed .reward-icon {
    color: #28a745;
}

.quest-reward.limited .reward-icon {
    color: #ec4899;
}

.reward-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

/* Badge Cards */
.badge-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-card.earned {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
}

.badge-card.locked {
    opacity: 0.5;
    filter: grayscale(1);
}

.badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #b1133f, #8b0f31);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-card.earned .badge-icon {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.badge-card.locked .badge-icon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.badge-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.badge-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Quest Hover Effects */
.quest-card.hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.quest-timer.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}