/* ==========================================================================
   HomeMoviesTube Modern Theme - CSS Design System
   ========================================================================== */

:root {
    --bg-darkest: #070a0e;
    --bg-main: #0d1117;
    --bg-card: #161b22;
    --bg-card-hover: #1f242c;
    --bg-elevated: #21262d;
    --border-subtle: #21262d;
    --border-active: #30363d;
    --border-accent: #58a6ff;
    
    --primary: #e53935;
    --primary-hover: #ef5350;
    --primary-glow: rgba(229, 57, 53, 0.35);
    
    --accent-blue: #58a6ff;
    --accent-purple: #a78bfa;
    --accent-green: #3fb950;
    --accent-gold: #f59e0b;
    
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #484f58;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(229, 57, 53, 0.25);
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body.site-body {
    background-color: var(--bg-darkest);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.site-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-main {
    flex: 1;
    padding: 24px 0 48px;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success {
    background: rgba(63, 185, 80, 0.15);
    border: 1px solid var(--accent-green);
    color: #56d364;
}
.alert-error {
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid var(--primary);
    color: #ff7b72;
}

/* ==========================================================================
   1. TOP AFFILIATE LINK BAR
   ========================================================================== */
.top-nav-bar,
.top-nav-holder {
    background: #030508;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}
.top-nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 6px;
    overflow: hidden;
}
.top-nav-scroll-track {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.top-nav-scroll-track::-webkit-scrollbar {
    display: none;
}
.top-links-list,
.user-top-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-shrink: 0;
}
.top-link-item,
.user-top-links li.item {
    display: inline-flex;
    flex-shrink: 0;
}
.top-link-item a,
.user-top-links li.item > a {
    color: var(--text-secondary, #8b949e);
    font-size: 11px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}
.top-link-item a:hover,
.user-top-links li.item > a:hover {
    color: var(--text-primary, #ffffff);
    background: rgba(255, 255, 255, 0.08);
}
.top-link-item.has-badge a,
.user-top-links li.item:first-child > a {
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(229, 57, 53, 0.35);
}
.top-nav-scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #1c2128;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 10;
    padding: 0;
    transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.top-nav-scroll-btn:hover {
    background: #e53935;
    color: #ffffff;
    border-color: #e53935;
    transform: scale(1.1);
}
.top-nav-scroll-btn.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.live-dot {
    color: #ffffff;
    font-size: 8px;
    line-height: 1;
    animation: pulse 1.8s infinite;
}
.top-link-item.has-badge .live-dot {
    color: #ffffff;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================================================
   2. MAIN HEADER
   ========================================================================== */
.main-header {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.header-logo-col {
    flex-shrink: 0;
}
.brand-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-image {
    height: 38px;
    width: auto;
    object-fit: contain;
}
.logo-fallback {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.logo-txt-primary {
    color: #fff;
}
.logo-txt-accent {
    color: var(--primary);
}
.brand-slogan {
    font-size: 10.5px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* Header Search */
.header-search-col {
    flex: 1;
    max-width: 540px;
}
.header-search-form {
    width: 100%;
}
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-input {
    width: 100%;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 0 44px 0 18px;
    font-size: 13.5px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition);
}
.search-input:focus {
    border-color: var(--accent-blue);
    background: #1a202c;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.search-submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.05);
}

/* Header Actions */
.header-actions-col {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ff1744 0%, #d50000 50%, #b71c1c 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(255, 23, 68, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-upload::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    transform: rotate(30deg);
    transition: transform 0.5s ease;
    opacity: 0;
    pointer-events: none;
}
.btn-upload:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff1744 50%, #d50000 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #fff !important;
}
.btn-upload:hover::before {
    opacity: 1;
    transform: rotate(30deg) translate(20%, 20%);
}
.btn-upload:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 23, 68, 0.4);
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: relative;
}
.user-menu-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.user-menu-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-active);
    background: var(--bg-elevated);
}
.user-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 190px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
}
.user-menu-panel.is-open {
    display: block;
    animation: fadeInDown 0.15s ease-out;
}
.user-panel-header {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 6px;
}
.user-panel-name {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}
.user-panel-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
}
.user-panel-item:hover {
    background: var(--bg-elevated);
    color: #fff;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
}
.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: var(--transition);
}

