:root {--accent-color:#A9FF2D; --background-start:rgba(0,0,0,.1); --background-end:rgba(0,0,0,.1); --text-color:#fff; --secondary-bg:rgba(0,0,0,.1); --dock-height:80px; --accent-color-rgb:169, 255, 45; --blur-multiplier:1;}
* {margin:0; padding:0; font-family:VT323, Vazir; box-sizing:border-box}
body {font-family:Roboto, sans-serif; background:url('https://www.transparenttextures.com/patterns/dark-mosaic.png') repeat, linear-gradient(135deg,#1a1a1a 0%,#0d0d0d 100%); min-height:100vh; overflow-x:hidden; position:relative; padding-top:60px; padding-bottom:var(--dock-height); color:var(--text-color)}
/* Base Scrollbar - dark themed */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Scrollbar Track - dark and blurred */
::-webkit-scrollbar-track {
  background: rgba(15, 15, 15, 0.8);
  border-radius: 7px;
  backdrop-filter: blur(calc(5px * var(--blur-multiplier)));
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
}

/* Scrollbar Thumb - glowing accent with contrast */
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent-color), rgba(255, 255, 255, 0.2));
  border-radius: 7px;
  border: 2px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 6px var(--accent-color), inset 0 0 2px #000;
  transition: all 0.3s ease;
}

/* Scrollbar Thumb Hover - bright glow */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffffffcc, var(--accent-color));
  box-shadow: 0 0 10px var(--accent-color), inset 0 0 4px #000;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.color-presets {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-swatch:hover {
  transform: scale(1.2);
  border-color: #fff;
}

.color-swatch.active {
  border-color: #fff;
  transform: scale(1.1);
}
.no-blur * {backdrop-filter:none !important;}
#header {display:flex; justify-content:space-between; align-items:center; padding:12px 24px; background:linear-gradient(145deg, rgba(0, 0, 0, 0.95), rgba(var(--accent-color-rgb), 0.2)); backdrop-filter:blur(calc(12px * var(--blur-multiplier))); font-family:'VT323', monospace; font-size:clamp(20px, 2vw, 20px); border-radius:12px; position:fixed; top:0px; left:10px; right:10px; z-index:1000; gap:30px; animation:slideDown 0.5s ease-out, pulseGlow 4s  ease-in-out; overflow:hidden; transform:perspective(500px) translateZ(10px); ; background-size:4px 4px;}
#header::before {content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle, rgba(var(--accent-color-rgb), 0.2) 10%, transparent 50%); opacity:0.3; pointer-events:none; animation:flowGlow 6s  ease-in-out;}
#header::after {content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to bottom, transparent 50%, rgba(var(--accent-color-rgb), 0.1) 50%); background-size:100% 4px; animation:scanline 2s linear infinite; pointer-events:none;}
#header * {text-shadow:0 2px 4px rgba(0, 0, 0, 0.6), 0 0 8px rgba(var(--accent-color-rgb), 0.5);}
#header > div, #weather {display:flex; align-items:center;}
#header > div {gap:12px; padding:6px 18px; background:linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(var(--accent-color-rgb), 0.25)); border:1px solid rgba(var(--accent-color-rgb), 0.4); border-radius:10px; transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1); backdrop-filter:blur(calc(5px * var(--blur-multiplier))); box-shadow:0 4px 12px rgba(0, 0, 0, 0.3); position:relative;}
#header > div:hover {background:linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.4), rgba(0, 0, 0, 0.3)); transform:scale(1.05) translateZ(5px); box-shadow:0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--accent-color-rgb), 0.7); border-color:rgba(var(--accent-color-rgb), 0.9);}
#weather {flex-wrap:wrap; gap:25px; direction:rtl; color:var(--text-color); padding:6px 18px; background:rgba(0, 0, 0, 0.2); border:1px dashed rgba(var(--accent-color-rgb), 0.4); border-radius:10px;}
#weather span {gap:10px; display:flex; align-items:center;}
#countdown i, #exchangeRate i, #weather i {font-size:1.5em; color:var(--accent-color); transition:transform 0.4s ease, text-shadow 0.4s ease;}
#header > div:hover i {transform:scale(1.3) rotate(5deg); text-shadow:0 0 12px rgba(var(--accent-color-rgb), 1), 0 0 20px rgba(var(--accent-color-rgb), 0.8);}
.weather-desc, .weather-pollution {font-weight:400; font-size:clamp(14px, 1.6vw, 16px); text-shadow:0 1px 3px rgba(0, 0, 0, 0.4); letter-spacing:1px; position:relative;}
.weather-desc::after, .weather-pollution::after {content:'_'; animation:blink 1s step-end infinite; color:var(--accent-color);}
.weather-temp {font-weight:700; font-size:clamp(18px, 2vw, 20px); color:var(--accent-color); text-shadow:0 0 8px rgba(var(--accent-color-rgb), 0.7); animation:glitch 2s infinite steps(10) alternate;}


#subtitleUpload, 
#videoUpload, 
#seekBar, 
.file-input-label[for="subtitleUpload"], 
.file-input-label[for="videoUpload"] {
    display: none;
}
#volume {
  -webkit-appearance: none; /* حذف استایل پیش‌فرض مرورگر */
  appearance: none;
  width: clamp(80px, 10vw, 120px); /* حفظ عرض فعلی */
  height: 8px; /* ارتفاع نوار اسلایدر */
  background: rgba(255, 255, 255, 0.2); /* رنگ پس‌زمینه نوار */
  border-radius: 10px; /* گوشه‌های گرد */
  outline: none; /* حذف فوکوس پیش‌فرض */
  transition: background 0.3s ease; /* انیمیشن تغییر رنگ */
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* سایه ظریف */
}

/* استایل thumb (دکمه کشویی اسلایدر) */
#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px; /* اندازه دکمه */
  height: 16px;
  background: var(--accent-color, #fff); /* رنگ دکمه (می‌تونی متغیر دلخواهت رو بذاری) */
  border-radius: 50%; /* دایره‌ای کردن */
  border: 2px solid rgba(255, 255, 255, 0.8); /* حاشیه سفید */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); /* سایه */
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* برای فایرفاکس */
#volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--accent-color, #fff);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

/* تغییر رنگ نوار هنگام هاور */
#volume:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* بزرگ شدن thumb هنگام هاور */
#volume::-webkit-slider-thumb:hover,
#volume::-moz-range-thumb:hover {
  transform: scale(1.2); /* بزرگ شدن دکمه */
  background: var(--accent-color, #fff);
}

