/* HornyTV - Global Styling & Design System */
:root {
    --bg-main: #07090e;
    --bg-surface: #0f1420;
    --bg-card: #151c2d;
    --bg-card-hover: #1e283e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(139, 92, 246, 0.4);
    
    --primary-neon: #8b5cf6;
    --primary-hover: #7c3aed;
    --accent-pink: #ec4899;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --accent-red: #ef4444;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
    --shadow-pink-glow: 0 0 25px rgba(236, 72, 153, 0.25);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #263148;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
}

/* ⚡ REAL-TIME COMMUNITY ACTIVITY TICKER (FOMO BAR) STYLING */
.live-activity-ticker {
    background: linear-gradient(90deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.15));
    border-bottom: 1px solid var(--border-highlight);
    padding: 6px 20px;
    font-size: 0.82rem;
    color: var(--text-main);
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 120;
}
.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: fadeInSlide 0.5s ease;
}
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FLOATING SURPRISE SHUFFLE REEL BUTTON */
.floating-shuffle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 800;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-neon));
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4), 0 0 20px rgba(139, 92, 246, 0.4);
    animation: pulseShuffle 2.5s infinite;
    transition: var(--transition);
}
.floating-shuffle-btn:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.6);
}
@keyframes pulseShuffle {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* CONTINUOUS WATCH HISTORY FLOATING DOCK */
.continue-watching-dock {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 800;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.dock-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dock-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#dockVideoTitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

/* TRENDING SEARCHES DROPDOWN (TOP 5) STYLING */
.search-box {
    position: relative;
    flex: 1;
    max-width: 500px;
}
.trending-dropdown,
.trending-searches-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    z-index: 999;
    overflow: hidden;
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.trending-dropdown.active,
.trending-searches-dropdown.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}
.trending-header,
.trending-title {
    padding: 12px 18px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}
.trending-list {
    display: flex;
    flex-direction: column;
}
.trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}
.trending-item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
    padding-left: 24px;
}
.rank-num, .trend-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trending-item:nth-child(1) .rank-num, .trending-item:nth-child(1) .trend-rank { background: var(--accent-pink); color: #fff; }
.trending-item:nth-child(2) .rank-num, .trending-item:nth-child(2) .trend-rank { background: var(--primary-neon); color: #fff; }
.trending-item:nth-child(3) .rank-num, .trending-item:nth-child(3) .trend-rank { background: var(--accent-gold); color: #000; }

/* Common Badges & Buttons */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.badge-accent {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    color: #fff;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
}
.badge-dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

/* Live Viewers Pulse Pills */
.live-pill, .live-pill-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.live-pill-inline {
    font-size: 0.8rem;
}
.pulse-dot-red {
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulseRed 1.2s infinite;
}
@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}
.btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}
.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.45);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

/* AUTOPLAY OVERLAY STYLING */
.autoplay-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 10, 0.92);
    backdrop-filter: blur(12px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.autoplay-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.autoplay-card {
    text-align: center;
    max-width: 380px;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}
.countdown-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.autoplay-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}
.autoplay-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* FLOATING MINI PLAYER STYLING (Picture-in-Picture) */
.mini-player-window {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), var(--shadow-glow);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mini-player-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mini-player-bar {
    background: var(--bg-card);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}
.mini-title-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
.mini-actions {
    display: flex;
    gap: 6px;
}
.mini-actions button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}
.mini-actions button:hover {
    color: var(--accent-pink);
}
.mini-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
#miniVideoPlayer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DYNAMIC TAG CLOUD STYLING */
.tag-cloud-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 12px;
    margin-bottom: 14px;
}
.tag-cloud-item {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.tag-cloud-item:hover, .tag-cloud-item.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-neon);
}

