/* ============================================
   KURD CINEMA - MASTER PAGE STYLES
   ============================================ */

:root {
    --black: #000000;
    --noir: #0a0608;
    --charcoal: #14101a;
    --slate: #1c1624;
    --steel: #2d2438;
    --silver: #9a8fa8;
    --pearl: #f0eaf5;
    --white: #ffffff;
    --ruby: #e31b54;
    --crimson: #c41040;
    --gold: #f5a623;
    --amber: #ffb347;
    --burgundy: #6b1c3a;
    --royal-purple: #4a1259;
    --deep-violet: #2d1b4e;
    --accent: var(--ruby);
    --accent-2: var(--gold);
    --accent-3: var(--amber);
    --ember: var(--crimson);
    --neon-cyan: var(--gold);
    --neon-magenta: var(--ruby);
    --neon-yellow: var(--amber);
    --electric-blue: var(--royal-purple);
    --font-display: 'Bebas Neue', 'Vazirmatn', 'Tajawal', sans-serif;
    --font-body: 'Vazirmatn', 'Tajawal', 'Cairo', 'Noto Sans Arabic', sans-serif;
    --font-kurdish: 'Vazirmatn', 'Tajawal', 'Cairo', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Themes */
[data-theme="ocean"] {
    --ruby: #0ea5e9;
    --crimson: #0284c7;
    --gold: #38bdf8;
    --amber: #7dd3fc;
    --burgundy: #0c4a6e;
    --royal-purple: #075985;
    --deep-violet: #0c4a6e;
}

[data-theme="emerald"] {
    --ruby: #10b981;
    --crimson: #059669;
    --gold: #34d399;
    --amber: #6ee7b7;
    --burgundy: #064e3b;
    --royal-purple: #047857;
    --deep-violet: #064e3b;
}

[data-theme="purple"] {
    --ruby: #a855f7;
    --crimson: #9333ea;
    --gold: #c084fc;
    --amber: #d8b4fe;
    --burgundy: #4c1d95;
    --royal-purple: #6b21a8;
    --deep-violet: #4c1d95;
}

[data-theme="sunset"] {
    --ruby: #f97316;
    --crimson: #ea580c;
    --gold: #fb923c;
    --amber: #fdba74;
    --burgundy: #7c2d12;
    --royal-purple: #9a3412;
    --deep-violet: #7c2d12;
}

[data-theme="rose"] {
    --ruby: #ec4899;
    --crimson: #db2777;
    --gold: #f472b6;
    --amber: #f9a8d4;
    --burgundy: #831843;
    --royal-purple: #9d174d;
    --deep-violet: #831843;
}

[data-theme="red"] {
    --ruby: #ef4444;
    --crimson: #dc2626;
    --gold: #f87171;
    --amber: #fca5a5;
    --burgundy: #7f1d1d;
    --royal-purple: #991b1b;
    --deep-violet: #7f1d1d;
}

[data-theme="darkred"] {
    --ruby: #b91c1c;
    --crimson: #991b1b;
    --gold: #dc2626;
    --amber: #ef4444;
    --burgundy: #450a0a;
    --royal-purple: #7f1d1d;
    --deep-violet: #450a0a;
}

[data-theme="yellow"] {
    --ruby: #eab308;
    --crimson: #ca8a04;
    --gold: #facc15;
    --amber: #fde047;
    --burgundy: #713f12;
    --royal-purple: #854d0e;
    --deep-violet: #713f12;
}

[data-theme="darkyellow"] {
    --ruby: #a16207;
    --crimson: #854d0e;
    --gold: #ca8a04;
    --amber: #eab308;
    --burgundy: #422006;
    --royal-purple: #713f12;
    --deep-violet: #422006;
}

[data-theme="chocolate"] {
    --ruby: #8B4513;
    --crimson: #5D3318;
    --gold: #A0522D;
    --amber: #CD853F;
    --burgundy: #2C1810;
    --royal-purple: #3D2317;
    --deep-violet: #1A0F0A;
    --noir: #0D0705;
    --charcoal: #1A0F0A;
    --slate: #2C1810;
    --steel: #3D2317;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--noir);
    color: var(--pearl);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

::selection {
    background: var(--neon-cyan);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--noir);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--ruby), var(--gold));
    border-radius: 5px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, var(--noir) 0%, #0f0810 50%, var(--noir) 100%);
    overflow: hidden;
}

.bg-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Simplified to single gradient - reduced GPU usage */
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--royal-purple) 0%, transparent 60%);
    opacity: 0.25;
}

/* Noise texture removed for GPU performance
.bg-layer::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url(...);
}
*/