/* ==========================================================================
   3. CATEGORY NAVIGATION (cat-nav)
   ========================================================================== */
.cat-nav-bar {
    background: var(--bg-darkest);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 90;
}
.cat-nav-inner {
    display: flex;
    align-items: center;
}
.cat-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    padding: 4px 0;
    flex-wrap: wrap;
}
.cat-nav-list > .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
}
.cat-nav-list > .nav-item > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.cat-nav-list > .nav-item.active > a {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 2px 6px var(--primary-glow);
}

/* Dropdown Sub-menu */
.nav-item.has-dropdown {
    position: relative;
}
.sub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 170px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    display: none;
    list-style: none;
    z-index: 100;
}
.nav-item.has-dropdown:hover .sub-dropdown-menu {
    display: block;
    animation: fadeInDown 0.15s ease-out;
}
.sub-dropdown-menu li a {
    display: block;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 500;
}
.sub-dropdown-menu li a:hover {
    background: var(--bg-elevated);
    color: #fff;
}

/* Nav Pills */
.nav-pill-item {
    margin-left: 2px;
}
.pill-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    font-size: 11.5px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    color: #cbd5e1 !important;
}
.pill-badge:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.pill-badge-live {
    border-color: rgba(229, 57, 53, 0.4) !important;
    color: #fca5a5 !important;
}

/* Video Strip Ad Container */
.ad-strip-wrapper {
    width: 100%;
    margin: 14px 0 6px;
    clear: both;
}
.ad-strip-inner {
    width: 100%;
    overflow: hidden;
}
.ad-strip-inner .video-strip {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ad Promo Bar Link */
.ad-promo-bar-wrap {
    margin-top: 10px;
    width: 100%;
}
.ad-promo-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95) 0%, rgba(33, 38, 45, 0.98) 50%, rgba(22, 27, 34, 0.95) 100%);
    border: 1px solid rgba(88, 166, 255, 0.22);
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.ad-promo-bar:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.2);
    transform: translateY(-1px);
}
.promo-bar-live-dot {
    color: #e53935;
    font-size: 11px;
    animation: pulse 1.5s infinite;
}
.promo-bar-text {
    color: #c9d1d9;
}
.promo-bar-link {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.promo-bar-link:hover {
    color: #79b8ff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ad-promo-bar {
        font-size: 12px;
        padding: 6px 12px;
        gap: 6px;
        width: 100%;
        max-width: 340px;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   4. HOMEPAGE & MEDIA GRID
   ========================================================================== */
.page-section {
    width: 100%;
}

/* Trending Keywords Carousel */
.quick-niches-strip-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0 16px;
    margin-bottom: 8px;
    width: 100%;
}
.quick-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.trending-icon {
    color: var(--accent-gold);
}
.quick-niches-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.niches-pills-list {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 34px;
    width: 100%;
}
.niches-pills-list::-webkit-scrollbar {
    display: none;
}
.niche-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: var(--transition);
}
.niche-pill:hover {
    border-color: var(--accent-blue);
    color: #fff;
    background: var(--bg-elevated);
    transform: translateY(-1px);
}
.pill-count {
    font-size: 10.5px;
    color: var(--text-muted);
}
.niche-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.niche-scroll-btn:hover {
    color: #fff;
    border-color: var(--accent-blue);
    background: var(--bg-elevated);
    transform: translateY(-50%) scale(1.1);
}
.niche-scroll-left {
    left: 0;
}
.niche-scroll-right {
    right: 0;
}
.niche-scroll-btn:disabled,
.niche-scroll-btn.is-hidden {
    opacity: 0.3;
    pointer-events: none;
}

