:root {
  --color-bg-primary: #0f1c24;
  --color-bg-secondary: #1a2c38;
  --color-bg-card: #1f3542;
  --color-accent: #22d3ee;
  --color-accent-hover: #06b6d4;
  --color-text-primary: #ffffff;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-border: #334155;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a1419 0%, #1a3a44 50%, #2d5a66 100%);
  background-attachment: fixed;
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, rgba(10, 20, 25, 0.95) 0%, rgba(26, 58, 68, 0.95) 50%, rgba(45, 90, 102, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-lg) 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-base);
  position: relative;
  padding-bottom: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle svg {
  transition: transform var(--transition-base);
}

.nav-dropdown:hover .dropdown-toggle svg,
.nav-dropdown.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-sm);
  min-width: 200px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 8px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: rgba(58, 122, 254, 0.1);
  color: var(--color-accent);
  transform: translateX(4px);
}

.dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.dropdown-item:hover svg {
  opacity: 1;
}

.hero-banner {
  padding: var(--spacing-3xl) 0 var(--spacing-lg) 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xl);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
}

.hero-banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-xl);
}

.hero-banner-highlight {
  color: var(--color-accent);
}

.hero-banner-text {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto var(--spacing-xl);
  color: var(--color-text-secondary);
}

.hero-banner-emphasis {
  font-weight: 700;
  color: var(--color-text-primary);
}

.hero-banner-description {
  max-width: 900px;
  margin: 0 auto var(--spacing-2xl);
}

.hero-banner-description p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.hero-banner-description strong {
  font-weight: 700;
  color: var(--color-text-primary);
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

.hero-feature-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1rem;
  font-weight: 600;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.hero-feature-item:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background-color: rgba(31, 53, 66, 0.8);
}

.hero-feature-item svg {
  flex-shrink: 0;
  color: #10b981;
}

.hero {
  padding: var(--spacing-lg) 0 var(--spacing-3xl) 0;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-3xl);
  line-height: 1.8;
}

.downloader-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.downloader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -8px rgba(0, 0, 0, 0.5);
}

.card-header {
  margin-bottom: var(--spacing-xl);
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.card-subtitle {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.input-group {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.format-selector {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  justify-content: center;
}

.format-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.format-option:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background-color: rgba(31, 53, 66, 0.8);
}

.format-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.format-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  position: relative;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.format-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  transition: transform var(--transition-base);
}

.format-option input[type="radio"]:checked ~ .format-radio {
  border-color: var(--color-accent);
}

.format-option input[type="radio"]:checked ~ .format-radio::after {
  transform: translate(-50%, -50%) scale(1);
}

.format-option input[type="radio"]:checked ~ .format-text {
  color: var(--color-accent);
}

.format-option:has(input[type="radio"]:checked) {
  border-color: var(--color-accent);
  background-color: rgba(34, 211, 238, 0.1);
}

.format-text {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
}

.format-text svg {
  flex-shrink: 0;
}

.url-input {
  flex: 1;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
}

.url-input:hover {
  border-color: rgba(58, 122, 254, 0.5);
}

.url-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(58, 122, 254, 0.15), 0 0 20px rgba(58, 122, 254, 0.1);
  background-color: rgba(30, 42, 58, 0.8);
  transform: translateY(-1px);
}

.url-input::placeholder {
  color: var(--color-text-muted);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-accent) 0%, #2e63e8 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.download-btn:hover::before {
  width: 300px;
  height: 300px;
}

.download-btn:hover {
  background: linear-gradient(135deg, #2e63e8 0%, #1e4ec8 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 122, 254, 0.5), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(58, 122, 254, 0.4);
}

.download-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.download-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.download-btn:disabled::before {
  display: none;
}

.status-message {
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
  text-align: left;
}

.status-message.success {
  background-color: rgba(72, 187, 120, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.status-message.error {
  background-color: rgba(245, 101, 101, 0.1);
  border: 1px solid var(--color-error);
  color: var(--color-error);
}

.status-message.info {
  background-color: rgba(58, 122, 254, 0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.status-message.hidden {
  display: none;
}

.result-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.result-card.hidden {
  display: none;
}

.result-thumbnail {
  width: 100%;
  margin-bottom: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.result-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.result-info {
  text-align: left;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.result-formats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.format-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
}

.format-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.format-label {
  font-weight: 600;
}

.format-size {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.format-btn:hover .format-size {
  color: white;
}

.supported-platforms {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.3s forwards;
}

.supported-text {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}

.platform-badge {
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all var(--transition-base);
  cursor: default;
}

.platform-badge:hover {
  background-color: rgba(58, 122, 254, 0.1);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.section {
  padding: var(--spacing-3xl) 0;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  animation-play-state: paused;
}

.section.visible {
  animation-play-state: running;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-3xl);
}

.how-it-works {
  background-color: var(--color-bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.step-card {
  position: relative;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.step-number {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-icon {
  margin: 0 auto var(--spacing-lg);
  display: flex;
  justify-content: center;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.step-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.features {
  background: linear-gradient(135deg, #0a1419 0%, #1a3a44 50%, #2d5a66 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(58, 122, 254, 0.1);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-lg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.feature-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
  margin-top: var(--spacing-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--spacing-sm);
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-copyright {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.footer-disclaimer {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-2xl);
  }

  .hero {
    padding: var(--spacing-2xl) 0;
    min-height: auto;
  }

  .input-group {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .format-selector {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .downloader-card {
    padding: var(--spacing-lg);
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-subtitle {
    font-size: 0.875rem;
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero-banner-title {
    font-size: 2.5rem;
  }

  .hero-banner-text {
    font-size: 1.125rem;
  }

  .hero-banner-description p {
    font-size: 1rem;
  }

  .hero-features {
    gap: var(--spacing-md);
  }

  .hero-feature-item {
    font-size: 0.875rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .step-card,
  .feature-card {
    padding: var(--spacing-lg);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .nav {
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .dropdown-menu {
    left: 0;
    transform: none;
    min-width: 180px;
  }

  .header {
    padding: var(--spacing-md) 0;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
}

@media (max-width: 480px) {
  .hero-banner-title {
    font-size: 2rem;
  }

  .hero-banner-text {
    font-size: 1rem;
  }

  .hero-banner-description p {
    font-size: 0.9375rem;
  }

  .hero-features {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-feature-item {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 1.35rem;
  }

  .downloader-card {
    padding: var(--spacing-md);
  }

  .url-input {
    font-size: 0.95rem;
  }

  .step-title,
  .feature-title {
    font-size: 1.25rem;
  }

  .platform-badges {
    gap: var(--spacing-xs);
  }

  .platform-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.download-file-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-accent) 0%, #2e63e8 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.download-file-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.download-file-btn:hover::before {
  width: 400px;
  height: 400px;
}

.download-file-btn:hover {
  background: linear-gradient(135deg, #2e63e8 0%, #1e4ec8 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(58, 122, 254, 0.5), 0 6px 12px rgba(0, 0, 0, 0.2);
}

.download-file-btn:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 16px rgba(58, 122, 254, 0.4);
}