.bg-spot {
    position: absolute;
    border-radius: 50%;
    /* filter: blur() removed for GPU performance - using simple gradient instead */
}

.bg-spot--1 {
    width: 500px; /* Reduced from 900px */
    height: 500px;
    background: radial-gradient(circle, var(--ruby) 0%, var(--crimson) 50%, transparent 70%);
    top: -200px;
    right: -100px;
    opacity: 0.12;
}

.bg-spot--2 {
    width: 450px; /* Reduced from 800px */
    height: 450px;
    background: radial-gradient(circle, var(--gold) 0%, var(--amber) 40%, transparent 70%);
    bottom: -200px;
    left: -80px;
    opacity: 0.10;
}

.bg-spot--3 {
    width: 400px; /* Reduced from 700px */
    height: 400px;
    background: radial-gradient(circle, var(--burgundy) 0%, var(--royal-purple) 50%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
}

@keyframes spotFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(60px, -40px) scale(1.08);
    }

    50% {
        transform: translate(-50px, 60px) scale(0.94);
    }

    75% {
        transform: translate(40px, 30px) scale(1.04);
    }
}

.bg-grid {
    display: none;
}

.scanlines {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.015) 2px, rgba(0, 0, 0, 0.015) 4px);
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    opacity: 0;
    animation: particleRise 20s infinite;
}

.particle:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
}

.particle:nth-child(2) {
    left: 15%;
    animation-delay: 2.5s;
    background: var(--ruby);
    box-shadow: 0 0 12px var(--ruby);
}

.particle:nth-child(3) {
    left: 28%;
    animation-delay: 5s;
    background: var(--amber);
    box-shadow: 0 0 12px var(--amber);
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 7.5s;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
}

.particle:nth-child(5) {
    left: 55%;
    animation-delay: 10s;
    background: var(--ruby);
    box-shadow: 0 0 12px var(--ruby);
}

.particle:nth-child(6) {
    left: 68%;
    animation-delay: 12.5s;
    background: var(--amber);
    box-shadow: 0 0 12px var(--amber);
}

.particle:nth-child(7) {
    left: 80%;
    animation-delay: 15s;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
}

.particle:nth-child(8) {
    left: 92%;
    animation-delay: 17.5s;
    background: var(--ruby);
    box-shadow: 0 0 12px var(--ruby);
}

@keyframes particleRise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}


/* ============================================
   TOP PROMO STRIP - ABOVE HEADER
   ============================================ */
.promo-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background: linear-gradient(180deg, rgba(10, 6, 8, 0.98) 0%, rgba(10, 6, 8, 0.95) 100%);
    /* backdrop-filter removed for GPU performance - using solid background instead */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.promo-strip.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.promo-item {
    flex: 0 1 auto;
    max-width: 468px;
}

.promo-item img {
    /*max-height: 60px;*/
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(227, 27, 84, 0.3);
}

@media (max-width: 1024px) {
    .promo-strip {
        gap: 10px;
        padding: 8px 15px;
    }
   /* .promo-item img {
        max-height: 50px;
    }*/
}

@media (max-width: 768px) {
    .promo-strip {
        flex-direction: column;
        gap: 8px;
        padding: 8px 10px;
    }
    .promo-item {
        max-width: 100%;
    }
    .promo-item img {
        /*max-height: 45px;*/
        max-width: 100%;
    }
}

/* Bottom Promo Strip - Before Footer */
.promo-strip--bottom {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1;
    margin: 40px 0 0 0;
    padding: 25px 40px;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(10, 6, 8, 0.8) 0%, rgba(10, 6, 8, 0.95) 100%);
    transform: none !important;
    min-height: 120px;
}

.promo-strip--bottom .promo-item {
    max-width: 1080px;
    width: 100%;
}

.promo-strip--bottom .promo-item img {
    width: 1080px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .promo-strip--bottom {
        padding: 20px 15px;
        min-height: 80px;
    }
    .promo-strip--bottom .promo-item img {
        /*max-height: 70px;*/
    }
}

/* Header */
.header {
    position: fixed;
    top: 90px; /* Space for promo strip */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 60px;
    transition: all 0.5s var(--ease-out-expo);
}

.header.scrolled {
    padding: 12px 60px;
}
/* When banners are hidden, move header to top */
.header.strip-hidden {
    top: 0;
}

/* Mobile: reduce header top position as banner is smaller */
@media (max-width: 768px) {
    .header {
        top: 45px; /* Smaller banner on mobile - closer to banner height */
        padding: 23px 12px; /* More vertical padding for logo */
    }
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    transition: all 0.5s var(--ease-out-expo);
}