/* پر شدن نوار تا محل thumb (فقط در کروم و سافاری) */
#volume::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--accent-color, #fff) 0%, var(--accent-color, #fff) var(--volume-value, 100%), rgba(255, 255, 255, 0.2) var(--volume-value, 100%), rgba(255, 255, 255, 0.2) 100%);
}
.dock {display:flex; flex-wrap:wrap; justify-content:center; align-items:center; background:rgba(0, 0, 0, 0.351); backdrop-filter:blur(calc(5px*var(--blur-multiplier))); padding:10px; position:fixed; left:0; right:0; bottom:0; border-radius:20px 20px 0 0; z-index:10; gap:8px;}
.dock-btn, .dock-input[type=color], .dock-range, .dock-select, .file-input-label {display:flex; background:rgba(255,255,255,.1); transition:background .3s, transform .3s; cursor:pointer; backdrop-filter:blur(calc(5px*var(--blur-multiplier))); border:1px solid rgba(255, 255, 255, .2); box-shadow:0 4px 6px rgba(0, 0, 0, .1)}
.dock-btn, .dock-input[type=color], .dock-range, .dock-select {color:#fff; padding:8px 12px; border-radius:8px; margin:4px; font-size:clamp(12px,1.5vw,14px); align-items:center; gap:8px; touch-action:manipulation}
.dock-btn:hover, .dock-input[type=color]:hover, .dock-range:hover, .dock-select:hover, .file-input-label:hover, .pagination button:hover {background:rgba(var(--accent-color-rgb), .3); color:#fff; box-shadow:0 6px 8px rgba(0,0,0,.15); transform:translateY(-2px)}
.dock-btn i, .movie-item button i, .tab-btn i {font-size:1.4em; transition:transform .3s, color .3s}
.dock-btn:hover i, .movie-item button:hover i, .tab-btn:hover i {transform:scale(1.2); color:var(--accent-color)}
.dock-range {width:clamp(80px,10vw,120px)}
.dock-select {min-width:100px; background:rgba(0,0,0,.7); border-color:var(--accent-color); transition:background .3s, border-color .3s}
.dock-select:focus, .dock-select:hover {background:rgba(0,0,0,.8); border-color:#fff; outline:none}
.dock-select option {background:rgba(0,0,0,.9); color:#fff}
.dock-select-label, .file-input-label {color:var(--text-color); font-size:clamp(10px,1.2vw,14px); margin-right:5px}
.drop-area, .tab-btn, .time-display {font-family:'VT323','Vazir', sans-serif}
.time-display {color:var(--text-color); font-size:clamp(12px,1.5vw,16px); text-shadow:0 1px 2px rgba(0, 0, 0, .3)}
.drop-area, .movie-finder-form, .series-finder-form, .tab-btn {color:var(--accent-color)}
.file-input-label {align-items:center; padding:8px; border-radius:8px}
.file-input-label i {margin-right:8px}
.tab-pane, input[type=file] {display:none}
.drop-area {width:100%;font-weight: lighter; height:clamp(120px,16vh,150px); border:3px dashed var(--accent-color); border-radius:20px; display:flex; justify-content:center; align-items:center; font-size:clamp(22px, 2.5vw, 18px); background:linear-gradient(145deg, rgba(20, 20, 20, .9), rgba(var(--accent-color-rgb), .1)); backdrop-filter:blur(calc(12px*var(--blur-multiplier))); text-align:center; box-shadow:0 6px 15px rgba(0, 0, 0, .2), inset 0 0 10px rgba(var(--accent-color-rgb), .3); transition:all .4s cubic-bezier(0.4, 0, 0.2, 1); position:relative; overflow:hidden; cursor:pointer; animation:flowIn .7s cubic-bezier(0.4, 0, 0.2, 1) forwards}
.drop-area:hover, .drop-area.dragover {background:linear-gradient(145deg,rgba(20,20,20,.95), rgba(var(--accent-color-rgb), .25)); border-color:rgba(var(--accent-color-rgb), 1); box-shadow:0 10px 25px rgba(0, 0, 0, .3), inset 0 0 15px rgba(var(--accent-color-rgb), .5); transform:scale(1.03) translateY(-3px); color:#fff}
.drop-area::before {content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle, rgba(var(--accent-color-rgb), .3) 10%, transparent 50%); opacity:0; transition:opacity .4s cubic-bezier(0.4,0,0.2,1); pointer-events:none}
.drop-area:hover::before, .drop-area.dragover::before {opacity:.8; animation:flowGlow 2s  ease-in-out}
.drop-area span {text-shadow:0 0 8px rgba(var(--accent-color-rgb), .7); transition:text-shadow .4s cubic-bezier(0.4,0,0.2,1)}
.drop-area:hover span, .drop-area.dragover span {text-shadow:0 0 12px rgba(var(--accent-color-rgb), 1)}

@keyframes flowIn {
0% {opacity:0; transform:translateY(20px) scale(.98)}
100% {opacity:1; transform:translateY(0) scale(1)}
}

@keyframes flowGlow {
0% {transform:translate(-5%,-5%) rotate(0deg); opacity:.8}
50% {transform:translate(5%, 5%) rotate(5deg); opacity:.5}
100% {transform:translate(-5%,-5%) rotate(0deg); opacity:.8}
}

.main-container {display:flex; flex-wrap:wrap; padding:20px; gap:30px; max-width:1650px; margin:5vh auto 0; padding-bottom:var(--dock-height)}
.left-column, .right-column {display:flex}
.left-column {flex:2; min-width:400px; flex-direction:column; gap:20px}
.right-column {flex:2; min-width:750px; border-radius:15px; padding:20px; background:var(--secondary-bg); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); box-shadow:0 4px 6px rgba(0,0,0,.1); border:1px solid rgba(255, 255, 255, .2)}
.video-container {width:100%; background:var(--secondary-bg); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); border-radius:15px; box-shadow:0 4px 6px rgba(0,0,0,.1); position:relative; border:1px solid rgba(255, 255, 255, .2)}
iframe, video {width:100%; border-radius:12px; display:block}
.progress-container {width:100%; height:8px; background:rgba(255,255,255,.1); margin:10px 0; position:relative; cursor:pointer; border-radius:5px; backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
.progress-bar {height:100%; width:0; background:var(--accent-color); border-radius:5px; box-shadow:0 0 10px rgba(var(--accent-color-rgb), .8)}
#movie-info, .summary {background:var(--secondary-bg); border-radius:10px; border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(calc(10px * var(--blur-multiplier)))}
#movie-info {margin-top:20px; padding:10px}
#similar-movies, #cast-crew {margin-bottom:20px}
#similar-movies h3, #cast-crew h3 {font-family:VT323, sans-serif; font-size:20px; color:var(--accent-color); margin-bottom:10px}
.tab-styled-container {background:linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(var(--accent-color-rgb), 0.1)); border-radius:20px; padding:15px; box-shadow:0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(var(--accent-color-rgb), 0.3); backdrop-filter:blur(calc(12px * var(--blur-multiplier))); overflow:hidden; animation:flowIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; width:100%; max-width:900px; position:relative; border:1px solid rgba(var(--accent-color-rgb), 0.5);}
.tab-banner-header {display:flex; justify-content:space-between; align-items:center; padding:10px 15px; background:rgba(0, 0, 0, 0.5); border-bottom:1px solid rgba(var(--accent-color-rgb), 0.3);}
.tab-banner-title {font-family:'VT323', monospace; font-size:1.6rem; letter-spacing:3px; text-shadow:0 0 10px rgba(var(--accent-color-rgb), 0.8);}
.tab-toggle-btn {background:transparent; border:none; color:var(--accent-color); font-size:1.4rem; cursor:pointer; transition:transform 0.3s ease, color 0.3s ease; padding:5px;}
.tab-toggle-btn:hover {transform:scale(1.1); color:#fff;}
.tab-toggle-icon {transition:transform 0.3s ease;}
.tab-banner-teaser {padding:10px 15px; text-align:center; transition:opacity 0.3s ease, height 0.3s ease; height:30px;}
.tab-teaser-circles {display:flex; justify-content:center; gap:10px;}
.tab-teaser-circle {width:24px; height:24px; border-radius:50%; object-fit:cover; border:1px solid rgba(var(--accent-color-rgb), 0.5); box-shadow:0 0 5px rgba(var(--accent-color-rgb), 0.3); transition:opacity 0.3s ease;}
.tab-banner-teaser.hidden {opacity:0; height:0; padding:0; margin:0;}
.tab-collapsible-content {max-height:0; overflow:hidden; transition:max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); background:rgba(0, 0, 0, 0.3); padding:0 15px;}
.tab-collapsible-content.expanded {padding:15px;}
.tab-collapsible-content.fade-in {opacity:1; animation:fadeInContent 0.5s ease forwards;}
.shimmer-placeholder {background:linear-gradient(90deg, rgba(40, 40, 40, 0.9), rgba(60, 60, 60, 0.9), rgba(40, 40, 40, 0.9)); animation:shimmer 1.5s infinite; border-radius:5px;}
.shimmer-banner-title {width:50%; height:25px; margin:10px 15px;}
.shimmer-banner-grid {display:flex; gap:15px; padding:15px;}
.shimmer-banner-cast {width:60px; height:60px; border-radius:50%;}
.shimmer-banner-movie {width:100px; height:150px; border-radius:8px;}
.tab-section {margin-bottom:20px;}
.tab-styled-subtitle {font-family:'VT323', monospace; font-size:1.3rem; color:var(--accent-color); text-shadow:0 0 8px rgba(var(--accent-color-rgb), 0.7); margin-bottom:15px; opacity:0; animation:flowIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;}
.tab-scroll-container {display:flex; gap:15px; overflow-x:auto; padding:10px 20px; scroll-behavior:smooth; -ms-overflow-style:none; scrollbar-width:none;}
.tab-scroll-container::-webkit-scrollbar {display:none;}
.tab-styled-subitem {text-align:center; width:80px; cursor:pointer; position:relative; transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease; opacity:0; animation:flowIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;}
.similar-item.tab-styled-subitem {width:120px;}
.tab-styled-image-wrapper {position:relative; margin:0 auto; transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);}
.cast-wrapper {width:60px; height:60px; border-radius:50%; overflow:hidden; position:relative;}
.similar-wrapper {width:100px; height:150px; border-radius:10px; overflow:visible;}
.tab-styled-image-wrapper:hover {transform:scale(1.15);}
.similar-wrapper:hover {transform:scale(1.25);}
.tab-glow-overlay {position:absolute; top:0; left:0; width:100%; height:100%; background:radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 0%, transparent 70%); opacity:0; transition:opacity 0.4s ease; pointer-events:none; z-index:2;}
.tab-styled-image-wrapper:hover .tab-glow-overlay {opacity:0.8; animation:flowGlow 2s  ease-in-out;}
.tab-scroll-container .tab-styled-subitem:hover ~ .tab-styled-subitem {transform:translateX(10px);}
.tab-scroll-container .tab-styled-subitem:has(+ .tab-styled-subitem:hover) {transform:translateX(-10px);}
.tab-styled-subitem:hover {z-index:10;}
.tab-styled-image {width:100%; height:100%; object-fit:cover; filter:grayscale(100%); transition:filter 0.4s ease, box-shadow 0.4s ease; position:relative; z-index:1;}
.cast-image {border-radius:50%; box-shadow:0 4px 12px rgba(0, 0, 0, 0.4);}
.similar-image {border-radius:10px; box-shadow:0 4px 12px rgba(0, 0, 0, 0.4);}
.tab-styled-image-wrapper:hover .tab-styled-image {filter:grayscale(0%); box-shadow:0 0 20px rgba(var(--accent-color-rgb), 0.6);}
.tab-styled-label {position:absolute; bottom:5px; left:0; right:0; font-family:'Poppins', sans-serif; font-size:0.7rem; color:#fff; background:rgba(0, 0, 0, 0.7); padding:2px 5px; border-radius:0 0 50% 50%; opacity:0; transition:opacity 0.4s ease; z-index:3;}
.cast-wrapper:hover .tab-styled-label {opacity:1;}
.tab-styled-text {font-family:'Poppins', sans-serif; color:var(--text-primary, #fff); transition:opacity 0.4s ease; position:relative; z-index:2;}
.tab-styled-name {font-size:0.85rem; font-weight:300; margin-top:6px; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0.7;}
.tab-styled-subitem:hover .tab-styled-name {opacity:1;}
.tab-styled-no-data {font-size:0.85rem; font-weight:300;}
.tab-styled-error {font-size:0.85rem; font-weight:300; color:#ff5555; margin-bottom:10px; text-align:center;}
.tab-styled-retry {background:var(--accent-color, #ff6f61); border:none; padding:8px 16px; border-radius:8px; font-size:0.85rem; font-weight:300; transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);}
.tab-styled-retry:hover {transform:scale(1.05);}

@keyframes flowIn {0% {opacity:0; transform:translateY(20px) scale(0.98);} 100% {opacity:1; transform:translateY(0) scale(1);}}
@keyframes flowGlow {0% {transform:translate(-5%, -5%) rotate(0deg); opacity:0.8;} 50% {transform:translate(5%, 5%) rotate(5deg); opacity:0.5;} 100% {transform:translate(-5%, -5%) rotate(0deg); opacity:0.8;}}
@keyframes shimmer {0% {background-position:-200px 0;} 100% {background-position:200px 0;}}
@keyframes fadeInContent {0% {opacity:0;} 100% {opacity:1;}}

.tabs {width:100%; position:relative; background:linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(var(--accent-color-rgb), 0.25)); border-radius:20px; padding:20px; box-shadow:0 8px 20px rgba(0, 0, 0, 0.5); transition:box-shadow 0.3s ease; overflow:visible;}
.tabs:hover {box-shadow:0 12px 30px rgba(0, 0, 0, 0.6);}
.tab-headers {display:flex; justify-content:space-around; flex-wrap:wrap; gap:15px; position:relative; padding:10px 0;}
.tab-btn {background:linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(var(--accent-color-rgb), 0.3), rgba(0, 0, 0, 0.2)); border:2px solid rgba(var(--accent-color-rgb), 0.8); padding:16px 28px; cursor:pointer; border-radius:15px; flex:1; min-width:140px; margin:8px; font-size:clamp(18px, 2vw, 22px); font-family:'VT323', monospace; display:flex; align-items:center; justify-content:center; text-transform:uppercase; letter-spacing:2px; color:#fff; text-shadow:0 0 5px rgba(var(--accent-color-rgb), 0.6); box-shadow:0 4px 10px rgba(0, 0, 0, 0.3); position:relative; transition:transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; will-change:transform, box-shadow; z-index:1; overflow:visible;}
.tab-btn[lang="fa"] {font-family:'Vazir', sans-serif;letter-spacing: normal; white-space:nowrap;} /* فونت و nowrap فقط برای فارسی */
.tab-headers > .tab-btn:nth-child(1) {--tab-index:1;}
.tab-headers > .tab-btn:nth-child(2) {--tab-index:2;}
.tab-headers > .tab-btn:nth-child(3) {--tab-index:3;}
.tab-headers > .tab-btn:nth-child(4) {--tab-index:4;}
.tab-headers > .tab-btn:nth-child(5) {--tab-index:5;}
.tab-headers > .tab-btn:nth-child(6) {--tab-index:6;}
.tab-headers > .tab-btn:nth-child(n+7) {--tab-index:7;}
.tab-btn:hover {background:linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.5), rgba(0, 0, 0, 0.4)); transform:translateY(-4px); box-shadow:0 8px 20px rgba(0, 0, 0, 0.4); border-color:rgba(var(--accent-color-rgb), 1);}
.tab-btn.active {background:linear-gradient(45deg, rgba(var(--accent-color-rgb), 0.8), rgba(0, 0, 0, 0.5)); border:2px solid rgba(var(--accent-color-rgb), 1); transform:translateY(-2px); box-shadow:0 10px 25px rgba(0, 0, 0, 0.5); text-shadow:0 0 8px rgba(var(--accent-color-rgb), 0.8); z-index:2;}
.tab-btn i {font-size:1.8em; margin-right:10px; transition:transform 0.3s ease;}
.tab-btn:hover i {transform:rotate(10deg);}
.tab-btn.active i {transform:rotate(5deg);}
.season-item.expanded .episodes, .tab-pane.active {display:block; opacity:1; transform:none;}
.history-item, .playlist-item {padding:15px; background:var(--secondary-bg); margin:10px 0; border-radius:10px; cursor:pointer; font-size:clamp(14px, 1.5vw, 16px); display:flex; justify-content:space-between; align-items:center; transition:background 0.3s; border:1px solid rgba(255, 255, 255, 0.2);}
#subtitleModal .subtitle-option:hover, .history-item:hover, .playlist-item:hover {
  background: rgba(var(--accent-color-rgb), 0.2);
}

.finder-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: calc(100vh - 450px);
  overflow-y: auto;
}

.movie-finder-form, .series-finder-form {
  flex: 3;
  min-width: 300px;
  max-width: 450px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow-y: inherit;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--secondary-bg);
}

