* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
}

.glass-dropdown {
    background: rgba(var(--carbon-black), 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--glass-border), 0.08);
}

#mobile-menu-overlay {
    transition: transform 0.3s ease-in-out;
}

body.menu-open {
    overflow: hidden;
}

#main {
    min-height: 100vh;
}

.cinematic-gradient {
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--secondary)) 100%);
}

.glass-panel {
    background: rgba(var(--surface-variant), 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(24px);
}

.glass-panel-2 {
    background: rgba(var(--carbon-black), 0.4);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(var(--glass-border), 0.03);
}

.glass-panel-1 {
    background: rgba(var(--carbon-deep), 0.6);
}

.glass-panel:hover {
    background: rgba(var(--surface-container-high), 0.7);
    box-shadow: 0 10px 30px -10px rgba(var(--primary), 0.2);
}

.text-glow {
    text-shadow: 0 0 15px rgba(var(--primary), 0.4);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.neon-glow:hover {
    box-shadow: 0 0 15px rgba(var(--primary), 0.4);
}

.glass-input {
    background: rgba(var(--glass-border), 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--glass-border), 0.08);
}

.hover-link {
    transition: all 0.2s ease;
}

.hover-link:hover {
    color: rgb(var(--primary));
    transform: translateX(4px);
}

.social-glow:hover {
    text-shadow: 0 0 8px rgba(var(--glass-border), 0.5);
    color: rgb(var(--glass-border));
}

.trustpilot-card {
    background: linear-gradient(145deg, rgba(var(--glass-border), 0.03) 0%, rgba(var(--glass-border), 0.01) 100%);
    border: 1px solid rgba(var(--glass-border), 0.05);
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.group:hover .material-symbols-outlined {
    transform: scale(1.05);
}

#coverLoader, .coverLoader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(var(--shadow-color), 0.15);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    width: 100%;
    height: 100%;
    max-height: 100vh;
}

#loader {
    opacity: 1;
    transition: opacity .3s ease;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: .8; transform: scale(1.1); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

@keyframes scale-up-down {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes scale-up-down-sm {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.animate-scale {
    animation: scale-up-down .8s ease-in-out infinite;
}

.animate-scale-sm {
    animation: scale-up-down-sm .8s ease-in-out infinite;
}

.animate-scale .animate-scale {
    animation: unset !important;
}

.animate-spin-slow {
    animation: spin-slow 1s linear infinite;
}

.animate-pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 1.2s ease-in-out infinite;
}

.animate-pulse-glow-x2 {
    animation: pulse-glow .8s ease-in-out infinite;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cinematic-shadow {
    box-shadow: 0 40px 80px -20px rgba(var(--shadow-color), 0.8);
}

.modal-backdrop {
    background: rgba(var(--modal-backdrop), 0.85);
    backdrop-filter: blur(8px);
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-modal {
    animation: modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pulse-soft {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: rgb(var(--scrollbar-track));
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--scrollbar-thumb));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--primary));
}

.editorial-shadow {
    box-shadow: 0 40px 80px -20px rgba(var(--shadow-color), 0.5);
}

.netflix-rail {
    background: linear-gradient(180deg, rgb(var(--primary)) 0%, rgb(var(--surface-container-low)) 100%);
}

.ladder-item:hover .ladder-glow {
    opacity: 1;
}

.ladder-glow {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle, rgba(var(--primary), 0.15) 0%, transparent 70%);
}

.micro-chart-bar {
    transition: height 1s ease-out;
}

.chart-glow {
    filter: drop-shadow(0 0 8px rgba(var(--primary), 0.6));
}

.glass-card {
    background: rgba(var(--surface-container), 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--primary), 0.1);
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-animate-in {
    animation: modalEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.cinematic-bg {
    background: radial-gradient(circle at 50% -20%, rgba(var(--carbon-deep), 0.8) 0%, rgb(var(--surface)) 70%);
}

.primary-glow {
    box-shadow: 0 0 25px -5px rgba(var(--primary), 0.4);
}

.navbar, .aside {
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.navbar.shrink {
    height: 4rem !important;
}


.aside.expand {
    top: 4rem !important;
    height: calc(100vh - 4rem);
    
}
.aside.active{
    height: calc(100vh - 4rem) !important;
}

.otp-input:focus {
    box-shadow: 0 0 0 2px rgba(var(--primary), 0.4), 0 0 15px rgba(var(--primary), 0.2);
    border-color: rgb(var(--secondary));
}

.cta-gradient, .primary-gradient {
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--secondary)) 100%);
}