.header.scrolled .header__inner {
    background: rgba(13, 13, 15, 0.98); /* Solid background - no GPU blur */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    padding: 10px 12px 10px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 38px;
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.2));
}

.header__logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(245, 166, 35, 0.4));
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 8px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.header__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--pearl);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.header__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ruby) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.header__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
    border-radius: 50px;
}

.header__link:hover::after {
    left: 100%;
}

.header__link:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 27, 84, 0.35), 0 0 20px rgba(245, 166, 35, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.header__link:hover::before {
    opacity: 1;
    animation: menuPulse 2s ease-in-out infinite;
}

.header__link.active {
    color: var(--white);
    font-weight: 600;
}

.header__link.active::before {
    opacity: 1;
}

.header__link i,
.header__link span {
    position: relative;
    z-index: 1;
}

.header__link i {
    font-size: 1.05rem;
    transition: all 0.4s var(--ease-out-back);
}

.header__link span {
    transition: all 0.3s ease;
}

.header__link:hover i {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 8px var(--gold));
}

.header__link:hover span {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

@keyframes menuPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Magnetic hover effect for menu */
.header__link--magnetic {
    transition: transform 0.2s ease-out;
}

/* Animated underline effect */
.header__nav .header__link {
    position: relative;
}

.header__nav .header__link .menu-line {
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ruby), var(--gold), var(--ruby));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.4s var(--ease-out-expo);
    box-shadow: 0 0 10px var(--ruby);
}

.header__nav .header__link:hover .menu-line {
    width: 60%;
}

/* Icon bounce on hover */
.header__link:hover i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1.25) rotate(-8deg);
    }

    25% {
        transform: scale(1.4) rotate(-12deg);
    }

    50% {
        transform: scale(1.2) rotate(-5deg);
    }

    75% {
        transform: scale(1.3) rotate(-10deg);
    }
}

/* Glow ring effect */
.header__link--glow::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg, var(--ruby), var(--gold), var(--amber), var(--gold), var(--ruby));
    border-radius: 60px;
    opacity: 0;
    z-index: -1;
    /* filter: blur removed for GPU performance */
    transition: opacity 0.4s ease;
    animation: glowSpin 3s linear infinite paused;
}

.header__link--glow:hover::before {
    opacity: 0.6;
    animation-play-state: running;
}

@keyframes glowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Enhanced menu item effects - auto applied */
.header__nav .header__link:nth-child(1) {
    animation-delay: 0s;
}

.header__nav .header__link:nth-child(2) {
    animation-delay: 0.05s;
}

.header__nav .header__link:nth-child(3) {
    animation-delay: 0.1s;
}

.header__nav .header__link:nth-child(4) {
    animation-delay: 0.15s;
}

.header__nav .header__link:nth-child(5) {
    animation-delay: 0.2s;
}

.header__nav .header__link:nth-child(6) {
    animation-delay: 0.25s;
}

/* Neon border glow on hover */
.header__link {
    background: transparent;
    border: 1px solid transparent;
}

.header__link:hover {
    border-color: rgba(227, 27, 84, 0.5);
    background: rgba(227, 27, 84, 0.08);
}

/* Particle sparkle effect pseudo element */
.header__link .sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* Active state enhanced */
.header__link.active {
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(227, 27, 84, 0.4), 0 0 30px rgba(245, 166, 35, 0.2);
}

.header__link.active:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(227, 27, 84, 0.5), 0 0 40px rgba(245, 166, 35, 0.3);
}

/* Ripple effect on click */
.header__link:active {
    transform: scale(0.96);
}

.header__link:active::before {
    animation: ripple 0.4s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* Floating animation for active item */
.header__link.active i {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) scale(1.15);
    }

    50% {
        transform: translateY(-3px) scale(1.2);
    }
}

/* Text gradient on hover */
.header__link:hover span {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 50%, var(--white) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 1.5s ease-in-out infinite;
}

@keyframes textShine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* "More" button special effect */
.header__link--more {
    position: relative;
}

.header__link--more::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg, var(--ruby), var(--gold), var(--amber), var(--ruby));
    border-radius: 60px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.header__link--more:hover::after {
    opacity: 0.3;
    animation: rotateGlow 2s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__search-btn,
.header__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--silver);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.header__search-btn::before,
.header__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.header__search-btn:hover,
.header__btn:hover {
    color: var(--white);
    border-color: var(--ruby);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 27, 84, 0.3);
}

.header__search-btn:hover::before,
.header__btn:hover::before {
    opacity: 1;
}

.header__search-btn i,
.header__btn i {
    position: relative;
    z-index: 1;
}

.header__btn--user {
    padding: 0;
    position: relative;
}