/* Featured Section */
.featured-section-box {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.9), rgba(13, 17, 23, 0.95));
    border: 1px solid rgba(229, 57, 53, 0.25);
    border-radius: var(--radius-lg);
    padding: 20px 20px 8px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(229, 57, 53, 0.08);
    position: relative;
    overflow: hidden;
}
.featured-section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e53935 0%, #f59e0b 50%, #e53935 100%);
}
.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.featured-badge-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.featured-flame-icon {
    font-size: 20px;
    animation: pulse 1.5s infinite;
}
.featured-heading {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}
.featured-tagline {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}
.featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 12px;
}
.featured-grid .media-card {
    border-color: rgba(229, 57, 53, 0.2);
    background: rgba(22, 27, 34, 0.8);
}
.featured-grid .media-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(229, 57, 53, 0.2);
}

.section-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}
.section-main-heading {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}
.heading-glow {
    color: var(--primary);
}

/* Filter Tabs Group */
.filter-tabs-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}
.tab-btn:hover {
    color: #fff;
}
.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px var(--primary-glow);
}

/* Media Cards Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

/* Media Card (Video / Gallery) */
.media-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.media-card:hover {
    border-color: var(--border-active);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
}
.thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}
.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.media-card:hover .thumb-image {
    transform: scale(1.05);
}

/* Badges */
.media-card .badge,
.thumb-container .badge {
    position: absolute;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    line-height: 1;
    z-index: 2;
}
.duration-badge {
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.premium-badge {
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 900;
}
.photo-count-badge {
    bottom: 8px;
    right: 8px;
    background: rgba(13, 17, 23, 0.9);
    color: #58a6ff;
    border: 1px solid rgba(88, 166, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.play-overlay svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
    transform: scale(0.9);
    transition: transform 0.2s ease;
}
.media-card:hover .play-overlay {
    opacity: 1;
}
.media-card:hover .play-overlay svg {
    transform: scale(1);
}

/* Card Details */
.card-details {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.card-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a:hover {
    color: var(--accent-blue);
}
.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: auto;
}
.meta-views, .meta-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.meta-rating.high {
    color: var(--accent-green);
    font-weight: 600;
}

/* ==========================================================================
   5. VIDEO DETAIL PAGE & FLUID PLAYER
   ========================================================================== */
.video-page-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-areas:
        "title    sidebar"
        "player   sidebar"
        "details  sidebar";
    gap: 16px 28px;
    align-items: start;
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-player-title {
    grid-area: title;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.25;
}

/* Player Wrapper */
.player-outer-wrapper {
    grid-area: player;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    margin-bottom: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-main-column {
    grid-area: details;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.video-sidebar-column {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 340px;
    max-width: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* THEATER MODE (Full 1200px Player Width & Hidden Sidebar) */
.video-page-layout.theater-mode {
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "player"
        "details";
}
.video-page-layout.theater-mode .video-sidebar-column {
    display: none;
}
.video-page-layout.theater-mode .player-outer-wrapper {
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(229, 57, 53, 0.25);
}
.fluid-player-holder {
    width: 100%;
    height: 100%;
}
.fluid_poster_image,
.fluid_video_wrapper .fluid_poster,
.fluid_video_wrapper .fluid_poster_image {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 100% !important;
}
.fluid-video-element {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.embed-responsive-wrapper {
    width: 100%;
    height: 100%;
}
.embed-responsive-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Actions Bar */
.video-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 18px;
}
.video-stats-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}
.stat-item strong {
    color: #fff;
}
.stat-item.stat-rating.high strong {
    color: var(--accent-green);
}

/* Rating Thumbs Widget */
.rating-widget {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    vertical-align: middle;
}
.rating-v-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}
.rating-thumb-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #2196f3;
    padding: 3px 5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.rating-thumb-btn:hover {
    color: #64b5f6;
    background: rgba(33, 150, 243, 0.15);
    transform: scale(1.15);
}
.rating-thumb-btn.voted {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}
.rating-thumb-btn.active-voted {
    color: #4caf50;
    opacity: 1;
}
.rating-score-bold {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}
.rating-votes-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 2px;
}

.video-actions-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.action-btn:hover {
    color: #fff;
    border-color: var(--border-active);
    background: #282e38;
}
.action-btn.active {
    background: rgba(229, 57, 53, 0.18);
    border-color: var(--primary);
    color: #ff5252;
}

/* Embed Drawer */
.embed-code-drawer {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 18px;
}
.embed-drawer-inner label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.embed-input-row {
    display: flex;
    gap: 8px;
}
.embed-input-row input {
    flex: 1;
    height: 36px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    font-family: monospace;
    font-size: 12px;
    color: var(--accent-blue);
    outline: none;
}
.btn-copy {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: #fff;
    padding: 0 16px;
    height: 36px;
}
.btn-copy:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Video Meta Card */
.video-meta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 24px;
}
.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.meta-row:last-child {
    margin-bottom: 0;
}
.meta-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    width: 90px;
    flex-shrink: 0;
    padding-top: 3px;
}
.meta-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.category-tag-link {
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.25);
    color: #79b8ff;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
}
.category-tag-link:hover {
    background: var(--accent-blue);
    color: #000;
}
.tag-pill-link {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
}
.tag-pill-link:hover {
    color: #fff;
    background: var(--border-active);
}
.uploader-name {
    font-weight: 700;
    color: #fff;
}
.video-description-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    color: #c9d1d9;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Comments Section */
.video-comments-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}
.comments-heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.comments-count {
    color: var(--text-secondary);
}
.add-comment-form {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}
.form-row {
    margin-bottom: 10px;
}
.form-input, .form-textarea {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13.5px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}
.form-submit-row {
    display: flex;
    justify-content: flex-end;
}
.btn-comment-submit {
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
}
.btn-comment-submit:hover {
    background: var(--primary-hover);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comment-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #58a6ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.comment-body {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}
.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.comment-author {
    font-weight: 700;
    font-size: 13px;
    color: #fff;
}
.comment-time {
    font-size: 11px;
    color: var(--text-muted);
}
.comment-text {
    font-size: 13px;
    color: #c9d1d9;
    line-height: 1.5;
}
.empty-comments-notice {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 13px;
}

/* Video Sidebar Column */
.video-sidebar-column {
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 340px;
    max-width: 100%;
}
.film-aside-ads {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    box-sizing: border-box;
    overflow: hidden;
}
.film-aside-ads .inner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    overflow: hidden;
}
.film-aside-ads iframe,
.film-aside-ads .ab-banner-unit,
.film-aside-ads .adsbyexoclick {
    width: 300px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block;
    border-radius: 4px;
}
.sidebar-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}
.related-videos-full-section {
    margin-top: 36px;
    width: 100%;
    clear: both;
}

