:root { --bg: #0a0a0f; --surface: #111118; --surface-2: #1a1a24; --surface-3: #22222f; --border: #2a2a3a; --text: #e8e8f0; --text-dim: #8888a0; --accent: #ff3366; --accent-glow: rgba(255,51,102,0.3); --gradient: linear-gradient(135deg, #ff3366, #ff6b3d); --gradient-2: linear-gradient(135deg, #6366f1, #8b5cf6); --success: #22c55e; --radius: 14px; } /* === AMBIENT BACKGROUND === */ .ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; } .ambient::before { content: ''; position: absolute; width: 600px; height: 600px; top: -200px; left: -100px; background: radial-gradient(circle, rgba(255,51,102,0.08) 0%, transparent 70%); animation: float 20s ease-in-out infinite; } .ambient::after { content: ''; position: absolute; width: 500px; height: 500px; bottom: -150px; right: -100px; background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%); animation: float 25s ease-in-out infinite reverse; } @keyframes float { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,50px) scale(1.1)} 66%{transform:translate(-40px,80px) scale(0.95)} } /* === GRID PATTERN === */ .grid-bg { position: fixed; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; } .input-section { animation: fadeUp 0.8s ease 0.15s both; padding: 0 134px; } /* === HEADER === */ .header-menu { text-align: center; animation: fadeUp 0.8s ease both; } header.header-menu.news_item.shadow-equal {padding:50px} .logo-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 8px 20px 8px 10px; margin-bottom: 24px; font-size: 13px; color: #fff; letter-spacing: 0.5px; } .logo-badge .icon { width: 32px; height: 32px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; } .header-menu h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 12px; } .header-menu h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .header-menu p { color: var(--text-dim); font-size: 17px; font-weight: 300; max-width: 460px; margin: 0 auto; line-height: 1.6; } /* === INPUT SECTION === */ .input-section { animation: fadeUp 0.8s ease 0.15s both; } .input-card { border: 1px solid #ff3366; border-radius: 20px; padding: 6px; display: flex; gap: 6px; transition: border-color 0.3s, box-shadow 0.3s; } .input-card input { flex: 1; background: transparent; border: none; outline: none; margin-bottom: 0; font-size: 14px; padding: 16px 20px; letter-spacing: -0.3px; } .input-card input::placeholder { color: var(--text-dim); opacity: 0.5; } .btn-fetch { background: var(--gradient); border: none; border-radius: 14px; color: #fff; font-weight: 600; font-size: 15px; padding: 16px 32px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s; white-space: nowrap; letter-spacing: 0.3px; } .btn-fetch:hover { transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow); } .btn-fetch:active { transform: scale(0.97); } .btn-fetch:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; } /* === LOADER === */ .loader-section { display: none; text-align: center; padding: 60px 20px; animation: fadeUp 0.5s ease both; } .loader-section.active { display: block; } .spinner { width: 48px; height: 48px; border: 3px solid var(--surface-3); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 20px; } @keyframes spin { to { transform: rotate(360deg); } } .loader-section p { color: var(--text-dim); font-size: 15px; } /* === ERROR === */ .error-box { display: none; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; color: #f87171; font-size: 14px; animation: fadeUp 0.4s ease both; } .error-box.active { display: flex; gap: 10px; align-items: flex-start; } .error-box .err-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; } /* === RESULT SECTION === */ .result-section { display: none; margin-top: 40px; animation: fadeUp 0.6s ease both; } .result-section.active { display: block; } /* Video Preview */ .video-preview { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 24px; } .video-container { position: relative; width: 100%; aspect-ratio: 9/16; max-height: 500px; background: #000; display: flex; align-items: center; justify-content: center; } .video-container video { width: 100%; height: 100%; object-fit: contain; } .video-info { padding: 20px 24px; display: flex; gap: 16px; align-items: center; } .video-thumb { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-3); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; border: 2px solid var(--border); } .video-meta h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .video-meta .stats { display: flex; gap: 16px; font-size: 13px; color: var(--text-dim); } .video-meta .stats span { display: flex; align-items: center; gap: 5px; } /* Download Cards */ .download-group { margin-bottom: 20px; } .download-group-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 12px; padding-left: 4px; } .download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .dl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px; text-align: center; cursor: pointer; transition: all 0.25s ease; text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 8px; } .dl-card:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); } .dl-card .dl-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; } .dl-card.video-dl .dl-icon { background: rgba(255,51,102,0.12); color: var(--accent); } .dl-card.audio-dl .dl-icon { background: rgba(99,102,241,0.12); color: #818cf8; } .dl-card .dl-quality { font-weight: 700; font-size: 18px; letter-spacing: -0.5px; } .dl-card .dl-label { font-size: 12px; color: var(--text-dim); font-weight: 400; } .dl-card .dl-format { font-size: 11px; color: var(--text-dim); background: var(--surface-3); padding: 3px 10px; border-radius: 6px; } /* === FEATURES === */ .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; animation: fadeUp 0.8s ease 0.3s both; } .feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; } .feature .f-icon { font-size: 24px; margin-bottom: 10px; } .feature h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; } .feature p { font-size: 12px; color: var(--text-dim); line-height: 1.5; } /* === FOOTER === */ .footer { text-align: center; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); animation: fadeUp 0.8s ease 0.4s both; } div#resultSection { padding: 20px; } /* === ANIMATIONS === */ @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media screen and (min-device-width:320px) and (max-device-width:768px){ header.header-menu.news_item.shadow-equal { padding: 31px 15px; } .header-menu h1 { font-size: 28px; } .input-section { padding: 0; margin-top: 20px; } .input-card { border: 0; display: block; } .input-card input { border: 1px solid #ccc; outline: 0; width: 100%; padding: 12px 20px; } .btn-fetch { margin-top: 20px; width: 100%; } }