.header__btn--user::before {
    display: none;
}

.header__btn--user::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--ruby), var(--gold), var(--amber), var(--ruby));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: profileRingSpin 3s linear infinite paused;
}

.header__btn--user:hover::after {
    opacity: 1;
    animation-play-state: running;
}

.header__btn--user:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(227, 27, 84, 0.5), 0 0 40px rgba(245, 166, 35, 0.3);
    border-color: transparent;
}

@keyframes profileRingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.header__user-photo {
    width: 75%;
    height: 75%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
}

.header__btn--user:hover .header__user-photo {
    filter: brightness(1.1) saturate(1.2);
}

/* Theme Picker */
.theme-picker {
    position: relative;
}

.theme-picker__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--silver);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.theme-picker__btn:hover {
    color: var(--ruby);
    border-color: var(--ruby);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 27, 84, 0.3);
}

.theme-picker__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(20, 16, 26, 0.99); /* Solid background - no GPU blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1000;
    min-width: 200px;
}

.theme-picker.active .theme-picker__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.theme-picker__title {
    font-size: 0.75rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    padding: 0 8px;
}

.theme-picker__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.theme-picker__option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-picker__option:hover {
    transform: scale(1.15);
}

.theme-picker__option.active {
    border-color: var(--white);
    box-shadow: 0 0 20px currentColor;
}

.theme-picker__option.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.theme-picker__option--ruby {
    background: linear-gradient(135deg, #e31b54, #f5a623);
}

.theme-picker__option--ocean {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.theme-picker__option--emerald {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.theme-picker__option--purple {
    background: linear-gradient(135deg, #a855f7, #c084fc);
}

.theme-picker__option--sunset {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.theme-picker__option--rose {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.theme-picker__option--red {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.theme-picker__option--darkred {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
}

.theme-picker__option--yellow {
    background: linear-gradient(135deg, #eab308, #facc15);
}

.theme-picker__option--darkyellow {
    background: linear-gradient(135deg, #a16207, #ca8a04);
}

.theme-picker__option--chocolate {
    background: linear-gradient(135deg, #8B4513, #3D2317);
}

/* Mobile */
.header__mobile-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--pearl);
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header__mobile-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-cyan);
}

@media (max-width: 1180px) {
    .header {
        padding: 16px 20px;
    }

    .header.scrolled {
        padding: 12px 20px;
    }

    .header__nav {
        display: none;
    }

    .header__mobile-btn {
        display: flex;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 6, 8, 0.99); /* Solid background - no GPU blur */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pearl);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-overlay__close:hover {
    background: var(--ruby);
    border-color: var(--ruby);
    transform: rotate(90deg);
}

.search-box {
    width: 90%;
    max-width: 700px;
}

.search-box__input {
    width: 100%;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--pearl);
    font-family: var(--font-kurdish);
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.search-box__input:focus {
    outline: none;
    border-color: var(--ruby);
    box-shadow: 0 0 40px rgba(227, 27, 84, 0.2);
}

.search-box__input::placeholder {
    color: var(--silver);
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--charcoal);
    z-index: 1600;
    padding: 80px 24px 24px;
    transition: right 0.4s var(--ease-out-expo);
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--pearl);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu__close:hover {
    background: var(--ruby);
    border-color: var(--ruby);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: var(--pearl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 14px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.mobile-menu__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 14px;
}

.mobile-menu__link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-menu__link:hover::after {
    left: 100%;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
    color: var(--white);
    transform: translateX(-8px);
    border-color: rgba(227, 27, 84, 0.3);
    box-shadow: 0 8px 25px rgba(227, 27, 84, 0.3), 0 0 15px rgba(245, 166, 35, 0.15);
}

.mobile-menu__link:hover::before,
.mobile-menu__link.active::before {
    opacity: 1;
}

.mobile-menu__link i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-back);
}

.mobile-menu__link span {
    position: relative;
    z-index: 1;
}

.mobile-menu__link:hover i {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 6px var(--gold));
}

.mobile-menu__link:active {
    transform: translateX(-8px) scale(0.97);
}

/* More Menu */
.more-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 6, 8, 0.99); /* Solid background - no GPU blur */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
    overflow-y: auto;
    padding: 60px 20px;
}

.more-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.more-menu__container {
    width: 100%;
    max-width: 1100px;
    background: transparent;
    padding: 0;
    max-height: none;
}

.more-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    padding-bottom: 0;
    border-bottom: none;
}

.more-menu__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pearl);
    display: flex;
    align-items: center;
    gap: 12px;
}

.more-menu__title i {
    color: var(--ruby);
    font-size: 1.4rem;
}