/* AGE VERIFICATION MODAL STYLING */
.age-modal-backdrop {
    z-index: 99999 !important;
    background: rgba(3, 4, 7, 0.95) !important;
}
.age-modal-window {
    width: 90%;
    max-width: 520px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(236, 72, 153, 0.4);
    box-shadow: 0 0 50px rgba(236, 72, 153, 0.25);
}
.age-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-neon));
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}
.age-modal-window h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.age-modal-window p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.age-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.age-modal-footer {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* REKLAM ALANLARI / AD SLOTS STYLING */
.ad-container {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(236, 72, 153, 0.06));
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.ad-container:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}
.ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ad-leaderboard-top {
    max-width: 1700px;
    margin: 10px auto 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-content {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
}
.ad-content i {
    font-size: 1.4rem;
    color: var(--accent-gold);
}
.ad-btn {
    background: var(--accent-gold);
    color: #000;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}
.ad-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.ad-sidebar-native {
    margin-top: 20px;
    padding: 16px;
}
.ad-native-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    align-items: center;
}
.ad-native-content i {
    font-size: 1.8rem;
    color: var(--accent-pink);
    margin-bottom: 4px;
}
.ad-native-content h5 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
}
.ad-native-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ad-feed-banner {
    margin-bottom: 24px;
    padding: 18px 24px;
}
.ad-feed-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ad-feed-content i {
    font-size: 2.2rem;
    color: var(--accent-purple);
}
.ad-feed-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
}
.ad-feed-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ad-under-player {
    margin-top: 16px;
    padding: 12px 20px;
}

.ad-sidebar-box {
    padding: 20px;
    margin-bottom: 20px;
}
.ad-box-inner {
    text-align: center;
}
.ad-box-inner i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

/* Header Navbar */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 28px;
}
.header-container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}
.app-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.4));
}
.brand-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}
.brand-logo h1 span {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-badge {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.4);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 580px;
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
}
.search-box input {
    width: 100%;
    padding: 12px 45px 12px 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.search-box input:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
    background: var(--bg-card);
}
.clear-search-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}
.clear-search-btn:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Main Layout - Expands Wide to Right Edge with Glassmorphism Sidebar */
.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    width: 100%;
    max-width: 98%;
    margin: 20px auto;
    padding: 0 16px;
    min-height: calc(100vh - 90px);
}

/* Sidebar Container - Glassmorphism Card Design */
.sidebar {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    height: fit-content;
    position: sticky;
    top: 88px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(12px);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-item i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    transition: transform 0.25s ease;
}

.nav-item:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.nav-item:hover i {
    transform: scale(1.15);
    color: var(--accent-pink);
}

.nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
    transform: translateX(4px);
}

.sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Feed Content Main Area - Expands to Right Edge */
.feed-content, .feed-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    flex: 1;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}
.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) contrast(1.1);
    transition: var(--transition);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #07090e 0%, rgba(7, 9, 14, 0.4) 60%, transparent 100%),
                linear-gradient(90deg, #07090e 0%, rgba(7, 9, 14, 0.5) 40%, transparent 100%);
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 36px;
    max-width: 680px;
    z-index: 2;
}
.hero-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-meta {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    gap: 12px;
}
.btn-hero-play {
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-neon));
    color: #fff;
    padding: 12px 28px;
    font-size: 1.05rem;
    box-shadow: var(--shadow-pink-glow);
}

/* Category Filter Pills */
.filter-pills-container {
    margin-bottom: 28px;
    position: relative;
}
.pills-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.pills-scroll::-webkit-scrollbar {
    display: none;
}
.pill-btn {
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.pill-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: var(--bg-card);
}
.pill-btn.active {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* Grid Header */
.grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.sort-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.sort-selector select {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    cursor: pointer;
}

/* Video Grid & Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    background: var(--bg-card-hover);
}
.card-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.video-card:hover .card-thumbnail {
    transform: scale(1.08);
}
.card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
}
.card-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
}
.card-live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.play-overlay-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: var(--transition);
}
.play-overlay-icon i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--primary-neon));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}
.video-card:hover .play-overlay-icon {
    opacity: 1;
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.tag-badge {
    font-size: 0.7rem;
    color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: var(--text-dim);
}

/* MODAL STYLING */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 6, 10, 0.88);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.modal-close-btn:hover {
    background: var(--accent-pink);
    transform: rotate(90deg);
}