.movie-finder-form label, .movie-finder-form summary, .series-finder-form label, .series-finder-form summary {
  align-items: center;
  display: flex;
  font-family: 'VT323', sans-serif;
}

.movie-finder-form h3, .series-finder-form h3 {font-size:24px; text-align:center; margin-bottom:20px; text-transform:uppercase; letter-spacing:0px; color:var(--accent-color); text-shadow:0 1px 2px rgba(0,0,0,.3)}
.movie-finder-form details, .series-finder-form details {background:var(--secondary-bg); border-radius:10px; padding:10px; margin-bottom:10px; transition:.3s; border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(calc(10px * var(--blur-multiplier)))}
.movie-finder-form details[open], .series-finder-form details[open] {background:rgba(0,0,0,.2); box-shadow:0 4px 6px rgba(0, 0, 0, .1)}
.movie-finder-form summary, .series-finder-form summary {font-size:16px; cursor:pointer; padding:10px; gap:10px; transition:color .3s; position:relative}
.movie-finder-form summary:hover, .series-finder-form summary:hover {color:#fff}
.movie-finder-form summary::-webkit-details-marker, .series-finder-form summary::-webkit-details-marker {display:none}
.movie-finder-form summary::after, .series-finder-form summary::after {content:'\f0d7'; font-family:'Font Awesome 6 Free'; font-weight:900; position:absolute; right:10px; transition:transform .3s}
.movie-finder-form details[open] summary::after, .series-finder-form details[open] summary::after {transform:rotate(180deg)}
.form-group, .movie-finder-form .form-group, .series-finder-form .form-group {margin-bottom:15px; display:flex; flex-direction:column; gap:8px}
.movie-finder-form label, .series-finder-form label {gap:8px; font-size:18px; color:var(--text-color); text-shadow:0 1px 2px rgba(0,0,0,.3)}
.movie-finder-form .dock-input, .movie-finder-form .dock-select, .series-finder-form .dock-input, .series-finder-form .dock-select {background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255, 255, 255, .2); padding:10px; border-radius:8px; font-size:18px; transition:.3s; width:100%; backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
.movie-finder-form .dock-input:focus, .movie-finder-form .dock-input:hover, .movie-finder-form .dock-select:focus, .movie-finder-form .dock-select:hover, .series-finder-form .dock-input:focus, .series-finder-form .dock-input:hover, .series-finder-form .dock-select:focus, .series-finder-form .dock-select:hover {background:rgba(var(--accent-color-rgb), .2); color:#fff; box-shadow:0 6px 8px rgba(0,0,0,.15); outline:0; border-color:#fff}
.movie-finder-form .range-group, .series-finder-form .range-group {display:flex; gap:10px; align-items:center}
.movie-finder-form .range-group input, .series-finder-form .range-group input {flex:1}
.movie-finder-form .genre-checkboxes {display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:8px; max-height:200px; overflow-y:auto; padding:10px; background:var(--secondary-bg); border-radius:5px; border:1px solid rgba(255, 255, 255, .2); backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
.movie-finder-form .checkbox-item {display:flex; align-items:center; gap:5px; font-size:15px; transition:transform .3s}
.movie-finder-form .checkbox-item:hover {transform:translateX(5px)}
.movie-finder-form .checkbox-item input[type=checkbox] {accent-color:var(--accent-color); transform:scale(1.2)}
.movie-finder-form .form-actions, .series-finder-form .form-actions {display:flex; gap:15px; justify-content:space-between; margin-top:20px}
.movie-finder-form .finder-submit, .movie-finder-form .reset-btn, .series-finder-form .finder-submit, .series-finder-form .reset-btn {flex:1; padding:12px; font-size:16px; background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255, 255, 255, .2); border-radius:10px; cursor:pointer; transition:.3s; text-transform:uppercase; box-shadow:0 4px 6px rgba(0, 0, 0, .1); backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
.movie-finder-form .finder-submit:hover, .movie-finder-form .reset-btn:hover, .series-finder-form .finder-submit:hover, .series-finder-form .reset-btn:hover {background:rgba(var(--accent-color-rgb), .3); color:#fff; transform:scale(1.05); box-shadow:0 6px 8px rgba(0,0,0,.15)}
.finder-results-container {flex:3; display:flex; flex-direction:column; overflow-y:auto; height:100%; padding-left:10px}
.movie-results {display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:25px; width:100%; padding:0}
.movie-item {position:relative; display:flex; flex-direction:column; align-items:center; padding:20px; border-radius:15px; box-shadow:0 4px 6px rgba(0,0,0,.1); color:var(--accent-color); transition:transform .3s, box-shadow .3s; overflow:hidden; background:var(--secondary-bg); border:1px solid rgba(255, 255, 255, .2); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); text-align:center}
.movie-item:hover {transform:translateY(-10px); box-shadow:0 6px 8px rgba(0,0,0,.15)}
.movie-item img {width:100%; max-width:200px; border-radius:12px; transition:transform .3s; margin-bottom:15px}
.movie-item:hover img {transform:scale(1.05)}
.movie-item h4 {font-family:VT323, sans-serif; font-size:clamp(20px,2.3vw,25px); margin:10px 0; line-height:1.3; text-transform:uppercase; display:flex; align-items:center; gap:8px; text-shadow:0 1px 2px rgba(0, 0, 0, .3)}
.movie-item .description {max-height:100px; overflow:hidden; text-overflow:ellipsis; font-size:clamp(15px,1.54vw,17px); color:rgba(255, 255, 255, .9); margin:8px 0 12px; line-height:1.5}
.movie-item p {font-size:clamp(19px,1.54vw,17px); margin:8px 0; display:flex; align-items:center; text-align:justify; gap:6px}
.movie-item p i {font-size:1.3em; color:var(--accent-color)}
.movie-item .button-group {display:flex; flex-wrap:wrap; gap:10px; justify-content:center; width:100%; margin-top:15px}
.movie-item button, .pagination button {background:rgba(255,255,255,.1); transition:background .3s, transform .3s; border:1px solid rgba(255, 255, 255, .2); box-shadow:0 4px 6px rgba(0, 0, 0, .1); backdrop-filter:blur(calc(5px * var(--blur-multiplier))); touch-action:manipulation}
.movie-item button {flex:1; min-width:90px; padding:12px 15px; font-size:clamp(15px,1.54vw,17px); color:#fff; border-radius:10px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; text-transform:uppercase}
#movieModal .modal-details button:hover, .movie-item button:hover {background:rgba(var(--accent-color-rgb), .3); color:#fff; transform:translateY(-2px); box-shadow:0 6px 8px rgba(0,0,0,.15)}
.movie-item .move-to-watched-btn {background:rgba(23,23,23,.2); border-color:#2d7d46}
.movie-item .move-to-watched-btn:hover {background:rgba(61,163,93,.3)}
.movie-item .favorite-btn, .series-item .favorite-btn {position:absolute; top:10px; right:10px; background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer; transition:color .3s}
.movie-item .favorite-btn:hover, .series-item .favorite-btn:hover {color:var(--accent-color)}
.movie-item .favorite-btn.favorited, .series-item .favorite-btn.favorited {color:var(--accent-color)}
.tab-styled-item {position:relative; display:flex; flex-direction:column; align-items:center; padding:20px; border-radius:15px; background:linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(var(--accent-color-rgb), 0.1)); box-shadow:0 4px 10px rgba(0, 0, 0, 0.3); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); border:2px solid rgba(var(--accent-color-rgb), 0.5); color:var(--text-color); transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease; overflow:hidden; animation:flowIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;}
.tab-styled-item:hover {transform:scale(1.03) translateY(-3px); box-shadow:0 6px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-color-rgb), 0.6); border-color:rgba(var(--accent-color-rgb), 1);}
.tab-styled-item::before {content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 10%, transparent 50%); opacity:0; transition:opacity 0.4s ease; pointer-events:none;}
.tab-styled-item:hover::before {opacity:0.8; animation:flowGlow 2s infinite ease-in-out;}
.movie-poster {width:100%; max-width:200px; border-radius:12px; margin-bottom:15px; transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;}
.tab-styled-item:hover .movie-poster {transform:scale(1.05); filter:brightness(1.1) drop-shadow(0 0 10px rgba(var(--accent-color-rgb), 0.5));}
.tab-styled-title {font-family:'VT323', monospace; font-size:clamp(20px, 2.3vw, 25px); color:var(--accent-color); text-shadow:0 0 8px rgba(var(--accent-color-rgb), 0.7); margin:10px 0; line-height:1.3; text-transform:uppercase; text-align:center; transition:text-shadow 0.4s ease;}
.tab-styled-item:hover .tab-styled-title {text-shadow:0 0 12px rgba(var(--accent-color-rgb), 1);}
.tab-styled-info {font-size:clamp(19px, 1.54vw, 17px); color:rgba(255, 255, 255, 0.9); display:flex; align-items:center; gap:6px; margin:8px 0; transition:color 0.4s ease;}
.tab-styled-info i {color:var(--accent-color); font-size:1.3em; text-shadow:0 0 5px rgba(var(--accent-color-rgb), 0.6);}
.tab-styled-item:hover .tab-styled-info {color:#fff;}
.tab-styled-desc {max-height:60px; overflow:hidden; text-overflow:ellipsis; font-size:clamp(15px, 1.54vw, 17px); color:rgba(255, 255, 255, 0.9); line-height:1.5; text-align:center; margin:8px 0 12px; transition:color 0.4s ease;}
.tab-styled-item:hover .tab-styled-desc {color:rgba(255, 255, 255, 1);}
.tab-styled-buttons {display:flex; flex-wrap:wrap; gap:10px; justify-content:center; width:100%; margin-top:15px;}
.tab-btn {background:linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(var(--accent-color-rgb), 0.15)); border:2px solid rgba(var(--accent-color-rgb), 0.5); padding:12px 15px; cursor:pointer; border-radius:12px; flex:1; min-width:120px; font-size:clamp(15px, 1.54vw, 17px); font-family:'VT323', monospace; color:#fff; text-shadow:0 0 6px rgba(var(--accent-color-rgb), 0.7); box-shadow:0 4px 10px rgba(0, 0, 0, 0.2); backdrop-filter:blur(calc(6px * var(--blur-multiplier))); transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease; display:flex; align-items:center; justify-content:center; gap:8px; text-transform:uppercase; position:relative; overflow:hidden;}
.tab-btn:hover {background:linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.3), rgba(0, 0, 0, 0.2)); transform:scale(1.05) translateY(-2px); box-shadow:0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px rgba(var(--accent-color-rgb), 0.8); border-color:rgba(var(--accent-color-rgb), 1);}
.tab-btn::before {content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 10%, transparent 50%); opacity:0; transition:opacity 0.4s ease;}
.tab-btn:hover::before {opacity:0.8; animation:flowGlow 2s infinite ease-in-out;}
.tab-btn i {font-size:1.4em; transition:transform 0.4s ease, color 0.4s ease, filter 0.4s ease;}
.tab-btn:hover i {transform:scale(1.1) rotate(10deg); color:var(--accent-color); filter:drop-shadow(0 0 5px rgba(var(--accent-color-rgb), 0.8));}
.tab-styled-favorite {position:absolute; top:10px; right:10px; background:transparent; border:none; color:#fff; font-size:20px; cursor:pointer; transition:transform 0.4s ease, color 0.4s ease, filter 0.4s ease;}
.tab-styled-favorite:hover {transform:scale(1.2); color:var(--accent-color); filter:drop-shadow(0 0 6px rgba(var(--accent-color-rgb), 0.9));}
.tab-styled-favorite.favorited {color:var(--accent-color); filter:drop-shadow(0 0 8px rgba(var(--accent-color-rgb), 1));}
#progressContainer,
#videoUpload,
#subtitleUpload {
  display: none;
}