.more-menu__close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--pearl);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.more-menu__close:hover {
    background: var(--ruby);
    border-color: var(--ruby);
}

.more-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

@media (max-width: 1024px) {
    .more-menu__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .more-menu__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.more-menu__section {
    position: relative;
    padding-right: 20px;
    border-right: 2px solid var(--ruby);
}

.more-menu__section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pearl);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.more-menu__section-title i {
    color: var(--ruby);
    font-size: 1.1rem;
}

.more-menu__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.more-menu__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 18px 12px;
    color: var(--silver);
    font-size: 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.more-menu__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.more-menu__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--pearl);
    transform: translateY(-4px) scale(1.02);
    border-color: var(--ruby);
    box-shadow: 0 10px 30px rgba(227, 27, 84, 0.25);
}

.more-menu__link:hover::before {
    opacity: 0.12;
}

.more-menu__link:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(227, 27, 84, 0.2);
}

.more-menu__link i,
.more-menu__link span {
    position: relative;
    z-index: 1;
}

.more-menu__link i {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    width: auto;
    text-align: center;
}

.more-menu__link:hover i {
    opacity: 1;
    color: var(--gold);
    transform: scale(1.15);
}

.more-menu__social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.more-menu__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--silver);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.more-menu__social a:hover {
    background: var(--ruby);
    border-color: var(--ruby);
    color: white;
    transform: translateY(-3px);
}

.header__link--more {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Main */
.main {
    min-height: 100vh;
    padding-top: 100px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(10, 6, 8, 0.95) 0%, var(--black) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ruby), var(--gold), var(--ruby), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse 80% 100% at 50% 100%, var(--burgundy) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.footer__top {
    padding: 60px 48px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer__top {
        padding: 50px 24px;
    }
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 1200px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

.footer__brand {
    display: flex;
    flex-direction: column;
}

.footer__brand img {
    height: 50px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(227, 27, 84, 0.3));
}

@media (max-width: 576px) {
    .footer__brand img {
        margin-left: auto;
        margin-right: auto;
    }
}

.footer__text {
    color: var(--silver);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 320px;
}

@media (max-width: 576px) {
    .footer__text {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

.footer__social {
    display: flex;
    gap: 14px;
}

@media (max-width: 576px) {
    .footer__social {
        justify-content: center;
    }
}

.footer__social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--silver);
    font-size: 1.2rem;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.footer__social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.footer__social a:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(227, 27, 84, 0.4);
}

.footer__social a:hover::before {
    opacity: 1;
}

.footer__social a i {
    position: relative;
    z-index: 1;
}

.footer__col {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
    border-right: 2px solid var(--ruby);
}

.footer__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pearl);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__title i {
    color: var(--ruby);
    font-size: 1.1rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__link {
    color: var(--silver);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
}

.footer__link:hover {
    color: var(--pearl);
    background: rgba(255, 255, 255, 0.05);
}

.footer__link i {
    font-size: 0.95rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    width: 18px;
    text-align: center;
}

.footer__link:hover i {
    opacity: 1;
    color: var(--ruby);
}

@media (max-width: 576px) {
    .footer__col {
        border-right: none;
        padding-right: 0;
        border-top: 2px solid var(--ruby);
        padding-top: 20px;
    }

    .footer__link {
        justify-content: center;
    }
}

.footer__bottom {
    padding: 28px 48px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer__bottom {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer__copy {
    color: var(--silver);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__copy span {
    color: var(--ruby);
}

.footer__apps {
    display: flex;
    gap: 14px;
}

.footer__apps a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--silver);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer__apps a i {
    font-size: 1.4rem;
    color: var(--pearl);
}

.footer__apps a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    color: var(--pearl);
}

/* Notification Float */
.notification-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.notification-float__btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    box-shadow: 0 8px 32px rgba(227, 27, 84, 0.4);
}

.notification-float__btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 40px rgba(227, 27, 84, 0.5);
}