.netflix-red {
    background-color: rgb(var(--primary));
}

.netflix-gradient-hover:hover {
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--on-primary-fixed-variant)) 100%);
}

.modal-overlay {
    background: rgba(var(--modal-backdrop), 0.85);
    backdrop-filter: blur(8px);
}

.method-dimmed {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(1);
}

.wallet-selected {
    border-color: rgb(var(--primary)) !important;
    background: rgba(var(--primary), 0.05) !important;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}

.group:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

.hero-mask {
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgb(var(--surface-variant));
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
  .lg-no-scrollbar::-webkit-scrollbar {
    display: none;
  }

  .lg-no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.rail-card {
    flex: 0 0 auto;
    width: 230px;
    min-height: 275px;
}

@media (max-width: 640px) {
    .rail-card {
        width: 280px;
    }
}

.nav-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rail-wrapper:hover .nav-arrow {
    opacity: 1;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease-out; }
.tab-btn.active { color: rgb(var(--on-surface)); border-bottom-color: rgb(var(--primary)); }

.locked-overlay {
    background: rgba(var(--modal-backdrop), 0.75);
    backdrop-filter: blur(8px);
}

.glass-nav {
    background: rgba(var(--surface-container-lowest), 0.8);
    backdrop-filter: blur(12px);
}

@keyframes sparkle {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

.sparkle {
    position: absolute;
    background: rgb(var(--glass-border));
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle 1.5s ease-in-out forwards;
}

body {
    background-color: rgb(var(--background));
    color: rgb(var(--on-surface));
    font-family: 'Inter', sans-serif;
}

h1, h2, h3 {
    font-family: 'Manrope', sans-serif;
}

.timer-circle {
    transition: stroke-dashoffset 1s linear;
}

.glass-effect {
    background: rgba(var(--carbon-surface), 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--glass-border), 0.05);
}

.text-shadow-glow {
    text-shadow: 0 0 20px rgba(var(--primary), 0.6);
}

.hero-gradient {
    background: linear-gradient(to bottom, transparent 0%, rgba(var(--carbon-black), 0.95) 100%);
}

.cta-glow {
    box-shadow: 0 0 25px rgba(var(--primary), 0.4);
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--on-primary-fixed-variant)) 100%);
    animation: pulse-glow 2s infinite;
}

.cta-glow:hover {
    box-shadow: 0 0 30px rgba(var(--primary), 0.35);
}

.signature-gradient {
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--secondary)) 100%);
}

.focus-mode-backdrop {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.focus-active .dim-on-focus {
    opacity: 0.1;
    pointer-events: none;
}

.focus-active .editor-container {
    transform: translateY(-20px);
    background: rgba(var(--surface), 0.95);
    backdrop-filter: blur(10px);
}

.has-tooltip:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.red-glow {
    box-shadow: 0 0 20px rgba(var(--primary), 0.4);
}

.text-glow-neon {
    text-shadow: 0 0 10px rgba(var(--primary), 0.8), 0 0 20px rgba(var(--primary), 0.4);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(var(--primary), 0.2);
}

.abstract-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(var(--glass-border), 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.premium-lock-glow {
    filter: drop-shadow(0 0 12px rgba(var(--primary), 0.9));
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(var(--primary), 0.4); }
    70% { transform: scale(1.05); opacity: 0.8; box-shadow: 0 0 0 20px rgba(var(--primary), 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(var(--primary), 0); }
}

.animate-pulse-red {
    animation: pulse-red 2s infinite;
}

.shimmer-blur {
    filter: blur(8px);
    background: linear-gradient(90deg, rgb(var(--surface-variant)) 25%, rgb(var(--surface-bright)) 50%, rgb(var(--surface-variant)) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.digital-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
}

.vault-gradient {
    background: radial-gradient(circle at center, rgb(var(--carbon-surface)) 0%, rgb(var(--carbon-black)) 100%);
}

.path-line {
    background: linear-gradient(to bottom, rgb(var(--primary)), rgb(var(--error-container)), rgb(var(--primary)));
    filter: blur(1px);
}

.locked-stage {
    filter: grayscale(1) opacity(0.5);
}

/* Sidebar Styles */
#sidebar:not(.active) .auto-nav a {
    display: none;
}

#sidebar:not(.active) .auto-nav a:first-child,
#sidebar:not(.active) .auto-nav a:last-child {
    display: flex !important;
}

.nav-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(var(--primary));
    color: rgb(var(--on-primary));
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.nav-center-btn {
    display: flex;
}

@media (min-width: 1024px) {
    .nav-center-btn {
        display: none;
    }
}

.auto-nav {
    position: relative;
}

@media (max-width: 1024px) {
    .aside.expand:not(.active) {
        height: fit-content;
        top: unset !important;
    }
    #sidebar #expand-container {
        top: 0;
    }
    #sidebar.active #expand-container {
        position: relative;
        top: unset;
        left: unset;
        transform: unset;
        justify-content: center;
        align-items: center;
        padding: 0 2rem;
        max-width: fit-content;
    }

    #sidebar.active > div {
        display: flex;
        flex-direction: row-reverse;
        gap: 2rem;
    }
    #sidebar.active .auto-nav {
        min-height: fit-content;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: start;
        gap: 2rem;
        overflow-y: auto;
        padding: 2rem 0;
    }
    #sidebar.active .auto-nav > a{
        min-width: 170px;
    }
    #sidebar.active #expand-btn > span {
        inset-inline-start: 70px;
        transform: rotate(45deg);
    }

    #sidebar.active.aside {
        padding: 2rem 0 !important;
        overflow-y: auto;
    }
    #sidebar.active .auto-nav {
        min-height: fit-content;
    }

    #sidebar.active .active-hidded {
        display: block !important;
    }
}