.original-title {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px 0;
}
.movie-poster {
  transition: src 0.2s ease-in-out; /* Optional: Smooth image swap */
}
@keyframes flowIn {
0% {opacity:0; transform:translateY(20px) scale(0.98); border-color:rgba(var(--accent-color-rgb), 0.2);}
100% {opacity:1; transform:translateY(0) scale(1); border-color:rgba(var(--accent-color-rgb), 0.5);}
}

@keyframes flowGlow {
0% {transform:translate(-5%, -5%) rotate(0deg); opacity:0.8;}
50% {transform:translate(5%, 5%) rotate(5deg); opacity:0.5;}
100% {transform:translate(-5%, -5%) rotate(0deg); opacity:0.8;}
}
.justified-text {
  text-align: justify !important; /* اولویت بالا برای جاستیفای */
  line-height: 1.5; /* فاصله خطوط */
  word-spacing: 2px; /* فاصله کلمات */
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
  margin: 5px 0;
}
.favorites-grid {display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px}
.favorite-item {position:relative}
.favorite-item img {width:100%; border-radius:8px}
.favorite-item .hover-overlay {position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.7); display:flex; justify-content:center; align-items:center; opacity:0; transition:opacity .3s}
.favorite-item:hover .hover-overlay {opacity:1}
.favorite-item .details-btn {background:rgba(255,255,255,.1); border:1px solid rgba(255, 255, 255, .2); padding:8px 12px; border-radius:8px; color:#fff; cursor:pointer}
.favorite-item .remove-favorite-btn {position:absolute; top:5px; right:5px; background:rgba(255,0,0,.5); border:none; color:#fff; cursor:pointer; padding:5px; border-radius:5px}
#movieModal, #subtitleModal, #personModal {position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(0, 0, 0, .557); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); box-shadow:0 10px 50px rgba(0, 0, 0, .8); z-index:1000; opacity:0; transition:opacity .3s; display:none; border-radius:20px; overflow:hidden}
#movieModal {width:clamp(400px,80vw,900px); max-height:90vh}
#subtitleModal, #personModal {width:clamp(350px,70vw,600px); max-height:80vh}
#movieModal.show, #subtitleModal.show, #personModal.show {opacity:1}
#movieModal .modal-header, #subtitleModal .modal-header, #personModal .modal-header {background:rgba(0,0,0,.2); padding:15px 20px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255, 255, 255, .2); backdrop-filter:blur(calc(10px * var(--blur-multiplier)))}
#movieModal .modal-header h2, #subtitleModal .modal-header h2, #personModal .modal-header h2 {font-family:VT323, sans-serif; color:var(--accent-color); margin:0; text-shadow:0 1px 2px rgba(0,0,0,.3)}
#movieModal .modal-header h2 {font-size:clamp(24px,2.6vw,30px)}
#subtitleModal .modal-header h2, #personModal .modal-header h2 {font-size:clamp(20px,2.2vw,26px)}
#movieModal .close-btn, #subtitleModal .close-btn, #personModal .close-btn {background:transparent; cursor:pointer; transition:color .3s, transform .3s; border:none; color:var(--accent-color)}
#movieModal .close-btn, #personModal .close-btn {font-size:26px}
#subtitleModal .close-btn {font-size:24px}
#movieModal .close-btn:hover, #subtitleModal .close-btn:hover, #personModal .close-btn:hover {color:#f44; transform:scale(1.2)}
#movieModal .modal-content {display:flex; flex-direction:column; padding:20px; gap:20px; overflow-y:auto; max-height:calc(90vh - 70px)}
#subtitleModal .modal-content, #personModal .modal-content {padding:20px; color:var(--text-color); overflow-y:auto; max-height:calc(80vh - 70px)}
#personModal .modal-content {display:grid}
#movieModal .modal-poster {flex:0 0 300px; max-width:300px}
#movieModal .modal-poster img {width:100%; border-radius:15px; box-shadow:0 5px 15px rgba(0,0,0,.3)}
#movieModal .modal-details {flex:1; color:var(--text-color); display:flex; flex-direction:column; gap:15px}
#movieModal .modal-details .title {font-family:VT323, sans-serif; font-size:clamp(18px,2vw,24px); color:var(--accent-color); margin-bottom:10px; text-shadow:0 1px 2px rgba(0, 0, 0, .3)}
#movieModal .modal-details .info-grid {display:grid; grid-template-columns:1fr 1fr; gap:15px; font-size:clamp(14px,1.6vw,16px)}
#movieModal .modal-details .info-grid span {display:flex; align-items:center; gap:8px}
#movieModal .modal-details .info-grid span i, #movieModal .modal-details button, #stars i.selected, #stars i:hover {color:var(--accent-color)}
#movieModal .modal-details .overview, #movieModal .modal-details p {font-size:clamp(14px,1.6vw,16px); line-height:1.6; color:rgba(255, 255, 255, .9)}
#movieModal .modal-details .overview {margin-top:20px}
#movieModal .modal-details .modal-buttons {display:flex; gap:15px; margin-top:20px}
#movieModal .modal-details button {padding:12px 20px; font-size:clamp(14px,1.6vw,16px); border:1px solid rgba(255, 255, 255, .2); border-radius:10px; cursor:pointer; display:flex; align-items:center; gap:8px; background:rgba(255, 255, 255, .1); color:#fff; box-shadow:0 4px 6px rgba(0, 0, 0, .1); backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
#movieModal .modal-details p strong {color:var(--accent-color)}
.season-item {background:rgba(255,255,255,.05); border:1px solid rgba(255, 255, 255, .2); border-radius:12px; padding:15px; margin-bottom:15px; cursor:pointer; transition:background .3s ease, transform .3s ease, box-shadow .3s ease; backdrop-filter:blur(calc(5px * var(--blur-multiplier)));}
.season-item:hover {background:rgba(var(--accent-color-rgb), .15); transform:translateY(-3px); box-shadow:0 6px 12px rgba(0,0,0,.2)}
.season-item.expanded {background:rgba(0,0,0,.25); box-shadow:0 8px 16px rgba(0,0,0,.25)}
.season-item h4 {color:var(--accent-color); font-family:VT323, sans-serif; font-size:clamp(18px,2vw,22px); margin:0 0 8px; text-shadow:0 1px 2px rgba(0, 0, 0, .3); display:flex; align-items:center; gap:8px}
.season-item h4::before {content:'\f0c9'; font-family:'Font Awesome 6 Free'; font-weight:900; font-size:1em; color:var(--accent-color); transition:transform .3s ease}
.season-item.expanded h4::before {transform:rotate(90deg)}
.season-item p {color:var(--text-color); font-size:clamp(14px,1.5vw,16px); margin:0; text-shadow:0 1px 2px rgba(0, 0, 0, .2)}
.episodes {margin-top:15px; padding:10px; background:rgba(0,0,0,.15); border-radius:10px; border:1px solid rgba(255, 255, 255, .15); max-height:250px; overflow-y:auto; transition:max-height .3s ease; display:none; flex-wrap:wrap; gap:10px}
.episodes::-webkit-scrollbar {width:8px}
.episodes::-webkit-scrollbar-thumb {background:var(--accent-color); border-radius:4px}
.episodes::-webkit-scrollbar-track {background:rgba(0,0,0,.2); border-radius:4px}
.episode-btn {display:flex; align-items:center; width:100%; padding:12px 15px; margin:5px 0; background:rgba(255,255,255,.1); border:1px solid rgba(255, 255, 255, .2); border-radius:8px; color:var(--text-color); font-size:clamp(15px, 1.6vw, 17px); text-align:left; cursor:pointer; transition:background .3s ease, transform .3s ease, box-shadow .3s ease, color .3s ease; backdrop-filter:blur(calc(5px * var(--blur-multiplier))); gap:10px}
.episode-btn:hover {background:rgba(var(--accent-color-rgb), .3); transform:translateX(5px); box-shadow:0 4px 10px rgba(0,0,0,.15); color:#fff}
.episode-btn i {font-size:1.2em; color:var(--accent-color); transition:transform .3s ease}
.episode-btn:hover i {transform:scale(1.2)}
#bookmarks, #ratingPrompt {background:var(--secondary-bg); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); box-shadow:0 4px 6px rgba(0,0,0,.1), 0 1px 3px rgba(0, 0, 0, .08); border:1px solid rgba(255, 255, 255, .2)}
#bookmarks {position:sticky; top:20px; display:flex; left:20px; padding:10px; align-items:center; border-radius:10px}
#bookmarks button {margin:5px; background:rgba(255,255,255,.1); border:1px solid rgba(255, 255, 255, .2); padding:8px; border-radius:8px; color:#fff; box-shadow:0 4px 6px rgba(0, 0, 0, .1); backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
#bookmarks button:hover {background:rgba(var(--accent-color-rgb), .3)}
.playlist {width:100%; padding:15px; margin-top:20px; box-shadow:0 4px 6px rgba(0,0,0,.1); border:1px solid rgba(255, 255, 255, .2); background:var(--secondary-bg); border-radius:15px; backdrop-filter:blur(calc(10px * var(--blur-multiplier)))}
.playlist h3 {font-family:VT323,Vazir, sans-serif;font-weight: lighter; font-size:clamp(20px,2vw,20px); color:var(--accent-color); text-shadow:0 1px 2px rgba(0, 0, 0, .3)}
.poster-wrapper {position:relative; overflow:hidden;}
.poster-wrapper:hover .card-actions-overlay {bottom:0;}
.card-actions-overlay {position:absolute; bottom:-50px; left:0; right:0; display:flex; justify-content:center; gap:8px; padding:10px; background:rgba(0, 0, 0, 0.7); transition:bottom 0.3s ease;}
.card-actions-overlay .dock-btn:hover {background:var(--accent-color, #00ccff);}
.genre-bubbles {display:flex; flex-wrap:wrap; gap:5px; margin-top:8px;}
.genre-bubbles span {transition:transform 0.2s ease;}
.genre-bubbles span:hover {transform:scale(1.1);}
.delete-btn, .delete-watched {background:linear-gradient(145deg, rgba(124, 19, 19, 0.3), rgba(80, 0, 0, 0.5)); color:#fff; border:1px solid rgba(255, 0, 0, 0.4); padding:8px 14px; border-radius:8px; cursor:pointer; font-family:'VT323', monospace; font-size:clamp(14px, 1.5vw, 16px); text-transform:uppercase; transition:all 0.3s ease; backdrop-filter:blur(calc(5px * var(--blur-multiplier))); box-shadow:0 4px 10px rgba(0, 0, 0, 0.3); position:relative; overflow:hidden;}
.delete-btn:hover, .delete-watched:hover {background:linear-gradient(145deg, rgba(204, 0, 0, 0.5), rgba(120, 0, 0, 0.7)); transform:scale(1.05); box-shadow:0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 0, 0, 0.5); border-color:rgba(255, 0, 0, 0.8);}
.delete-btn::before, .delete-watched::before {content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background:radial-gradient(circle, rgba(255, 0, 0, 0.2) 10%, transparent 50%); opacity:0; transition:opacity 0.3s ease;}
.delete-btn:hover::before, .delete-watched:hover::before {opacity:0.7;}
#ratingPrompt {display:none; position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); padding:25px; border-radius:15px; width:clamp(300px, 50vw, 350px); max-height:80vh; overflow-y:auto; z-index:10000; background:linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(var(--accent-color-rgb), 0.15)); border:2px solid rgba(var(--accent-color-rgb), 0.5); backdrop-filter:blur(calc(10px * var(--blur-multiplier))); box-shadow:0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(var(--accent-color-rgb), 0.3); box-sizing:border-box;}
#stars i {color:rgba(255, 255, 255, 0.3); cursor:pointer; font-size:clamp(20px, 3vw, 28px); margin:0 8px; transition:all 0.3s ease; text-shadow:0 0 5px rgba(var(--accent-color-rgb), 0.2); touch-action:manipulation;}
#stars i:hover, #stars i.selected {color:var(--accent-color); transform:scale(1.2); text-shadow:0 0 10px rgba(var(--accent-color-rgb), 0.7);}
.pagination {display:flex; justify-content:center; margin-top:20px; gap:10px;}
.pagination button {background:linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(var(--accent-color-rgb), 0.15)); border:2px solid rgba(var(--accent-color-rgb), 0.5); padding:10px 20px; border-radius:8px; cursor:pointer; color:#fff; font-family:'VT323', monospace; font-size:clamp(16px, 1.8vw, 18px); text-transform:uppercase; display:flex; align-items:center; gap:8px; transition:all 0.3s ease; backdrop-filter:blur(calc(5px * var(--blur-multiplier))); box-shadow:0 4px 10px rgba(0, 0, 0, 0.2);}
.pagination button:hover {background:linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.3), rgba(0, 0, 0, 0.2)); transform:scale(1.05); box-shadow:0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(var(--accent-color-rgb), 0.5); border-color:rgba(var(--accent-color-rgb), 0.8);}
.pagination button:disabled {background:rgba(85, 85, 85, 0.2); border-color:rgba(255, 255, 255, 0.2); cursor:not-allowed; opacity:0.5; transform:none; box-shadow:none;}
.summary {padding:10px; margin-bottom:20px; font-size:clamp(12px, 1.5vw, 14px); background:rgba(0, 0, 0, 0.2); border-radius:10px; border:1px solid rgba(255, 255, 255, 0.15); backdrop-filter:blur(calc(5px * var(--blur-multiplier))); color:var(--text-color); text-shadow:0 1px 2px rgba(0, 0, 0, 0.3);}
/* Setting Panel */
#settingsPanel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  width: clamp(300px, 80vw, 800px);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10000;
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.9), rgba(var(--accent-color-rgb), 0.15));
  border: 2px solid rgba(var(--accent-color-rgb), 0.5);
  backdrop-filter: blur(calc(10px * var(--blur-multiplier)));
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(var(--accent-color-rgb), 0.3);
  box-sizing: border-box;
}