.notification-float__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #fff;
    color: var(--ruby);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.notification-float__dropdown {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 0;
    width: 340px;
    max-height: 400px;
    background: rgba(20, 16, 26, 0.99); /* Solid background - no GPU blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1000;
    overflow: hidden;
    direction: rtl;
    transform: translateY(10px);
}

.notification-float__dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .notification-float {
        bottom: 20px;
        left: 20px;
    }

    .notification-float__btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .notification-float__dropdown {
        width: calc(100vw - 40px);
        max-width: 320px;
    }
}

.notification-float__header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-float__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pearl);
}

.notification-float__mark-all {
    font-size: 0.75rem;
    color: var(--gold);
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification-float__mark-all:hover {
    color: var(--amber);
}

.notification-float__list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-float__list::-webkit-scrollbar {
    width: 4px;
}

.notification-float__list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-float__list::-webkit-scrollbar-thumb {
    background: var(--steel);
    border-radius: 2px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-item.unread {
    background: rgba(245, 166, 35, 0.05);
    border-right: 3px solid var(--gold);
}

.notification-item__image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.notification-item__image--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    color: white;
    font-size: 1.2rem;
}

.notification-item__content {
    flex: 1;
    min-width: 0;
}

.notification-item__title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pearl);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item__message {
    font-size: 0.8rem;
    color: var(--silver);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item__time {
    font-size: 0.7rem;
    color: var(--steel);
    margin-top: 6px;
}

.notification-float__empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--silver);
}

.notification-float__empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
    display: block;
}

.notification-float__empty p {
    font-size: 0.9rem;
}

/* ============================================
   BOTTOM NAVIGATION BAR - Mobile Only (520px)
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 6, 8, 0.98); /* Solid background - no GPU blur */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.bottom-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--silver);
    font-size: 0.65rem;
    font-family: var(--font-kurdish);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 56px;
}

.bottom-nav__item i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.bottom-nav__item:hover,
.bottom-nav__item.active {
    color: var(--ruby);
}

.bottom-nav__item:hover i,
.bottom-nav__item.active i {
    transform: scale(1.1);
    color: var(--ruby);
}

.bottom-nav__item--highlight {
    position: relative;
}

.bottom-nav__item--highlight::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Bottom Nav Theme Picker Dropdown */
.bottom-nav__theme-dropdown {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(20, 16, 26, 0.99); /* Solid background - no GPU blur */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1001;
    min-width: 220px;
}

.bottom-nav__theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.bottom-nav__theme-title {
    font-size: 0.75rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    text-align: center;
}

.bottom-nav__theme-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bottom-nav__theme-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bottom-nav__theme-option:hover {
    transform: scale(1.15);
}

.bottom-nav__theme-option.active {
    border-color: var(--white);
    box-shadow: 0 0 15px currentColor;
}

/* Global fix for card poster - prevent children stretch */
.card__poster {
    display: block !important;
    position: relative !important;
}

/* Global fix for all card badges - prevent height stretch */
.card__badge,
.card__badge--rating,
.card__badge--quality,
.card__badge--views,
.card__badge--type,
.card__badge--season {
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
    width: auto !important;
    position: absolute !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
}

.card__badge--season {
    gap: 4px !important;
    bottom: 14px !important;
    right: 14px !important;
    top: auto !important;
    left: auto !important;
}

/* 950px Media Query - Show Bottom Nav, Simplify Header, Smaller Cards */
@media (max-width: 950px) {

    /* Show bottom nav */
    .bottom-nav {
        display: block;
    }

    /* Simplify header - only logo and hamburger */
    .header__actions .header__search-btn,
    .header__actions .theme-picker,
    .header__actions .header__btn:not(.header__mobile-btn) {
        display: none !important;
    }

    /* Add padding to main content for bottom nav */
    .main {
        padding-bottom: 80px;
    }

    /* Move notification float above bottom nav */
    .notification-float {
        bottom: 80px;
    }

    /* Footer needs padding for bottom nav */
    .footer {
        padding-bottom: 70px;
    }

    /* All card badges - smaller */
    .card__badge,
    .content-card__badge,
    .news-card__badge,
    .result-card__badge,
    .director-card__badge {
        padding: 4px 8px !important;
        font-size: 0.65rem !important;
        top: 8px !important;
        border-radius: 6px !important;
    }

    .card__badge--rating {
        left: 8px !important;
    }

    .card__badge--rating i {
        font-size: 0.5rem !important;
    }

    .card__badge--quality,
    .card__badge--views,
    .card__badge--type {
        right: 8px !important;
        padding: 3px 6px !important;
        font-size: 0.55rem !important;
    }

    .card__badge--quality i,
    .card__badge--views i,
    .card__badge--type i {
        font-size: 0.5rem !important;
    }

    /* Season badge - fix height and make smaller */
    .card__badge--season {
        padding: 3px 6px !important;
        font-size: 0.55rem !important;
        bottom: 8px !important;
        right: 8px !important;
        border-radius: 6px !important;
        height: auto !important;
        max-height: fit-content !important;
        align-self: flex-end !important;
        position: absolute !important;
        top: auto !important;
    }

    .card__badge--season i {
        font-size: 0.5rem !important;
    }

    /* Play button on cards - smaller */
    .card__play {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }

    .card__play i {
        font-size: 1rem !important;
    }

    /* Card info section - more compact */
    .card__info {
        padding: 12px !important;
    }

    .card__title {
        font-size: 0.85rem !important;
    }

    .card__meta,
    .card__year {
        font-size: 0.7rem !important;
    }
}