@media (min-width: 640px) and (max-width: 1024px) {
    #sidebar:not(.active) .auto-nav a {
        display: none !important;
        width: 180px;
    }
    /*#sidebar.active .auto-nav {
        flex-direction: column !important;
        padding-inline-start: 100px;
        overflow-y: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }*/
    #sidebar.active #expand-btn > span {
        inset-inline-start: 70px;
        transform: rotate(45deg);
    }


    #sidebar:not(.active) .auto-nav a {
        display: none !important;
    }

    /* الحالة العامة: أول + ثاني + قبل الأخير + الأخير */
    #sidebar:not(.active) .auto-nav a:first-child,
    #sidebar:not(.active) .auto-nav a:nth-child(2),
    #sidebar:not(.active) .auto-nav a:nth-last-child(2),
    #sidebar:not(.active) .auto-nav a:last-child {
        display: flex !important;
    }

    #sidebar:not(.active) .auto-nav a:nth-child(2){
        margin-inline-end: 40px;
    }
    #sidebar:not(.active) .auto-nav a:nth-last-child(2){
        margin-inline-start: 40px;
    }

    /* ✅ إذا العدد = 3 → اعرض الأول والأخير فقط */
    #sidebar:not(.active) .auto-nav a:first-child:nth-last-child(3),
    #sidebar:not(.active) .auto-nav a:first-child:nth-last-child(3) ~ a:last-child {
        display: flex !important;
    }

    /* ❌ إخفاء العنصر الأوسط في حالة 3 */
    #sidebar:not(.active) .auto-nav a:first-child:nth-last-child(3) + a {
        display: none !important;
    }
}

#sidebar #expand-btn:hover {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#sidebar #expand-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px -10px rgba(var(--primary), 0.2);
}

@media (max-width: 768px) {
    #sidebar:not(.active) .auto-nav a {
        display: none !important;
    }
    #sidebar:not(.active) .auto-nav a:first-child,
    #sidebar:not(.active) .auto-nav a:last-child {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    #sidebar:not(.active) .auto-nav a {
        display: flex !important;
    }
    #sidebar #expand-container {
        display: none;
    }
}

.neon-glow-red {
    box-shadow: 0 0 20px rgba(var(--primary), 0.4), 0 0 40px rgba(var(--primary), 0.2);
}

.neon-border-red {
    border-color: rgba(var(--primary), 0.5);
    box-shadow: inset 0 0 15px rgba(var(--primary), 0.2), 0 0 15px rgba(var(--primary), 0.2);
}