/* ==========================================================================
   6. PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-page-layout {
    width: 100%;
    margin-bottom: 24px;
}
.gallery-main-column {
    width: 100%;
}
.gallery-header-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}
.gallery-main-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}
.gallery-stats-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.gallery-tags-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.photos-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}
.photo-grid-item {
    cursor: pointer;
}
.photo-thumb-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.photo-thumb-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.photo-thumb-card:hover .photo-img {
    transform: scale(1.06);
}
.photo-zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.photo-thumb-card:hover .photo-zoom-icon {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    inset: 0;
    z-index: 2147483647; /* Highest priority overlay taking full precedence over all headers, ads, and page elements */
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.lightbox-modal.is-open {
    display: flex;
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 7, 18, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.lightbox-content {
    position: relative;
    width: 95vw;
    height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.lightbox-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    transition: opacity 0.2s ease;
}
.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.lightbox-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}
.lightbox-close {
    top: 10px;
    right: 10px;
}
.lightbox-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    margin-top: 14px;
    padding: 0 10px;
    color: #fff;
}
.lightbox-title {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lightbox-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-blue);
    flex-shrink: 0;
}
.lightbox-spinner {
    display: none;
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   7. CHANNELS & CATEGORIES
   ========================================================================== */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}
.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.channel-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.channel-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    overflow: hidden;
}
.channel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.channel-card:hover .channel-img {
    transform: scale(1.08);
}
.channel-count-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #58a6ff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.channel-info {
    padding: 12px;
    text-align: center;
}
.channel-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.channel-banner-card {
    background: linear-gradient(135deg, #161b22, #0d1117);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.channel-banner-thumb {
    width: 140px;
    height: 95px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
    background: #000;
}
.channel-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.channel-banner-content {
    flex: 1;
}
.channel-banner-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}
.channel-banner-desc {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 800px;
}