/* 950px Media Query - Header adjustments */
@media (max-width: 950px) {
    .header {
        padding: 12px 16px;
    }

    .header.scrolled {
        padding: 10px 16px;
    }

    .header__logo {
        flex-shrink: 0;
    }

    .header__logo img {
        height: 36px;
        width: auto;
        max-width: none;
    }

    .header__inner {
        gap: 12px;
        justify-content: space-between;
    }

    /* Bottom nav text visible */
    .bottom-nav__item span {
        display: block;
        font-size: 0.6rem;
    }
}

/* 520px Media Query - Extra small screens */
@media (max-width: 520px) {
    .header {
        padding: 25px 12px;
    }

    .header.scrolled {
        padding: 8px 12px;
    }

    .header__logo img {
        height: 32px;
    }

    .bottom-nav__item {
        padding: 6px 8px;
        min-width: 48px;
    }

    .bottom-nav__item i {
        font-size: 1.2rem;
    }

    .bottom-nav__item span {
        font-size: 0.55rem;
    }
}

/* More Menu Mobile adjustments */
@media (max-width: 768px) {
    .more-menu__section {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 20px;
    }

    .more-menu__section:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .more-menu__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .more-menu__link {
        padding: 14px 8px;
        font-size: 0.8rem;
    }

    .more-menu__link i {
        font-size: 1.3rem;
    }
}



/* ============================================
   TOP PROMO STRIP - HIDE ON SCROLL
   ============================================ */
/* *** promo strip STYLES *** */

.promo-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    width: 100%;
    padding: 10px 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: nowrap;
    background: linear-gradient(180deg, var(--noir) 0%, rgba(10, 6, 8, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

    /* Hide banners when scrolled */
    .promo-strip.hidden {
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

.promo-item {
    flex: 1;
    max-width: 700px;
    /*height: 70px;*/
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--charcoal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .promo-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .promo-item a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .promo-item img {
        width: 100%;
        /*height: 70px;*/
        display: block;
        object-fit: cover;
    }

/* Mobile */
@media (max-width: 768px) {
    .promo-strip {
        padding: 8px 12px;
        gap: 10px;
    }

    .promo-item {
        /*height: 50px;*/
    }

        .promo-item img {
            /*height: 50px;*/
        }

        /* Hide second banner on mobile */
        .promo-item:nth-child(2) {
            display: none;
        }
}

 
/* Ad Popup Styles */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Solid background - no GPU blur */
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.promo-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.promo-modal-container {
    background: linear-gradient(145deg, var(--charcoal), var(--noir));
    border-radius: 24px;
    max-width: 720px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 60px rgba(var(--ruby-rgb, 227, 27, 84), 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s var(--ease-out-back);
    animation: promoSlideIn 0.5s var(--ease-out-back) forwards;
}

@keyframes promoSlideIn {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.promo-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--pearl);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    /* backdrop-filter removed for GPU performance */
}

    .promo-modal-close:hover {
        background: var(--ruby);
        border-color: var(--ruby);
        transform: rotate(90deg);
    }

.promo-modal-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.promo-modal-content {
    padding: 24px;
}

.promo-modal-text {
    color: var(--pearl);
    font-family: var(--font-kurdish);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 20px;
}

.promo-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.promo-modal-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-kurdish);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promo-modal-btn-primary {
    background: linear-gradient(135deg, var(--ruby), var(--crimson));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(227, 27, 84, 0.4);
}

    .promo-modal-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(227, 27, 84, 0.5);
    }

.promo-modal-btn-secondary {
    background: transparent;
    color: var(--silver);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

    .promo-modal-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--pearl);
    }

/* Decorative elements */
.promo-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ruby), var(--gold), var(--ruby));
}

.promo-modal-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--noir);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-kurdish);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

@media (max-width: 520px) {
    .promo-modal-container {
        max-width: 100%;
        border-radius: 20px;
    }

    .promo-modal-image {
        max-height: 320px;
    }

    .promo-modal-content {
        padding: 20px;
    }

    .promo-modal-actions {
        flex-direction: column;
    }

    .promo-modal-btn {
        width: 100%;
        justify-content: center;
    }
}
 
