/* Custom Styles for TikTok Downloader */
:root {
  --color-tt-red: #fe2c55;
  --color-tt-cyan: #25f4ee;
  --color-tt-dark: #090b10;
  --color-tt-card: #141824;
  --color-tt-border: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--color-tt-dark);
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Glow effects */
.bg-glow-red {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.15) 0%, rgba(254, 44, 85, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
}

.bg-glow-cyan {
  position: absolute;
  top: 150px;
  left: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 244, 238, 0.12) 0%, rgba(37, 244, 238, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
}

/* Glassmorphism Card */
.glass-panel {
  background: rgba(20, 24, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-tt-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Custom TikTok Gradient Button */
.btn-tiktok-gradient {
  background: linear-gradient(135deg, #fe2c55 0%, #ff4b72 50%, #25f4ee 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(254, 44, 85, 0.35);
}

.btn-tiktok-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 44, 85, 0.5);
  background-position: right center;
}

.btn-tiktok-gradient:active {
  transform: translateY(0);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Action Buttons */
.btn-mp4 {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.btn-mp4:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn-mp3 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-mp3:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Ad Banners Container Styling */
.ad-slot-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: all 0.2s ease;
}

.ad-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

/* Professional Sponsor Banner Mock */
.sponsor-banner-mock {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  border: 1px solid rgba(129, 140, 248, 0.3);
  box-shadow: 0 10px 25px -5px rgba(67, 56, 202, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sponsor-banner-mock:hover {
  transform: scale(1.01);
}

/* Interstitial Modal */
.modal-backdrop-blur {
  background: rgba(4, 7, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Countdown bar in modal */
.countdown-progress-bar {
  height: 4px;
  background: #fe2c55;
  transition: width 1s linear;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #1e293b;
  border-left: 4px solid #10b981;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Sticky Bottom Ad */
.sticky-bottom-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.sticky-bottom-ad.minimized {
  transform: translateY(100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090b10;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