.glass-panel-ultra {
    background: rgba(var(--surface-container), 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(var(--glass-border), 0.05);
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-pulse-soft {
    animation: pulse-soft 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.noir-overlay {
    background: linear-gradient(to bottom, rgba(var(--surface), 0) 0%, rgb(var(--surface)) 90%);
}

.poster-gradient {
    background: linear-gradient(to top, rgb(var(--surface)) 0%, rgba(var(--surface), 0.2) 60%, transparent 100%);
}

.glass { 
    background: rgba(var(--surface-variant), 0.6); 
    backdrop-filter: blur(20px); 
}

.poster-shadow { 
    box-shadow: 0 20px 40px -10px rgba(var(--shadow-color), 0.5); 
}

.sidebar-gradient {
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(var(--secondary)) 100%);
}

.premium-glow {
    box-shadow: 0 0 30px rgba(var(--gold-glow), 0.15);
    border: 1px solid rgba(var(--gold-glow), 0.3);
}

.premium-gradient {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-ai-button {
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--primary), 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(var(--primary), 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--primary), 0); }
}

.carbon-bg {
    background-color: rgb(var(--carbon-black));
    background-image: radial-gradient(circle at 50% 50%, rgb(var(--carbon-surface)) 0%, rgb(var(--carbon-black)) 100%);
}

.neon-red-glow {
    box-shadow: 0 0 20px rgba(var(--primary), 0.2);
}

.premium-gradient-card {
    background: linear-gradient(145deg, rgb(var(--carbon-surface)) 0%, rgb(var(--carbon-black)) 100%);
    border: 1px solid rgba(191, 149, 63, 0.3);
}

.gold-text {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-actions {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.group:hover .hover-actions {
    opacity: 1;
    transform: translateY(0);
}

.active-pulse {
    animation: pulse-red 2s infinite;
}

.star-rating {
    display: flex;
    justify-content: center;
}

.star-rating label {
    color: rgb(var(--rating-star));
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: rgb(var(--rating-star-active)) !important;
    font-variation-settings: 'FILL' 1, 'wght' 400 !important;
    filter: drop-shadow(0 0 8px rgba(var(--primary), 0.4));
}

.glass-input:focus {
    background: rgba(var(--glass-border), 0.05);
    border-color: rgb(var(--primary));
    box-shadow: 0 0 15px rgba(var(--primary), 0.2);
    outline: none;
}

.modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll::-webkit-scrollbar-track {
    background: rgba(var(--shadow-color), 0.1);
}

.modal-scroll::-webkit-scrollbar-thumb {
    background: rgb(var(--surface-variant));
    border-radius: 10px;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--primary));
}

.glass-blur {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.ultra-glass {
    background: rgba(var(--carbon-black), 0.85);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border: 1px solid rgba(var(--glass-border), 0.08);
}

.ultra-glass-1 {
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.neon-text-red {
    color: #ff3b3b;
    text-shadow: 0 0 10px rgba(var(--primary), 0.5), 0 0 20px rgba(var(--primary), 0.3);
}

.poster-hover:hover .logline {
    opacity: 1;
    transform: translateY(0);
}

.poster-hover:hover .poster-overlay {
    background: linear-gradient(to top, rgba(var(--modal-backdrop), 0.95) 20%, rgba(var(--modal-backdrop), 0.4) 100%);
}

.logline {
    transition: all 0.4s ease;
    transform: translateY(10px);
    opacity: 0;
}

@keyframes on-air-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.on-air-indicator {
    animation: on-air-pulse 2s infinite;
}

.path-card.active {
    border-color: rgb(var(--primary));
    background: rgba(var(--primary), 0.05);
}

.verification-pulse {
    animation: pulse-red 2s infinite;
}

.transition-all-apple {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*[dir="rtl"] .material-symbols-outlined {
    transform: scaleX(-1);
}*/

.ai-glow {
    box-shadow: 0 0 20px rgba(var(--primary), 0.15), inset 0 0 10px rgba(var(--primary), 0.1);
    border: 1px solid rgba(var(--primary), 0.3);
}

.card-hover:hover .image-zoom {
    transform: scale(1.05);
}

.cta-gradient:hover {
    box-shadow: 0 0 40px rgba(var(--primary), 0.5);
}

.premium-glow:hover {
    box-shadow: 0 0 25px rgba(var(--primary), 0.4);
}

.neon-red-text {
    color: rgb(var(--primary));
    text-shadow: 0 0 15px rgba(var(--primary), 0.4);
}

.row-hover:hover {
    background: rgba(var(--primary), 0.03);
    border-color: rgba(var(--primary), 0.2);
}

.payment-badge:hover .payment-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-8px);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.subtle-edge {
    box-shadow: inset 0 1px 0 0 rgba(var(--glass-border), 0.02);
}

.headline-tracking {
    letter-spacing: -0.02em;
}

.apple-card { 
    background: rgba(var(--apple-gray), 0.5); 
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(var(--glass-border), 0.1); 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}

.apple-card:hover { 
    border-color: rgb(var(--primary)); 
    box-shadow: 0 0 20px rgba(var(--primary), 0.2); 
}

.rail-container::-webkit-scrollbar {
    display: none;
}

.rail-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.poster-hover {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.poster-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(var(--shadow-color), 0.6), 0 0 15px -5px rgba(var(--primary), 0.1);
}

.neon-text-glow {
    text-shadow: 0 0 8px rgba(var(--primary), 0.4);
}

.talent-card-overlay {
    background: linear-gradient(0deg, rgba(var(--carbon-black), 1) 0%, rgba(var(--carbon-black), 0.4) 40%, transparent 100%);
}

@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary), 0.2); }
    70% { box-shadow: 0 0 0 8px rgba(var(--primary), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary), 0); }
}