/* ==========================================================================
   8. TAGS DIRECTORY & TAG CLOUD
   ========================================================================== */
.alphabet-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.letter-btn {
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}
.letter-btn:hover {
    color: #fff;
    background: var(--bg-elevated);
}
.letter-btn.active {
    background: var(--primary);
    color: #fff;
}

.tag-cloud-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
}
.cloud-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}
.tag-cloud-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cloud-tag-item {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #c9d1d9;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cloud-tag-item:hover {
    border-color: var(--accent-blue);
    color: #fff;
    background: rgba(88, 166, 255, 0.1);
}
.tag-count {
    font-size: 11px;
    color: var(--text-muted);
}

.tags-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}
.tag-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.tag-card:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.tag-card-name {
    font-weight: 600;
    font-size: 13px;
}
.tag-card-count {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-elevated);
    padding: 2px 7px;
    border-radius: 10px;
    color: var(--accent-blue);
}

/* ==========================================================================
   9. SEARCH RESULTS & CONTROLS
   ========================================================================== */
.search-header-box {
    margin-bottom: 20px;
}
.search-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}
.search-term-highlight {
    color: var(--accent-blue);
}
.search-results-count {
    color: var(--text-secondary);
    font-size: 13px;
}
.search-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-type-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.type-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}
.type-tab:hover {
    color: #fff;
}
.type-tab.active {
    background: var(--accent-blue);
    color: #000;
    font-weight: 700;
}

/* ==========================================================================
   10. LEGAL & STATIC PAGES
   ========================================================================== */
.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
}
.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.legal-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.legal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}
.legal-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: #fff;
}
.legal-content h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 6px;
    color: #fff;
}
.legal-content p, .legal-content li {
    font-size: 14px;
    line-height: 1.7;
    color: #c9d1d9;
    margin-bottom: 12px;
}
.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-link {
    color: var(--accent-blue);
    text-decoration: underline;
}

.faq-list .faq-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-page-header {
    margin-bottom: 24px;
}
.contact-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 9, 20, 0.12);
    border: 1px solid rgba(229, 9, 20, 0.25);
    color: #ff4d4f;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card,
.contact-card {
    background: var(--bg-card, #131722);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 12px);
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.contact-section-title,
.contact-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin: 0 0 6px;
}

.contact-section-desc,
.contact-card-subtitle {
    font-size: 13px;
    color: var(--text-secondary, #8e8e9f);
    margin: 0 0 20px;
    line-height: 1.45;
}

/* Department List */
.dept-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
}
.dept-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md, 8px);
    padding: 14px 16px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.dept-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(3px);
}
.dept-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    flex-shrink: 0;
}
.dept-icon-box.accent-gold {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}
.dept-icon-box.accent-red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.dept-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.dept-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
}
.dept-desc {
    font-size: 11.5px;
    color: var(--text-secondary, #8e8e9f);
    line-height: 1.35;
    margin-bottom: 4px;
}
.dept-email {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-blue, #3b82f6);
    text-decoration: none;
    transition: color 0.15s;
}
.dept-email:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Speed Response Banner */
.response-speed-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md, 8px);
    padding: 12px 16px;
    margin-bottom: 20px;
}
.pulse-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.response-speed-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #a7f3d0;
}
.response-speed-text strong {
    font-size: 13px;
    color: #34d399;
}