#settingsPanel h3 {
  color: var(--accent-color);
  font-size: clamp(24px, 2.5vw, 28px);
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.7);
} /* فونت حذف شد */

#settingsPanel .settings-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

#settingsPanel .settings-section {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

#settingsPanel h4 {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 15px;
} /* فونت حذف شد */

#settingsPanel .form-group {
  margin-bottom: 15px;
}

#settingsPanel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-color);
  margin-bottom: 8px;
} /* فونت حذف شد */

#settingsPanel .dock-input,
#settingsPanel .dock-select,
#settingsPanel .dock-range {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--accent-color-rgb), 0.5);
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  font-size: clamp(14px, 1.6vw, 16px);
  transition: all 0.3s ease;
} /* فونت حذف شد */

#settingsPanel .input-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

#settingsPanel .button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#settingsPanel .dock-btn {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(var(--accent-color-rgb), 0.2));
  border: 1px solid rgba(var(--accent-color-rgb), 0.5);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
} /* فونت حذف شد */

#settingsPanel .dock-btn:hover {
  background: linear-gradient(145deg, rgba(var(--accent-color-rgb), 0.3), rgba(0, 0, 0, 0.2));
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

#customThemeStyles {
  width: 100%;
  height: 100px;
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid rgba(var(--accent-color-rgb), 0.5);
  color: var(--accent-color);
  padding: 10px;
  border-radius: 8px;
  resize: vertical;
} /* فونت حذف شد */