.animate-subtle-pulse {
    animation: subtlePulse 2.5s infinite;
}

/* Cycle Hover Animation */
.preview-cycle img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.preview-cycle img:first-child {
    opacity: 1;
}

.poster-hover:hover .preview-cycle img:nth-child(1) { animation: cycle1 2.4s infinite; }
.poster-hover:hover .preview-cycle img:nth-child(2) { animation: cycle2 2.4s infinite; }
.poster-hover:hover .preview-cycle img:nth-child(3) { animation: cycle3 2.4s infinite; }

@keyframes cycle1 { 0%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes cycle2 { 0%, 33% { opacity: 0; } 34%, 66% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes cycle3 { 0%, 66% { opacity: 0; } 67%, 100% { opacity: 1; } }

.ambient-glow {
    box-shadow: 0 0 80px -20px rgba(var(--primary), 0.2);
}

.obsidian-card {
    background: linear-gradient(145deg, rgb(var(--carbon-surface)) 0%, rgb(var(--carbon-black)) 100%);
    border: 1px solid rgba(var(--gold-glow), 0.1);
}

.apple-input {
    background: rgba(var(--glass-border), 0.03);
    border: 1px solid rgba(var(--glass-border), 0.08);
    transition: all 0.3s ease;
}

.apple-input:focus {
    background: rgba(var(--glass-border), 0.05);
    border-color: rgba(var(--primary), 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary), 0.1);
}

.support-pulse-ring {
    position: relative;
}

.support-pulse-ring::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 2px solid rgb(var(--primary));
    animation: pulse-ring-1 2s infinite;
}

@keyframes pulse-ring-1 {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}





/* Bokeh Particles */
.bokeh-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.bokeh {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite linear;
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10vw, 20vh) scale(1.2); }
    66% { transform: translate(-5vw, 15vh) scale(0.8); }
    100% { transform: translate(0, 0) scale(1); }
}

.glass-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.glass-premium:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.success-glow-hero {
    box-shadow: 0 0 100px -10px rgba(34, 197, 94, 0.5);
    animation: pulse-success 4s infinite alternate;
}
@keyframes pulse-success {
    from { box-shadow: 0 0 80px -20px rgba(34, 197, 94, 0.4); transform: scale(1) rotate(3deg); }
    to { box-shadow: 0 0 120px 0px rgba(34, 197, 94, 0.7); transform: scale(1.05) rotate(0deg); }
}