/* FAQ Callout */
.contact-faq-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md, 8px);
    padding: 14px 16px;
}
.faq-callout-icon {
    font-size: 18px;
    line-height: 1;
}
.faq-callout-body {
    font-size: 12.5px;
    color: var(--text-secondary, #8e8e9f);
    line-height: 1.4;
}
.faq-callout-body strong {
    color: var(--text-primary, #ffffff);
    display: block;
    margin-bottom: 2px;
}

/* Contact Form Elements */
.contact-form-styled {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.form-field-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
}
.req-star {
    color: #e50914;
}
.char-count {
    font-size: 11px;
    color: var(--text-muted, #64748b);
}
.form-field-input,
.form-field-select,
.form-field-textarea {
    width: 100%;
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md, 8px);
    padding: 10px 14px;
    font-size: 13.5px;
    color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    box-sizing: border-box;
}
.form-field-input:focus,
.form-field-select:focus,
.form-field-textarea:focus {
    border-color: var(--accent-red, #e50914);
    background: #0d111a;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}
.form-field-input.is-invalid,
.form-field-select.is-invalid,
.form-field-textarea.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.form-field-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Captcha Control Bar */
.captcha-box-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md, 8px);
    padding: 14px;
}
.captcha-control-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.captcha-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary, #ffffff);
}
.captcha-text strong {
    color: #fbbf24;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.captcha-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary, #ffffff);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.captcha-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}
.captcha-input {
    max-width: 200px;
}

/* Submit Row */
.contact-submit-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}
.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #e50914 0%, #b80710 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md, 8px);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    width: 100%;
}
.btn-contact-submit:hover {
    background: linear-gradient(135deg, #f40612 0%, #c40812 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(229, 9, 20, 0.55);
}
.btn-contact-submit:active {
    transform: translateY(0);
}
.submit-privacy-note {
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
    text-align: center;
}

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

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .form-grid-2col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. PAGINATION
   ========================================================================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 32px 0 16px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 8px;
}
.custom-pagination {
    display: flex;
    justify-content: center;
    max-width: 100%;
}
.pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    max-width: 100%;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.page-item:not(.disabled):not(.active) .page-link:hover {
    background: var(--bg-elevated);
    color: #fff;
}
.page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 6px var(--primary-glow);
}
.page-item.disabled .page-link {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .page-num-desktop-only {
        display: none !important;
    }
    .pagination-wrapper {
        margin: 24px 0 12px;
        padding: 0 4px;
    }
    .pagination-list {
        gap: 3px;
        padding: 4px 6px;
        border-radius: var(--radius-sm);
    }
    .page-link {
        min-width: 28px;
        height: 28px;
        font-size: 11.5px;
        padding: 0 6px;
    }
    .dots-item .page-link {
        min-width: 16px;
        padding: 0 2px;
    }
    .prev-next-text {
        display: none;
    }
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.main-footer {
    background: #090d12;
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 0;
    margin-top: auto;
}
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}
.footer-tagline {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 280px;
}
.footer-social-links {
    display: flex;
    gap: 8px;
}
.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.social-icon-btn:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}
.footer-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-links-list li a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}
.footer-links-list li a:hover {
    color: #fff;
}
.footer-aff-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition: var(--transition);
}
.footer-aff-card:hover {
    border-color: rgba(229, 57, 53, 0.4);
    background: #19202a;
    transform: translateX(4px);
}
.aff-badge-live {
    font-size: 18px;
    color: #e53935;
    animation: pulse 1.8s infinite;
}
.aff-card-info {
    flex: 1;
}
.aff-card-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.aff-card-sub {
    display: block;
    font-size: 11.5px;
    color: var(--text-secondary);
}
.aff-card-arrow {
    color: var(--text-muted);
}
.footer-aff-card:hover .aff-card-arrow {
    color: #fff;
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-subtle);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}
.footer-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
    .video-page-layout,
    .video-page-layout.theater-mode {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "player"
            "details"
            "sidebar";
    }
    .video-sidebar-column {
        width: 100%;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .cat-nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
    }
    .cat-nav-list.is-open {
        display: flex;
    }
    .sub-dropdown-menu {
        position: static;
        width: 100%;
        display: block;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 18px;
    }
    .header-search-col {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .photos-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .video-player-title {
        font-size: 18px;
    }
}

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

/* ==========================================================================
   Creator / Uploader Application Styles
   ========================================================================== */
.btn-uploader-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #e50914 0%, #ff2a5f 50%, #ff5252 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 15px 42px;
    min-width: 300px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-uploader-submit:hover {
    background: linear-gradient(135deg, #f40612 0%, #ff1a53 50%, #ff6b6b 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 42, 95, 0.6), 0 0 15px rgba(255, 255, 255, 0.2) inset;
    color: #ffffff !important;
}

.btn-uploader-submit:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 3px 10px rgba(229, 9, 20, 0.4);
}

