/* Basic Reset and Global Styles */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; user-select: none; } body { background: #09060f; color: #f1f0f5; height: 100vh; display: flex; flex-direction: column; overflow: hidden; /* NO SCROLL FOR THE MAIN WINDOW */ position: relative; } /* Custom Glassmorphic Titlebar */ .custom-titlebar { display: flex; justify-content: space-between; align-items: center; height: 38px; background: rgba(12, 8, 20, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; } .titlebar-drag { flex: 1; -webkit-app-region: drag; height: 100%; display: flex; align-items: center; padding-left: 16px; font-size: 0.8rem; font-weight: 600; color: #b3aeca; letter-spacing: 0.5px; gap: 8px; } .titlebar-icon { width: 14px; height: 14px; color: #ff0080; } .titlebar-controls { display: flex; height: 100%; -webkit-app-region: no-drag; } .control-btn { background: none; border: none; width: 46px; height: 100%; display: flex; align-items: center; justify-content: center; color: #b3aeca; cursor: pointer; transition: all 0.2s ease; } .control-btn:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; } .control-btn.close:hover { background: #ff4d4d; color: #ffffff; } .control-btn svg { width: 14px; height: 14px; } /* Vibrant Animated Background Glows */ .bg-glow { position: absolute; border-radius: 50%; filter: blur(140px); z-index: 0; opacity: 0.45; pointer-events: none; animation: float-glow 20s infinite alternate ease-in-out; } .bg-glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, #7928ca 0%, #ff0080 100%); top: -10%; left: -10%; animation-duration: 25s; } .bg-glow-2 { width: 600px; height: 600px; background: radial-gradient(circle, #00dfd8 0%, #007cf0 100%); bottom: -20%; right: -10%; animation-duration: 30s; } .bg-glow-3 { width: 400px; height: 400px; background: radial-gradient(circle, #ff4d4d 0%, #f9cb28 100%); top: 40%; left: 50%; transform: translate(-50%, -50%); animation-duration: 22s; } @keyframes float-glow { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 50px) scale(1.1); } 100% { transform: translate(-40px, -60px) scale(0.9); } } /* Premium Glassmorphic Cards */ .glass-card { background: rgba(18, 14, 28, 0.45); backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1); padding: 24px; position: relative; z-index: 10; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .glass-card:hover { border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15); } /* Main Container Layout */ .app-container { flex: 1; width: 100%; max-width: 860px; margin: 38px auto 0 auto; /* Under custom titlebar */ padding: 20px; display: flex; flex-direction: column; z-index: 10; position: relative; overflow: hidden; } /* Wizard step switcher */ .wizard-step { display: none; flex-direction: column; height: 100%; width: 100%; animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .wizard-step.active { display: flex; } @keyframes fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* Step 1 Styles */ #step-1 { justify-content: center; align-items: center; max-width: 720px; margin: 0 auto; } #step-1 .url-section { width: 100%; } .app-header { margin-bottom: 24px; } .logo-wrapper { display: inline-flex; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 16px; color: #ff0080; box-shadow: 0 10px 25px rgba(255, 0, 128, 0.2); } .logo-icon { width: 36px; height: 36px; } .glow-text { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.5px; background: linear-gradient(to right, #ffffff, #dcd7eb, #ff0080); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; } .subtitle { color: #b3aeca; font-size: 0.95rem; font-weight: 400; } /* Input Fields & Buttons */ .input-group { display: flex; gap: 12px; } input[type="text"] { flex: 1; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 14px 20px; font-size: 0.95rem; color: #ffffff; outline: none; font-weight: 400; transition: all 0.3s; } input[type="text"]::placeholder { color: #6e6a82; } input[type="text"]:focus { border-color: #ff0080; box-shadow: 0 0 15px rgba(255, 0, 128, 0.25); background: rgba(0, 0, 0, 0.4); } /* Glowing Buttons */ .glow-button { background: linear-gradient(135deg, #7928ca 0%, #ff0080 100%); color: #ffffff; border: none; border-radius: 12px; padding: 14px 28px; font-size: 0.95rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .glow-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 0, 128, 0.45); } .glow-button:active { transform: translateY(0); } .glow-button.full-width { width: 100%; } .glow-button:disabled { background: rgba(255, 255, 255, 0.1) !important; color: #6e6a82 !important; box-shadow: none !important; cursor: not-allowed; transform: none !important; } .glow-button svg { width: 18px; height: 18px; } /* Output Folder Info Bar */ .output-folder-row { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 0.82rem; } .folder-label { color: #6e6a82; } .folder-path { color: #dcd7eb; font-weight: 500; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 420px; } .text-btn { background: none; border: none; color: #00dfd8; font-weight: 600; cursor: pointer; transition: color 0.2s; } .text-btn:hover { color: #007cf0; text-decoration: underline; } /* Spinner Icon */ .animate-spin { animation: spin 1s linear infinite; width: 18px; height: 18px; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Step 2 Styles (Wizard Flow) */ .step-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .back-button { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 8px 16px; color: #dcd7eb; font-size: 0.85rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .back-button:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.15); color: #ffffff; transform: translateX(-2px); } .back-button svg { width: 14px; height: 14px; } .step-title { font-size: 1.25rem; font-weight: 700; color: #ffffff; letter-spacing: -0.3px; } /* Scrollable Track/File List Container */ .track-list-scroll { flex: 1; overflow-y: auto; padding-right: 6px; margin-bottom: 10px; } /* Custom Scrollbar for Track List */ .track-list-scroll::-webkit-scrollbar { width: 6px; } .track-list-scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.15); border-radius: 10px; } .track-list-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; } .track-list-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 0, 128, 0.3); } /* List Structure */ .track-list { display: flex; flex-direction: column; gap: 12px; } .track-item { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; background: rgba(18, 14, 28, 0.3); } .track-thumb { width: 130px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 4px 12px rgba(0,0,0,0.3); flex-shrink: 0; position: relative; background: linear-gradient(135deg, rgba(121, 40, 202, 0.25) 0%, rgba(255, 0, 128, 0.25) 100%); display: flex; align-items: center; justify-content: center; } .track-thumb-fallback { color: rgba(255, 255, 255, 0.4); width: 28px; height: 28px; z-index: 1; } .track-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; } .track-details { flex: 1; min-width: 0; } .track-details h4 { font-size: 0.98rem; font-weight: 600; color: #ffffff; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .track-uploader { font-size: 0.8rem; color: #9e97b8; margin-bottom: 2px; } .track-duration { font-size: 0.76rem; color: #6e6a82; } .track-status { flex-shrink: 0; } .status-badge { font-size: 0.76rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; letter-spacing: 0.3px; } .status-badge.ready { background: rgba(0, 223, 216, 0.1); color: #00dfd8; border: 1px solid rgba(0, 223, 216, 0.2); } .status-badge.downloading { background: rgba(255, 0, 128, 0.1); color: #ff0080; border: 1px solid rgba(255, 0, 128, 0.2); animation: pulse-glow 1.5s infinite alternate ease-in-out; } @keyframes pulse-glow { 0% { opacity: 0.7; } 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 0, 128, 0.3); } } /* Fixed Bottom Panel Footer */ .fixed-footer { flex-shrink: 0; padding: 18px 24px; border-radius: 18px; margin-top: auto; border-color: rgba(255, 255, 255, 0.1); background: rgba(14, 10, 22, 0.6); box-shadow: 0 -10px 30px rgba(0,0,0,0.3); } .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; } /* Options (Format & Quality) */ .options-panel { display: flex; flex-direction: column; gap: 12px; } .option-row { display: flex; align-items: center; gap: 14px; } .option-label { font-size: 0.85rem; font-weight: 600; color: #9e97b8; width: 55px; flex-shrink: 0; } /* Format Switch Button Group */ .format-toggle { display: flex; background: rgba(0,0,0,0.3); padding: 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); } .format-btn { background: none; border: none; padding: 8px 16px; border-radius: 8px; color: #9e97b8; font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .format-btn svg { width: 14px; height: 14px; } .format-btn.active { background: rgba(255, 0, 128, 0.12); color: #ff0080; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); } /* Quality Pills Selector */ .quality-pills { display: flex; gap: 8px; flex-wrap: wrap; } .quality-pill { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: #dcd7eb; padding: 6px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .quality-pill:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); } .quality-pill.active { background: rgba(0, 223, 216, 0.12); border-color: #00dfd8; color: #00dfd8; box-shadow: 0 0 10px rgba(0, 223, 216, 0.1); } /* Action Panel (Download progress and Action Button) */ .action-panel { display: flex; flex-direction: column; justify-content: center; } /* Progress Panel */ .progress-panel { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; } .progress-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 600; margin-bottom: 4px; } .progress-header span:first-child { color: #dcd7eb; } .progress-header span:last-child { color: #00dfd8; font-weight: 800; } .progress-panel .subtext { font-size: 0.7rem; color: #6e6a82; margin-top: 4px; text-align: left; } /* Loader Overlay Panel */ .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(6, 4, 10, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; justify-content: center; align-items: center; z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; } .overlay.active { opacity: 1; pointer-events: auto; } .overlay-card { width: 90%; max-width: 440px; border-color: rgba(255, 255, 255, 0.15); } .spinner-container { display: flex; justify-content: center; margin-bottom: 20px; } .spinner { width: 44px; height: 44px; border: 3px solid rgba(255, 255, 255, 0.08); border-top-color: #ff0080; border-radius: 50%; animation: spin 0.8s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite; } .overlay-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; } .overlay-card p { font-size: 0.88rem; color: #9e97b8; margin-bottom: 12px; } .pct-text { font-size: 1.25rem; font-weight: 800; color: #ff0080; margin-top: 10px; } .text-center { text-align: center; } /* Error Display Card */ .error-card { display: flex; align-items: center; gap: 12px; border-color: rgba(255, 77, 77, 0.2); background: rgba(255, 77, 77, 0.06); padding: 14px 18px; margin-top: 14px; border-radius: 12px; } .error-icon { width: 20px; height: 20px; color: #ff4d4d; } #error-message { font-size: 0.85rem; color: #ffb3b3; font-weight: 500; } /* Responsive Customization */ @media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 14px; } } /* Premium Language Switcher Selector */ .language-selector-wrapper { display: flex; align-items: center; margin-right: 8px; height: 100%; } .language-select { background: rgba(23, 20, 38, 0.7); color: #dcd7eb; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; padding: 4px 26px 4px 8px; font-size: 0.8rem; font-weight: 500; cursor: pointer; outline: none; font-family: inherit; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.25s ease; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff0080' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 10px; } .language-select:hover { background: rgba(23, 20, 38, 0.9); border-color: rgba(255, 0, 128, 0.5); box-shadow: 0 0 10px rgba(255, 0, 128, 0.2); } .language-select option { background: #171426; color: #fff; } /* RTL (Right to Left) Styles for Arabic Support */ html[dir="rtl"] { direction: rtl; } html[dir="rtl"] * { text-align: right; } html[dir="rtl"] .text-center, html[dir="rtl"] .text-center * { text-align: center; } html[dir="rtl"] .custom-titlebar { flex-direction: row-reverse; } html[dir="rtl"] .titlebar-drag { padding-right: 16px; padding-left: 0; flex-direction: row; } html[dir="rtl"] .language-selector-wrapper { margin-right: 0; margin-left: 8px; } html[dir="rtl"] .language-select { padding: 4px 8px 4px 26px; background-position: left 8px center; } html[dir="rtl"] .back-button { flex-direction: row; gap: 8px; } html[dir="rtl"] .back-button:hover { transform: translateX(2px); } html[dir="rtl"] .back-chevron { transform: rotate(180deg); } html[dir="rtl"] .track-item { flex-direction: row; } html[dir="rtl"] .track-details { text-align: right; } html[dir="rtl"] .track-details h4, html[dir="rtl"] .track-details p, html[dir="rtl"] .track-details span { text-align: right; } html[dir="rtl"] .progress-panel .subtext { text-align: right; } html[dir="rtl"] .option-row { flex-direction: row; } html[dir="rtl"] .format-btn { flex-direction: row; } html[dir="rtl"] .quality-pills { flex-direction: row; } html[dir="rtl"] .error-card { flex-direction: row; }