.sponsors-section ul {
  list-style: none;
  padding: 0;
}

.sponsors-section ul li {
  margin: 5px 0;
}

.sponsors-section a {
  color: var(--accent-color);
  text-decoration: none;
}

.sponsors-section a:hover {
  text-decoration: underline;
}

.settings-footer {
  grid-column: span 2;
  font-size: 12px;
  color: var(--text-color);
  text-align: center;
  margin-top: 20px;
}

.powered-by {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.powered-by-icon {
  max-height: 40px;
  max-width: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.powered-by-icon:hover {
  transform: scale(1.1);
}

.powered-by li {
  display: flex;
  align-items: center;
}
/* استایل بخش نسخه */
.version-section {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.version-info img {
  max-width: 100%;
  height: auto;
}

.version-info p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}
/* Version and Changelog Combined Section */
.version-changelog-section {
  grid-column: span 2; /* Spans two columns in the settings-content grid */
  padding: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.version-changelog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.version-info {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.version-info img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: 10px;
}

.version-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.changelog-content {
  flex: 1;
  min-width: 250px;
}

.changelog-content h4 {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.changelog-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(14px, 1.6vw, 15px);
  color: rgba(255, 255, 255, 0.8);
}

.changelog-content ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.changelog-content ul li strong {
  color: var(--text-color);
}
#subtitleModal .subtitle-option {display:flex; justify-content:space-between; align-items:center; padding:10px; background:var(--secondary-bg); margin:5px 0; border-radius:10px; transition:background .3s; border:1px solid rgba(255,255,255,.2); backdrop-filter:blur(calc(10px * var(--blur-multiplier)))}
#subtitleModal .subtitle-option a {color:var(--accent-color); text-decoration:none; transition:color .3s}
#subtitleModal .subtitle-option a:hover {color:#fff}


@keyframes fadeIn {
from {opacity:0}
to {opacity:1}
}
@keyframes popIn {
  from {transform:scale(.8); opacity:0}
  to {transform:scale(1); opacity:1}
  }
  
  #serialModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
  }
  
  #serialModal.show {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  .serial-modal-content {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    width: clamp(600px, 80vw, 900px);
    max-height: 80vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: popIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(calc(10px * var(--blur-multiplier)));
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  
  .main-column {
    flex: 2;
    text-align: right;
    direction: rtl;
  }
  
  .project-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .serial-modal-content h2 {
    font-family: VT323, sans-serif;
    color: var(--accent-color);
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .serial-modal-content input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    backdrop-filter: blur(calc(5px * var(--blur-multiplier)));
  }
  
  .serial-modal-content input:focus {
    outline: none;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    border-color: #fff;
  }
  
  .serial-modal-content button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(calc(5px * var(--blur-multiplier)));
  }
  
  .serial-modal-content button:hover {
    background: rgba(var(--accent-color-rgb), 0.3);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  
  #serialStatus {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 10px;
  }
  
  #serialError {
    color: #f44;
    font-size: 14px;
    margin-top: 10px;
  }
  
  .language-select button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 5px 15px;
    color: #fff;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s;
  }
  
  .language-select button:hover {
    background: rgba(var(--accent-color-rgb), 0.3);
    transform: scale(1.05);
  }
  
  .terms-and-conditions p {
    font-size: 14px;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* حذف استایل رنگ برای strong */
  .terms-and-conditions strong {
    font-weight: bold;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: flex-start;
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
  }
  .ublock-link {
    font-size: 16px;
    color: rgba(245, 35, 35, 0.8);
  }
  a[href="https://ublockorigin.com"] {
    color: red !important;
    font-size: 20px;
}
  .checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
  }
  
  .checkbox-label input[type="checkbox"]:checked {
    background: rgba(var(--accent-color-rgb), 0.3);
    border-color: var(--accent-color);
  }
  
  .checkbox-label input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .checkbox-label input[type="checkbox"]:hover {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  }
  
  .project-column p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
  }
  
  .github-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #25f044;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s;
  }
  
  .github-link:hover {
    background: rgba(15, 110, 49, 0.3);
    transform: scale(1.05);
  }
  
  .github-link i {
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
.stream-indicator {display:inline-block; width:10px; height:10px; border-radius:50%; margin-left:5px}
.toggle-switch {position:relative; display:inline-block; width:50px; height:24px; vertical-align:middle}
.toggle-switch .toggle-input {opacity:0; width:0; height:0}
.toggle-slider {position:absolute; cursor:pointer; top:0; left:0; right:0; bottom:0; background-color:rgba(85,85,85,.2); transition:.3s; border-radius:24px; border:1px solid rgba(255, 255, 255, .2); backdrop-filter:blur(calc(5px * var(--blur-multiplier)))}
.toggle-slider:before {position:absolute; content:""; height:18px; width:18px; left:3px; bottom:2px; background-color:var(--text-color); transition:.3s; border-radius:50%}
.toggle-input:checked+.toggle-slider {background-color:rgba(var(--accent-color-rgb), .3)}
.toggle-input:checked+.toggle-slider:before {transform:translateX(26px)}
.toggle-switch:hover .toggle-slider {box-shadow:0 6px 8px rgba(0,0,0,.15)}
.toggle-status {color:var(--text-color); margin-left:10px; text-shadow:0 1px 2px rgba(0,0,0,.3)}
.toggle-status {
  margin-left: 10px;
  color: var(--text-color);
  font-size: 14px;
}
@media (max-width: 1024px) {
#movieModal .modal-content, .main-container, .tab-headers {flex-direction:column}
.main-container {padding:10px}
.left-column, .right-column {min-width:100%}
.dock {padding:8px; gap:6px}
.tab-btn {width:100%}
.finder-container {flex-direction:column; height:auto}
.finder-results-container, .movie-finder-form, .series-finder-form {max-width:100%; height:auto}
#movieModal .modal-poster {flex:0 0 auto; max-width:100%}
.favorites-grid {grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
}

@media (max-width: 768px) {
#movieModal, .movie-item {padding:15px}
.movie-results {grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); padding:15px}
.movie-item img {max-width:160px}
.movie-item .button-group {flex-direction:column; gap:8px}
.movie-item button {width:100%}
#movieModal {width:clamp(300px, 90vw, 400px)}
.dock {padding:6px; gap:4px; flex-wrap:wrap; justify-content:space-around}
.dock-btn, .dock-range, .dock-select {padding:6px; font-size:12px; min-width:70px}
#header {gap:20px; font-size:clamp(12px, 1.5vw, 14px); flex-wrap:wrap}
#weather {gap:15px; justify-content:center}
.movie-finder-form .range-group, .series-finder-form .range-group {flex-direction:column}
.favorites-grid {grid-template-columns:repeat(auto-fill, minmax(100px, 1fr))}
#settingsPanel {width:90vw; height:90vh; overflow-y:scroll}
.season-item {padding:10px; margin-bottom:10px}
.season-item h4 {font-size:clamp(16px, 1.8vw, 18px)}
.season-item p {font-size:clamp(12px, 1.4vw, 14px)}
.episodes {max-height:200px; padding:8px}
.episode-btn {padding:10px 12px; font-size:clamp(14px, 1.5vw, 15px)}
}

@media (max-width: 480px) {
.movie-item, .movie-results {padding:10px}
#header, .dock {flex-direction:column}
#header, #weather {text-align:center}
#movieModal .info-grid, .movie-finder-form .genre-checkboxes, .movie-results {grid-template-columns:1fr}
.movie-item img {max-width:140px}
.movie-item h4 {font-size:clamp(16px,2vw,18px)}
.movie-item .description {font-size:clamp(12px, 1.4vw, 14px)}
.dock {padding:4px; gap:2px}
.dock-btn, .dock-range, .dock-select {padding:4px 8px; font-size:10px; width:90%; margin:2px 0}
.time-display {font-size:10px}
#header {gap:15px; padding:8px 10px}
#weather {flex-direction:column; gap:10px}
.favorites-grid {grid-template-columns:repeat(auto-fill, minmax(80px, 1fr))}
.season-item h4 {font-size:clamp(14px, 1.6vw, 16px)}
.episodes {max-height:150px}
.episode-btn {padding:8px 10px; font-size:clamp(12px, 1.4vw, 14px)}
}

.light-mode {--background-start:rgba(255,255,255,.1); --background-end:rgba(255,255,255,.1); --text-color:#2d3748; --secondary-bg:rgba(255,255,255,.1)}

@keyframes glowPulse {
0% {text-shadow:0 0 2px rgba(var(--accent-color-rgb), 0.5);}
50% {text-shadow:0 0 8px rgba(var(--accent-color-rgb), 0.8), 0 0 12px rgba(var(--accent-color-rgb), 0.4);}
100% {text-shadow:0 0 2px rgba(var(--accent-color-rgb), 0.5);}
}

@keyframes statsReveal {
0% {opacity:0; transform:translateY(10px) scale(0.95);}
50% {opacity:0.7; transform:translateY(0) scale(1.02);}
100% {opacity:1; transform:translateY(0) scale(1);}
}

@keyframes cardEntry {
0% {opacity:0; transform:translateX(-30px) rotate(-2deg) scale(0.9);}
50% {opacity:0.8; transform:translateX(10px) rotate(1deg) scale(1.02);}
100% {opacity:1; transform:translateX(0) rotate(0deg) scale(1);}
}

@keyframes emptyReveal {
0% {opacity:0; transform:scale(0.8) rotate(5deg);}
50% {opacity:0.6; transform:scale(1.05) rotate(-2deg);}
100% {opacity:1; transform:scale(1) rotate(0deg);}
}

@keyframes filmSpin {
0% {transform:rotate(0deg) scale(1);}
25% {transform:rotate(10deg) scale(1.1);}
50% {transform:rotate(0deg) scale(1);}
75% {transform:rotate(-10deg) scale(1.1);}
100% {transform:rotate(0deg) scale(1);}
}

@keyframes fadeUp {
0% {opacity:0; transform:translateY(5px);}
100% {opacity:1; transform:translateY(0);}
}


/*RADIO*/

#radioContainer {display:flex; align-items:center;}
#radioButton, #hiphopRadioButton {width:40px; height:40px; border-radius:50%; filter:grayscale(100%); cursor:pointer; transition:filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; object-fit:contain; margin-right:10px;}
#radioButton:hover, #hiphopRadioButton:hover {filter:grayscale(50%); transform:scale(1.1); box-shadow:0 0 10px rgba(var(--accent-color-rgb), 0.7);}
#radioButton.playing, #hiphopRadioButton.playing {filter:grayscale(0%); box-shadow:0 0 15px rgba(var(--accent-color-rgb), 1);}
#settingsContainer {display:flex; align-items:center;}
#settingsButton {font-size:24px; cursor:pointer; color:#666; transition:color 0.3s ease, transform 0.3s ease;}
#settingsButton:hover {color:var(--accent-color); transform:rotate(90deg);}
#radioStationsModal {display:none; position:fixed; z-index:1000; left:0; top:0; width:100%; height:100%; background-color:rgba(0,0,0,0.8);}
.radio-modal-content {background:linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(var(--accent-color-rgb), 0.1)); border-radius:20px; padding:15px; box-shadow:0 10px 40px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(var(--accent-color-rgb), 0.3); backdrop-filter:blur(calc(12px * var(--blur-multiplier))); border:1px solid rgba(var(--accent-color-rgb), 0.5); margin:10% auto; width:90%; max-width:900px; max-height:80vh; overflow-y:auto; animation:flowIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;}
.radio-modal-header {display:flex; justify-content:space-between; align-items:center; padding:10px 15px; background:rgba(0, 0, 0, 0.5); border-bottom:1px solid rgba(var(--accent-color-rgb), 0.3);}
.radio-modal-title {font-family:'VT323','Vazir'; font-size:1.6rem; letter-spacing:0px; color:var(--accent-color); text-shadow:0 0 10px rgba(var(--accent-color-rgb), 0.8);}
.radio-close {background:transparent; border:none; color:var(--accent-color); font-size:1.4rem; cursor:pointer; transition:transform 0.3s ease, color 0.3s ease; padding:5px;}
.radio-close:hover {transform:scale(1.1); color:#fff;}
.radio-search {padding:10px 15px; display:flex; gap:10px;}
.radio-search input {flex-grow:1; padding:8px; border:1px solid rgba(var(--accent-color-rgb), 0.5); border-radius:5px; background:rgba(40, 40, 40, 0.9); color:var(--text-primary); font-family:'Poppins', sans-serif;}
.radio-search button {background:var(--accent-color); border:none; padding:8px 15px; color:#fff; font-family:'Poppins', sans-serif; border-radius:5px; cursor:pointer; transition:background 0.3s ease;}
.radio-search button:hover {background:#e65a50;}
.radio-tabs {display:flex; flex-wrap:wrap; gap:10px; padding:10px 15px; background:rgba(0, 0, 0, 0.3); border-bottom:1px solid rgba(var(--accent-color-rgb), 0.3);}
.radio-tab-btn {background:rgba(40, 40, 40, 0.9); border:none; padding:8px 15px; font-family:'VT323','Vazir'; font-size:1.2rem; color:var(--text-primary); cursor:pointer; border-radius:5px 5px 0 0; transition:background 0.3s ease, color 0.3s ease;}
.radio-tab-btn.active {background:var(--accent-color); color:#fff;}
.radio-tab-content {display:none; padding:15px;}
.radio-tab-content.active {display:block;}
.station-grid {display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:20px; padding:10px 20px;}
.station-item {text-align:center; position:relative; cursor:pointer; transition:transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); animation:flowIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;}
.station-item:hover {transform:scale(1.15); z-index:10;}
.station-item img {width:80px; height:80px; border-radius:50%; object-fit:contain; filter:grayscale(100%); transition:filter 0.4s ease, box-shadow 0.4s ease; box-shadow:0 4px 12px rgba(0, 0, 0, 0.4);}
.station-item:hover img {filter:grayscale(0%); box-shadow:0 0 20px rgba(var(--accent-color-rgb), 0.6);}
.station-item.playing img {filter:grayscale(0%); box-shadow:0 0 15px rgba(var(--accent-color-rgb), 1);}
.station-item span {font-family:'Poppins', sans-serif; font-size:1rem; font-weight:300; color:var(--text-primary); max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-top:8px; display:block; opacity:0.7; transition:opacity 0.4s ease;}
.station-item:hover span {opacity:1;}
.station-item .swap-icon {position:absolute; top:5px; right:5px; color:var(--accent-color); font-size:18px; cursor:pointer; transition:color 0.3s ease; display:none;}
.station-item:hover .swap-icon {display:block; color:#00ff00;}
.station-item .description {display:none; position:absolute; bottom:-45px; left:50%; transform:translateX(-50%); background:rgba(0, 0, 0, 0.9); color:var(--text-primary); padding:5px 10px; border-radius:4px; font-family:'Poppins', sans-serif; font-size:12px; white-space:nowrap; z-index:10;}
.station-item:hover .description {display:block;}
.station-glow-overlay {position:absolute; top:0; left:0; width:80px; height:80px; background:radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 0%, transparent 70%); opacity:0; transition:opacity 0.4s ease; pointer-events:none; z-index:2; border-radius:50%;}
.station-item:hover .station-glow-overlay {opacity:0.8; animation:flowGlow 2s infinite ease-in-out;}
.loading {color:rgba(255, 255, 255, 0.7); font-family:'Poppins', sans-serif; font-style:italic; text-align:center;}
    @keyframes flowIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes flowGlow {
      0%, 100% { opacity: 0.8; }
      50% { opacity: 0.4; }
    }

    #languageSelector {padding:6px 18px; border:1px solid var(--accent-color); border-radius:10px; display:flex; align-items:center; gap:8px;}
#languageSelect {background:rgba(0, 0, 0, 0.7); color:#fff; border:1px solid var(--accent-color); border-radius:8px; padding:4px; font-family:'VT323', monospace;}
#languageSelect:hover, #languageSelect:focus {background:rgba(0, 0, 0, 0.8); border-color:#fff; outline:none;}
.rtl {direction:rtl; text-align:right;}
.ltr {direction:ltr; text-align:left;}
.modal-content.rtl {direction:rtl;}
.modal-content.rtl .modal-poster {left:auto; right:20px;}
.modal-content.rtl .hero-content {margin-left:0; margin-right:220px;}
.modal-content.rtl .quick-info, .modal-content.rtl .modal-buttons {flex-direction:row-reverse; justify-content:flex-end;}
.modal-content.rtl .quick-info i, .modal-content.rtl .modal-buttons i {margin-left:5px; margin-right:0;}
.modal-content.rtl .details-content {text-align:right;}
.modal-content.rtl .details-content div {direction:rtl; grid-auto-flow:dense;}
.modal-content.rtl .seasons-section {text-align:right;}
.modal-content.rtl .season-item {direction:rtl;}
.modal-content.rtl .season-item h4, .modal-content.rtl .season-item p {text-align:right;}
.modal-content.rtl .season-item i {margin-right:10px; margin-left:0;}
.modal-content.rtl .episodes {direction:rtl;}
.modal-content.rtl .episode-btn {text-align:right; justify-content:flex-end;}
.modal-content.rtl .episode-btn i {margin-left:12px; margin-right:0;}
@font-face {font-family:'Vazir'; src:url('https://cdn.jsdelivr.net/npm/vazir-font@32.102.1/dist/Vazir.woff2') format('woff2');}

/* Donate Modal   */
#coffeeModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.557);
  backdrop-filter: blur(calc(10px * var(--blur-multiplier)));
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  display: none;
  border-radius: 20px;
  overflow: hidden;
  width: clamp(300px, 80vw, 825px);
  max-height: 80vh;
}

#coffeeModal.show {
  opacity: 1;
  display: block;
}

#coffeeModal .modal-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

#coffeeModal .modal-header h2 {
  font-family: 'VT323', 'Vazir';
  color: var(--accent-color);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0;
  text-align: center;
  flex-grow: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#coffeeModal .modal-header .close-btn {
  background: transparent;
  border: none;
  color: var(--accent-color);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#coffeeModal .modal-header .close-btn:hover {
  color: #f44;
  transform: translateY(-50%) scale(1.2);
}

#coffeeModal .modal-content {
  padding: 20px;
  color: var(--text-color);
  overflow-y: auto;
  max-height: calc(80vh - 70px);
  display: flex;
  flex-direction: column;
  gap: 15px; /* فاصله یکنواخت بین المان‌ها */
}