.cinematic-card {
    background: radial-gradient(circle at top right, rgba(229, 9, 20, 0.2), transparent 70%),
                linear-gradient(145deg, #120101 0%, #050505 100%);
    border: 1px solid rgba(229, 9, 20, 0.4);
    position: relative;
}

.total-cinematic-card {
    position: relative !important;
    overflow: hidden !important;
    background: radial-gradient(circle at top right, rgba(229, 9, 20, 0.2), transparent 70%),
                linear-gradient(145deg, #120101 0%, #050505 100%);
    border: 1px solid rgba(229, 9, 20, 0.4);
    position: relative;
}
.total-cinematic-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0%, rgba(229,9,20,0.1) 25%, transparent 50%);
    animation: rotate-light 8s linear infinite;
}
@keyframes rotate-light {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-shimmer-fast {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}


.elite-vault-bg {
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at 2px 2px, rgba(234, 179, 8, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.9);
}

.btn-mega-pulse {
    background: linear-gradient(135deg, #E50914 0%, #930007 100%);
    box-shadow: 0 10px 40px rgba(229, 9, 20, 0.4);
    animation: mega-pulse 2.5s infinite;
}
@keyframes mega-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(229, 9, 20, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 15px 60px rgba(229, 9, 20, 0.7); }
}

.fill-icon { font-variation-settings: 'FILL' 1; }

.gold-glow { text-shadow: 0 0 15px rgba(234, 179, 8, 0.6); }

.star-rating button:hover ~ button { color: rgba(255,255,255,0.05) !important; }
.star-rating:hover button { color: #E50914; }



.premium-aside {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-blur: 20px;
    position: relative;
    overflow: hidden;
}

.gold-shimmer {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 4s infinite linear;
}

.gold-text-gradient {
    background: linear-gradient(to bottom, #F3E5AB, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.action-button-pulse {
    position: relative;
    z-index: 1;
}

.action-button-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    z-index: -1;
    animation: pulse-glow 3s infinite;
}

.loading-skeleton {
    background: linear-gradient(90deg, #0a0a0a 25%, #141414 50%, #0a0a0a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s infinite ease-in-out;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* Custom Scrollbar for sidebars if needed */
.premium-aside::-webkit-scrollbar {
    width: 4px;
}
.premium-aside::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}


.neon-accent {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.step-number {
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
}


.netflix-red-glow {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}
.status-glow-complete {
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
    border: 1px solid rgba(229, 9, 20, 0.3);
}
.status-glow-pending {
    box-shadow: 0 0 15px rgba(161, 161, 166, 0.1);
    border: 1px solid rgba(161, 161, 166, 0.2);
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.modal-animate-in {
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.glassmorphic-premium {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.gold-gradient {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
}


.cinematic-glass {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}
.neon-glow-primary {
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.15);
}
.hero-mesh {
    background-image: 
        radial-gradient(at 0% 0%, hsla(355, 93%, 46%, 0.12) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(242, 93%, 46%, 0.05) 0, transparent 50%),
        radial-gradient(at 50% 100%, hsla(355, 93%, 46%, 0.08) 0, transparent 50%);
}
.status-glow-active {
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.status-glow-paused {
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
}

.modal-active {
    display: flex !important;
}

.metric-label {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 800;
}

.step-active-glow {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.selection-glow {
    border-color: rgba(229, 9, 20, 0.4) !important;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}




.premium-glow-red {
  box-shadow: 0 0 40px -10px rgba(229, 9, 20, 0.5);
}
.text-glow {
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}
.image-mask {
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
}
@media (max-width: 1024px) {
  .image-mask {
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
  }
}

.pulse-loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: theme('colors.premium-accent');
  opacity: 0.2;
  animation: pulse-ring 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.neon-border { border: 1px solid rgba(229, 9, 20, 0.2); box-shadow: inset 0 0 15px rgba(229, 9, 20, 0.05); }
.chart-bar { transition: height 1s ease-in-out; }

.editorial-header-glow {
    text-shadow: 0 0 80px rgba(229, 9, 20, 0.35);
}
.red-neon-glow {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
}
.text-gradient-red {
    background: linear-gradient(135deg, #FF3D3D 0%, #E50914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lighting-effect {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 20%, rgba(229, 9, 20, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(229, 9, 20, 0.03) 0%, transparent 50%);
    z-index: -1;
}
.sharp-border {
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-blur {
    backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(5, 5, 5, 0.7);
}

.atmospheric-glow {
    background: radial-gradient(circle at 50% -20%, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
}
.atmospheric-glow-bottom {
    background: radial-gradient(circle at 80% 100%, rgba(229, 9, 20, 0.08) 0%, transparent 50%);
}
.text-neon {
    color: #E50914;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.primary-glow-btn {
    background: #E50914;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
    transition: all 0.3s ease;
}
.primary-glow-btn:hover {
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.5);
    transform: scale(1.02);
}

.cinematic-glow-bg { background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.15) 0%, transparent 60%), radial-gradient(circle at 100% 100%, rgba(229, 9, 20, 0.1) 0%, transparent 40%); }
.founder-img-container::after { content: ''; position: absolute; inset: -8px; border-radius: 9999px; border: 2px solid #E50914; opacity: 0.3; animation: pulse 3s infinite; }
.text-glow-red { text-shadow: 0 0 30px rgba(229, 9, 20, 0.5); }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.pulse-red { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.4); animation: pulse-red-anim 2s infinite; }
@keyframes pulse-red-anim { 0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(229, 9, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); } }


/* ========================================
   LIGHTBOX STYLES - جميع الأزرار ثابتة
   ======================================== */

/* خلفية الـ Lightbox */
.in-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.in-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* حاوية الصورة */
.in-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.in-lightbox.active .in-lightbox-content {
    transform: scale(1);
}

.in-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(229, 9, 20, 0.3);
}

/* ========================================
   زر الإغلاق - ثابت على الشاشة
   ======================================== */
.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
}

.in-lightbox.active .lightbox-close {
    opacity: 1;
    visibility: visible;
}

.lightbox-close:hover {
    background: #E50914;
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   أزرار التنقل - ثابتة على جوانب الشاشة
   ======================================== */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.in-lightbox.active .lightbox-nav {
    opacity: 1;
    visibility: visible;
}

.lightbox-nav:hover {
    background: #E50914;
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav-prev {
    left: 30px;
}

.lightbox-nav-next {
    right: 30px;
}

/* ========================================
   مؤشر الصورة - ثابت في الأسفل
   ======================================== */
.lightbox-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: monospace;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.in-lightbox.active .lightbox-counter {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   أزرار التنقل الرئيسية (السفلية)
   ======================================== */
.nav-btn {
    background: rgba(229, 9, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.nav-btn-left {
    left: 20px;
}

.nav-btn-right {
    right: 20px;
}

.nav-btn:hover {
    background: #E50914;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* ========================================
   بطاقات الإصدارات
   ======================================== */
.version-cards-container {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.version-card {
    position: absolute;
    width: 300px;
    height: 400px;
    border-radius: 1.5rem;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(229, 9, 20, 0.5);
    box-shadow: 0 10px 30px -10px rgba(229, 9, 20, 0.3), inset 0 0 20px rgba(229, 9, 20, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: zoom-in;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(30px);
    pointer-events: none;
}

.version-card.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.version-card.prev {
    opacity: 0.5;
    visibility: visible;
    transform: scale(0.85) translateX(-100px) translateY(10px) rotate(-5deg);
    z-index: 5;
    filter: blur(1px);
    pointer-events: none;
}

.version-card.next {
    opacity: 0.5;
    visibility: visible;
    transform: scale(0.85) translateX(100px) translateY(10px) rotate(5deg);
    z-index: 5;
    filter: blur(1px);
    pointer-events: none;
}

.version-card.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(30px);
    pointer-events: none;
}

.version-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.version-card.active img {
    opacity: 1;
}

/* ========================================
   تحسينات Responsive
   ======================================== */
@media (min-width: 768px) {
    .version-card {
        width: 350px;
        height: 480px;
    }
    .nav-btn-left {
        left: 40px;
    }
    .nav-btn-right {
        right: 40px;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .lightbox-nav-prev {
        left: 15px;
    }
    
    .lightbox-nav-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .lightbox-counter {
        bottom: 15px;
        padding: 6px 14px;
        font-size: 14px;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .lightbox-nav-prev {
        left: 10px;
    }
    
    .lightbox-nav-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}



.glass-bubble-user {
    background-color: rgba(229, 9, 20, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 9, 20, 0.2);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.1);
}
.glass-bubble-support {
    background-color: rgba(44, 44, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ambient-shadow {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.stepper-line {
    background: linear-gradient(90deg, rgba(229,9,20,1) 0%, rgba(229,9,20,1) 50%, rgba(44,44,46,1) 50%, rgba(44,44,46,1) 100%);
}

.communication-bar {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(32px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.glass-sidebar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.netflix-gradient {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
}

.chat-height {
    height: calc(100vh - 80px - 140px);
}
@media (max-width: 768px) {
    #chat-sidebar { width: 100%; }
    .chat-active #chat-sidebar { display: none !important; }
    #main-chat { display: none !important; }
    .chat-active #main-chat { display: flex !important; width: 100%; }
}




.apple-shadow {
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
}
.badge-glow {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-ticker {
    display: inline-flex;
    animation: ticker 60s linear infinite;
}

.animate-pulse-premium {
    animation: pulse-soft 3s ease-in-out infinite;
}
.cinematic-bar {
    background: linear-gradient(90deg, #e50914 0%, #ff3b30 50%, #e50914 100%);
    background-size: 200% auto;
    animation: shine 2s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}

/* Particle/Gold Dust Effect */
.gold-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.dust-particle {
    position: absolute;
    background: radial-gradient(circle, #ffd700 20%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: float-dust linear infinite;
}
@keyframes float-dust {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-300px) scale(1); opacity: 0; }
}

/* Neon Glow Border */
.neon-border-glow {
    position: relative;
}
.neon-border-glow::before {
    content: "";
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #e50914, #ff3b30, #e50914, #ff3b30);
    z-index: -1;
    border-radius: inherit;
    animation: neon-pulse 2s linear infinite;
    filter: blur(8px);
    opacity: 0.6;
}
@keyframes neon-pulse {
    0%, 100% { opacity: 0.4; filter: blur(6px); }
    50% { opacity: 0.9; filter: blur(12px); }
}

/* Scanline for high-tech feel */
.scanline {
    width: 100%;
    height: 2px;
    background: rgba(229, 9, 20, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    animation: scan 4s linear infinite;
    z-index: 20;
    pointer-events: none;
}
@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

/* Floating Badge */
.badge-float {
    animation: float-badge 3s ease-in-out infinite;
}
@keyframes float-badge {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Lens Flare */
.lens-flare {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 10;
}

.preview-card {
    background: linear-gradient(145deg, #1f1f1f 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-icon {
    pointer-events: none;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-animate {
    animation: fadeInScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hidden-modal {
    display: none !important;
}
.btn-ios {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
}
.btn-ios:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}
.btn-ios-primary {
    background: #e50914;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}
.btn-ios-primary:hover {
    background: #f40a16;
    transform: translateY(-1px);
}


.glow-hover:hover {
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.3);
    filter: brightness(1.05);
}

input[type="radio"]:checked + div {
    border-color: #e50914 !important;
    background: rgba(229, 9, 20, 0.08) !important;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.15);
}
.ultra-dashed {
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='32' ry='32' stroke='%23ffffff20' stroke-width='2' stroke-dasharray='8%2c 12' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
    border-radius: 32px;
}

.ultra-premium-modal {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gradient-button-premium {
    background: linear-gradient(135deg, #E50914 0%, #FF4D4D 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pulse-animation {
    animation: subtlePulse 3s infinite;
}
.inner-shadow-input {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}
.red-glass-active {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.1);
}
.progress-line {
    background: linear-gradient(90deg, #e50914 0%, #1b1b1b 100%);
}
.active-tab-indicator {
    view-transition-name: active-tab;
}

.obsidian-card { background: rgba(20, 20, 20, 0.4); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(12px); }
.code-syntax-keyword { color: #ff79c6; }
.code-syntax-attr { color: #8be9fd; }
.code-syntax-string { color: #f1fa8c; }
.code-syntax-tag { color: #50fa7b; }

.no-mirror { transform: scaleX(1) !important; }

/* Custom Select Styling */
.tactile-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d1d1d1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 1rem;
}
/* Banner Tabs Styles */
#bannerBox {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.banner-tab {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1.75rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(4px);
}

.banner-tab:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
}

.banner-tab.active {
    background: linear-gradient(135deg, #e50914, #ff4757);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(229,9,20,0.3);
}



.provider-card:hover .logo-glow {
    opacity: 0.6;
    transform: scale(1.1);
}
.logo-glow {
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

select.appearance-none {
  -webkit-appearance: none;  /* Safari and Chrome */
  -moz-appearance: none;     /* Firefox */
  appearance: none;          /* Modern standard browsers */
  background-image: none;    /* Removes arrows set via background in frameworks like Bootstrap or Tailwind */
}

/* Specific fix to remove the arrow in Internet Explorer 10/11 */
select.appearance-none::-ms-expand {
  display: none;
}



.stepper-active { transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.premium-hover { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.premium-hover:hover { background: rgba(229, 9, 20, 0.05); border-color: rgba(229, 9, 20, 0.5); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.4); }