.btn-uploader-submit .btn-icon-flash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
    animation: flash-pulse 2s infinite ease-in-out;
}

.action-btn.active-favorite {
    color: #ff3366 !important;
    background: rgba(255, 51, 102, 0.15) !important;
    border-color: rgba(255, 51, 102, 0.35) !important;
    box-shadow: 0 0 12px rgba(255, 51, 102, 0.35);
}

@keyframes flash-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)); }
}

/* ==========================================================================
   Creator Studio Dropzone & Browse Button Styles
   ========================================================================== */
.creator-dropzone {
    position: relative;
    background: radial-gradient(circle at 50% 15%, rgba(255, 51, 102, 0.08) 0%, rgba(13, 17, 23, 0.95) 100%);
    border: 2px dashed rgba(255, 51, 102, 0.4);
    border-radius: 14px;
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 51, 102, 0.02);
}

.creator-dropzone:hover {
    border-color: #ff3366;
    background: radial-gradient(circle at 50% 15%, rgba(255, 51, 102, 0.14) 0%, rgba(13, 17, 23, 0.98) 100%);
    box-shadow: 0 8px 30px rgba(255, 51, 102, 0.25), inset 0 0 25px rgba(255, 51, 102, 0.06);
    transform: translateY(-2px);
}

.creator-dropzone.drag-active {
    border-color: #00f2fe !important;
    background: radial-gradient(circle at 50% 15%, rgba(0, 242, 254, 0.18) 0%, rgba(13, 17, 23, 0.98) 100%) !important;
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.35) !important;
    transform: scale(1.01);
}

.creator-dropzone.gallery-dropzone {
    background: radial-gradient(circle at 50% 15%, rgba(56, 189, 248, 0.08) 0%, rgba(13, 17, 23, 0.95) 100%);
    border-color: rgba(56, 189, 248, 0.4);
}

.creator-dropzone.gallery-dropzone:hover {
    border-color: #38bdf8;
    background: radial-gradient(circle at 50% 15%, rgba(56, 189, 248, 0.14) 0%, rgba(13, 17, 23, 0.98) 100%);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.dropzone-icon-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(255, 51, 102, 0.05) 100%);
    border: 1px solid rgba(255, 51, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3366;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(255, 51, 102, 0.2);
    transition: all 0.25s ease;
}

.creator-dropzone:hover .dropzone-icon-badge {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
    border-color: #ff3366;
}

.gallery-dropzone .dropzone-icon-badge {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.gallery-dropzone:hover .dropzone-icon-badge {
    border-color: #38bdf8;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

.btn-dropzone-browse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #ff1744 0%, #d50000 50%, #b71c1c 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(255, 23, 68, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 12px 0 16px;
}

.btn-dropzone-browse:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff1744 50%, #d50000 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 22px rgba(255, 23, 68, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.gallery-dropzone .btn-dropzone-browse {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gallery-dropzone .btn-dropzone-browse:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);
    box-shadow: 0 6px 22px rgba(56, 189, 248, 0.65);
}

.dropzone-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.dropzone-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11.5px;
    color: #8b949e;
    font-weight: 500;
}

.btn-change-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.btn-change-file:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-change-file:active {
    transform: translateY(0);
}

/* In-Grid Native Ad Cards (After 10th result in Media Grids & Related Feeds) */
.grid-ad-card {
    position: relative;
    border: 1px solid rgba(255, 51, 102, 0.25) !important;
    background: linear-gradient(180deg, rgba(255, 51, 102, 0.04) 0%, var(--bg-card, #161b22) 100%) !important;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.grid-ad-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.6) !important;
    box-shadow: 0 10px 24px -6px rgba(255, 51, 102, 0.22);
}

.grid-ad-banner-box {
    transition: transform 0.3s ease;
}

.grid-ad-card:hover .grid-ad-banner-box {
    transform: scale(1.03);
}

.grid-ad-custom,
.grid-ad-exoclick {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-ad-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #8b949e);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