.coffee-gif {
  display: block;
  margin: 0 auto;
  width: clamp(150px, 45%, 300px);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.support-text {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: center;
}

.email-info {
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  text-align: center;
}

.email-info p {
  margin: 5px 0;
  font-size: clamp(14px, 1.6vw, 16px);
}

.email-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.email-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(var(--accent-color-rgb), 0.7);
}

.modal-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch; /* ستون‌ها هم‌اندازه بشن */
}

.left-column, .right-column {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.crypto-info, .supporters-list {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  justify-items: center;
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  flex-grow: 1; /* مطمئن می‌شه که ارتفاعش تنظیم بشه */
}

.crypto-info h3, .supporters-header h3 {
  color: var(--accent-color);
  font-family: 'VT323', monospace;
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 8px;
  text-shadow: 0 0 8px rgba(var(--accent-color-rgb), 0.7);
}

.crypto-address {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  word-break: break-all;
  color: rgba(255, 255, 255, 0.9);
  margin: 5px 0;
}

.copy-btn {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(var(--accent-color-rgb), 0.2));
  border: 1px solid rgba(var(--accent-color-rgb), 0.5);
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.4), rgba(0, 0, 0, 0.3));
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.supporters-header {
  text-align: center;
  margin-bottom: 10px;
}