/* Video Player Modal Layout */
.video-player-window {
    width: 95%;
    max-width: 1450px;
    padding: 24px;
}
.video-modal-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
}

.custom-player-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
#mainVideoPlayer {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Custom Player Controls */
.player-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-player-wrapper:hover .player-controls-overlay {
    opacity: 1;
}
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-neon), var(--accent-pink));
    border-radius: 3px;
    position: relative;
}

.controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}
.control-btn:hover {
    color: var(--accent-pink);
}

/* QUALITY SELECTOR STYLING */
.quality-selector-wrapper {
    position: relative;
}
.quality-btn {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}
.quality-dropdown {
    position: absolute;
    bottom: 35px;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 20;
    min-width: 120px;
}
.quality-dropdown.active {
    opacity: 1;
    pointer-events: auto;
}
.quality-option {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.quality-option:hover, .quality-option.active {
    color: #fff;
    background: var(--primary-neon);
}

.volume-slider {
    width: 70px;
    accent-color: var(--accent-pink);
    cursor: pointer;
}
.time-display {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .video-modal-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .hero-banner {
        height: 300px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 640px) {
    .app-header {
        padding: 10px 16px;
    }
    .brand-logo h1 {
        font-size: 1.4rem;
    }
    .feed-container {
        padding: 16px;
    }
    .hero-banner {
        height: 240px;
    }
    .hero-content {
        padding: 20px;
    }
    .hero-title {
        font-size: 1.2rem;
    }
    .hero-description, .hero-meta {
        display: none;
    }
}

/* ⚡ FILTER BAR, CATEGORY PILLS & SORTING SECTION */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 24px 0 28px 0;
    width: 100%;
    flex-wrap: wrap;
}

.pills-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px;
    flex: 1;
    scrollbar-width: none;
}
.pills-scroll::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.pill-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.pill-btn.active {
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.sort-wrapper label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.sort-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus, .sort-select:hover {
    border-color: var(--primary-neon);
}

/* 📌 SECTION HEADER & TITLE STYLING */
.section-header {
    margin: 32px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

/* 📢 SIDEBAR AD BOX STYLING */
.sidebar-ad-box {
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.ad-tag {
    align-self: flex-start;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-ad-box h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.sidebar-ad-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.sidebar-ad-media {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 4px;
}

.sidebar-ad-media img,
.sidebar-ad-media video {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
}

/* VIDEO GRID & CARD ENGINE STYLING */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    background: var(--bg-card-hover);
}

.card-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .card-thumbnail {
    transform: scale(1.06);
}

.card-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.card-live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.card-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.play-overlay-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.play-overlay-icon i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-card:hover .play-overlay-icon {
    opacity: 1;
}

.video-card:hover .play-overlay-icon i {
    transform: scale(1);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    justify-content: space-between;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-badge {
    font-size: 0.72rem;
    color: var(--primary-neon);
    font-weight: 600;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

/* ExoClick Centralized Responsive Ad Containers */
.exoclick-ad-wrapper {
    width: 100%;
    margin: 16px 0;
    padding: 12px;
    background: var(--bg-surface);
    border: 1px dashed var(--border-highlight);
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.exoclick-ad-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.exoclick-banner-responsive, .exoclick-sidebar-responsive {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-placeholder-text {
    color: var(--accent-pink);
    font-weight: 700;
    font-size: 0.88rem;
    background: rgba(236, 72, 153, 0.08);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    width: 100%;
}

@media (max-width: 768px) {
    .exoclick-ad-wrapper {
        margin: 10px 0;
        padding: 8px;
    }
    .ad-placeholder-text {
        font-size: 0.78rem;
        padding: 10px 12px;
    }
}
