﻿.downloads__hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 20, 28, 0.95) 0%, rgba(24, 29, 40, 0.9) 100%);
}

.downloads__hero .downloads__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
}

.downloads__hero .downloads__content {
  padding: 2rem 0;
}

.downloads__hero .downloads__kicker {
  font: 700 14px/1.2 Cinzel, serif;
  letter-spacing: .25em;
  color: var(--gold-1);
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 1rem;
}

.downloads__hero .downloads__title {
  margin: 0 0 1.5rem;
  font: 900 clamp(36px, 6vw, 64px)/1.1 Cinzel, serif;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.downloads__hero .downloads__description {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
}

.downloads__hero .downloads__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.downloads__hero .downloads__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.downloads__preview {
  perspective: 1000px;
}

.downloads__download-card.downloads__download-card--preview {
  transform: rotateY(-15deg) rotateX(5deg);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 2rem;
  width: 280px;
  animation: downloads__float 6s ease-in-out infinite;
}

@keyframes downloads__float {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
  50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-10px); }
}

.downloads__section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.98) 0%, rgba(12, 16, 24, 1) 100%);
}

.downloads__section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.downloads__section-title {
  font: 800 clamp(28px, 4vw, 42px)/1.2 Cinzel, serif;
  color: var(--gold-1);
  margin-bottom: 1rem;
}

.downloads__section-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.downloads__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.downloads__download-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.downloads__download-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(228, 195, 122, 0.2);
  border-color: rgba(228, 195, 122, 0.3);
}

.downloads__download-header {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.downloads__download-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.downloads__download-icon svg {
  width: 24px;
  height: 24px;
  color: var(--bg-dark);
}

.downloads__download-meta {
  flex: 1;
}

.downloads__download-title {
  font: 700 20px/1.3 Cinzel, serif;
  color: var(--gold-1);
  margin-bottom: 0.5rem;
}

.downloads__download-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.downloads__download-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.downloads__badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.downloads__badge--platform {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.downloads__badge--version {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.downloads__download-details {
  padding: 0 2rem 2rem;
}

.downloads__download-info {
  margin-bottom: 2rem;
}

.downloads__info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.downloads__info-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(228, 195, 122, 0.2);
}

.downloads__info-item:last-child {
  margin-bottom: 0;
}

.downloads__info-label {
  color: var(--gold-1);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.downloads__info-value {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-align: right;
  word-break: break-all;
}

.downloads__requirements-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(12, 16, 24, 1) 0%, rgba(8, 12, 20, 1) 100%);
}

.downloads__requirements-tabs {
  max-width: 800px;
  margin: 0 auto;
}

.downloads__tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.downloads__tab-btn {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.downloads__tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.downloads__tab-btn.downloads__tab-btn--active {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: var(--bg-dark);
  border-color: transparent;
}

.downloads__tab-content {
  display: none;
  animation: downloads__fadeIn 0.3s ease;
}

.downloads__tab-content.downloads__tab-content--active {
  display: block;
}

@keyframes downloads__fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.downloads__requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.downloads__requirement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.downloads__requirement:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(228, 195, 122, 0.3);
  transform: translateY(-1px);
}

.downloads__req-label {
  color: var(--gold-1);
  font-weight: 600;
  flex-shrink: 0;
}

.downloads__req-value {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-align: right;
  font-family: monospace;
}

.downloads__download-actions {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.downloads__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.downloads__btn--primary {
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: var(--bg-dark);
}

.downloads__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(228, 195, 122, 0.3);
}

.downloads__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.downloads__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.downloads__btn--secondary.downloads__btn--active {
  background: rgba(228, 195, 122, 0.2);
  color: var(--gold-1);
  border-color: rgba(228, 195, 122, 0.4);
}

.downloads__btn-icon {
  width: 16px;
  height: 16px;
}

.downloads__download-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.downloads__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--gold-1);
  border-radius: 50%;
  animation: downloads__spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes downloads__spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.downloads__error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

.downloads__no-downloads {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}