.supporters-list {
  list-style: none;
  padding: 15px;
  margin: 0;
  width: 100%;
  text-align: left;
}

.supporters-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.9);
}

.supporters-list li:last-child {
  border-bottom: none;
}

.supporters-list strong {
  color: var(--accent-color);
  font-family: 'VT323', monospace;
}

.thanks {
  margin-top: 20px;
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--accent-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap; /* برای نمایش بهتر تو صفحه‌های کوچیک */
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px; /* فاصله بین آیکون و متن */
  color: var(--accent-color);
  text-decoration: none;
  font-family: 'VT323', monospace;
  font-size: clamp(14px, 1.6vw, 16px);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--accent-color-rgb), 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.4), rgba(0, 0, 0, 0.3));
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-link i {
  font-size: clamp(16px, 1.8vw, 18px);
}
.rial-payment {
  display: flex;
  flex-direction: column;
  align-items: center; /* برای وسط‌چین کردن محتوا */
  text-align: center;
}

.payment-btn {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(var(--accent-color-rgb), 0.2));
  border: 1px solid rgba(var(--accent-color-rgb), 0.5);
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-family: 'VT323', monospace;
  font-size: clamp(14px, 1.6vw, 16px);
  display: flex;
  align-items: center;
  gap: 8px; /* فاصله بین آیکون و متن */
  transition: all 0.3s ease;
}

.payment-btn:hover {
  background: linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.4), rgba(0, 0, 0, 0.3));
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .modal-columns {
    flex-direction: column;
    gap: 15px;
  }
  .left-column, .right-column {
    min-width: 100%;
  }
}
/* Coffee Button (استایل پیش‌فرض dock-btn که قبلاً تعریف شده) */

/* اطمینان از نمایش همه ایکون‌ها */
i, [class*="fa-"], .fa, .fas, .fab, .far, .fal, .fad {
  display: inline-block !important;
  visibility: visible !important;
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
  font-weight: 900; /* برای solid */
}

/* برای ایکون‌های برند */
.fab {
  font-family: 'Font Awesome 5 Brands', 'Font Awesome 6 Brands', sans-serif !important;
}

/* برای ایکون‌های regular */
.far {
  font-weight: 400; /* برای regular */
}

/* تنظیمات خاص برای ایکون‌های سایت */
.social-links i, .menu i, .controls i {
  display: inline-block !important;
  margin-left: 5px;
}


/* Coffee Icon Styling with Steam Animation */
.coffee-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.coffee-icon i {
  font-size: 20px;
  color: #fff; /* رنگ آیکون با دکمه هماهنگ می‌مونه */
}

/* Steam Animation */
.coffee-icon::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7); /* بخار سفید ملایم */
  border-radius: 2px;
  animation: steam 2s infinite ease-in-out;
  transform: translateX(-50%);
}

.coffee-icon::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 40%;
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5); /* بخار کمی کم‌رنگ‌تر */
  border-radius: 2px;
  animation: steam 2.5s infinite ease-in-out 0.5s; /* تاخیر برای طبیعی‌تر شدن */
  transform: translateX(-50%);
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

/* Coffee Text Styling (بدون تغییر خاص) */
.coffee-text {
  color: #fff;
}
/* استایل کارت فیلم  GOAT */
/* استایل اصلاح‌شده */
.movie-drop-card {
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  animation: smoothBounceDrop 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--accent-color);
}

@keyframes smoothBounceDrop {
  0% { top: -300px; opacity: 0; transform: translateX(-50%) scale(0.8); }
  50% { top: 55%; opacity: 1; transform: translateX(-50%) scale(1.03); }
  75% { top: 45%; transform: translateX(-50%) scale(0.98); }
  100% { top: 50%; transform: translateX(-50%) translateY(-50%); opacity: 1; scale: 1; }
}

.movie-drop-card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.movie-drop-card img:hover {
  transform: scale(1.03);
}

.movie-drop-card h3 {
  color: var(--accent-color);
  margin: 15px 0;
  font-size: 20px;
  text-align: center;
}

.movie-drop-card .counter {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 15px;
  justify-content: center;
}

.movie-drop-card .buttons {
  display: flex;
  gap: 10px;
}

.movie-drop-card button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--accent-color);
  color: #000;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.movie-drop-card button:hover {
  background: #fff;
  transform: translateY(-2px);
}
.poster-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.movie-poster {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 10px;
  object-fit: cover;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.counter i {
  font-size: 16px;
  color: #fff;
}
@keyframes smoothBounceDrop {
  0% {top:-300px; opacity:0; transform:translateX(-50%) scale(0.9);}
  50% {top:60%; opacity:1; transform:translateX(-50%) scale(1);}
  75% {top:40%; transform:translateX(-50%) scale(1.05);}
  90% {top:52%; transform:translateX(-50%) scale(1);}
  100% {top:50%; transform:translateX(-50%) translateY(-50%); opacity:1; scale:1;}
  }

.no-blur #bookmarks, .no-blur #ratingPrompt, .no-blur #header, .no-blur .right-column, .no-blur .video-container, .no-blur .progress-container, .no-blur .dock, .no-blur .dock-btn, .no-blur .dock-input[type=color], .no-blur .dock-range, .no-blur .dock-select, .no-blur .file-input-label, .no-blur .drop-area, .no-blur .tab-btn, .no-blur .history-item, .no-blur .movie-finder-form, .no-blur .movie-finder-form details, .no-blur .movie-finder-form .dock-input, .no-blur .movie-finder-form .dock-select, .no-blur .movie-finder-form .genre-checkboxes, .no-blur .movie-finder-form .finder-submit, .no-blur .movie-finder-form .reset-btn, .no-blur .movie-item, .no-blur .movie-item button, .no-blur .pagination button, .no-blur #movieModal, .no-blur #subtitleModal, .no-blur #personModal, .no-blur #movieModal .modal-header, .no-blur #subtitleModal .modal-header, .no-blur #personModal .modal-header, .no-blur #movieModal .modal-details button, .no-blur #bookmarks button, .no-blur .playlist, .no-blur .playlist-item, .no-blur .delete-btn, .no-blur .delete-watched, .no-blur #settingsPanel, .no-blur #customThemeStyles, .no-blur .toggle-slider, .no-blur::-webkit-scrollbar-track, .no-blur .serial-modal-content, .no-blur .serial-modal-content input, .no-blur .serial-modal-content button, .no-blur .favorites-grid, .no-blur .favorite-item, .no-blur .favorite-item .details-btn, .no-blur .favorite-item .remove-favorite-btn, .no-blur #movie-info, .no-blur #similar-movies, .no-blur #cast-crew, .no-blur .season-item, .no-blur .episodes, .no-blur .episode-btn {backdrop-filter:none !important}