/* Clickable image link in promo modal */
.promo-modal-image-link {
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.promo-modal-image-link:hover {
    opacity: 0.9;
}

.promo-modal-image-link:hover .promo-modal-image {
    transform: scale(1.02);
}

.promo-modal-image {
    transition: transform 0.3s ease;
}

/* ============================================
   GLOBAL MOBILE ANIMATION PERFORMANCE FIX
   Disables jittery floating/bouncing animations on mobile
   ============================================ */

/* GPU acceleration for animated elements */
.studio-logo,
.page-cover__icon,
.page-hero__icon,
.trophy-icon,
.collections-icon,
.coming-icon,
.bg-spot,
.bg-particles::before,
.bg-particles::after,
.page-cover__shape,
.birthday-icon,
.birthday-card__badge,
[class*="Float"],
[class*="float"] {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile: Disable floating/bouncing animations that cause jitter */
@media (max-width: 768px) {
    /* Disable all floating animations */
    .studio-logo,
    .page-cover__icon,
    .page-hero__icon,
    .trophy-icon,
    .collections-icon,
    .coming-icon,
    .bg-spot,
    .bg-spot--1,
    .bg-spot--2,
    .bg-spot--3,
    .particle,
    .page-cover__shape,
    .bg-particles::before,
    .bg-particles::after,
    .page-cover__bg::before,
    .page-cover__bg::after,
    .birthday-icon,
    .birthday-card__badge,
    .birthday-card__confetti span,
    .goto-seasons-btn i,
    .header__link.active i {
        animation: none !important;
    }
    
    /* Keep spinners working (they are needed for loading indicators) */
    .spinner,
    [class*="spin"],
    .loading i {
        animation-duration: 1s !important;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Keep essential spinners working but make them subtle */
    .spinner {
        animation-duration: 2s !important;
        animation-iteration-count: infinite !important;
    }
}

/* ============================================
   TV BROWSER / LOW-POWER DEVICE OPTIMIZATIONS (GLOBAL)
   These styles apply to ALL pages when .tv-browser class is on html
   ============================================ */

/* TV Browser - Remove GPU-intensive effects */
.tv-browser * {
    /* Significantly reduce transitions for all elements */
    transition-duration: 0.1s !important;
}

/* Disable backdrop-filter globally (very GPU intensive) */
.tv-browser .promo-strip,
.tv-browser .header__inner,
.tv-browser .header.scrolled .header__inner,
.tv-browser .mobile-menu,
.tv-browser .search-overlay,
.tv-browser .more-menu-overlay,
.tv-browser .notification-float__dropdown,
.tv-browser .theme-picker__dropdown,
.tv-browser .bottom-nav,
.tv-browser .bottom-nav__theme-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Simplify background animations - CRITICAL GPU FIX */
.tv-browser .bg-spot,
.tv-browser .bg-spot--1,
.tv-browser .bg-spot--2,
.tv-browser .bg-spot--3,
.tv-browser .particle {
    animation: none !important;
    filter: none !important; /* Remove 150px blur - main GPU killer */
    display: none !important; /* Hide completely for maximum performance */
}

/* Hide the entire bg-layer pseudo-elements on low-power devices */
.tv-browser .bg-layer::before,
.tv-browser .bg-layer::after {
    display: none !important;
}

/* Disable hover transforms */
.tv-browser .header__link:hover,
.tv-browser .header__logo:hover img,
.tv-browser .footer__link:hover,
.tv-browser .more-menu__link:hover,
.tv-browser .promo-item:hover img,
.tv-browser .bottom-nav__item:hover {
    transform: none !important;
}

/* Remove box-shadows on hover */
.tv-browser .header__link:hover,
.tv-browser .header.scrolled .header__inner,
.tv-browser .promo-item:hover img {
    box-shadow: none !important;
}

/* Disable icon animations */
.tv-browser .header__link:hover i,
.tv-browser .header__link i {
    animation: none !important;
    transform: none !important;
}

/* Simplify backgrounds */
.tv-browser .bg-layer::after {
    opacity: 0.2 !important;
}

/* Simplify header effects */
.tv-browser .header__link::before,
.tv-browser .header__link::after {
    display: none !important;
}

/* Remove filter effects */
.tv-browser .header__logo img {
    filter: none !important;
}

/* Disable menu pulse animations */
.tv-browser .header__link:hover::before {
    animation: none !important;
}

/* Static notification dropdown */
.tv-browser .notification-float__dropdown {
    transition: opacity 0.1s ease !important;
}

/* Simplify footer */
.tv-browser .footer__social a:hover {
    transform: none !important;
}

/* Loading spinners - keep but simplify */
.tv-browser .spinner,
.tv-browser [class*="loading"] i,
.tv-browser .trending-loading i {
    animation-duration: 1s !important;
    animation-iteration-count: infinite !important;
}

