/* Фон с картинкой */
body {
  background: url('assets/background.png') center top no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  /* ...остальные стили... */
}

.center-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  pointer-events: none; /* чтобы не мешать кликам */
}

.download-options {
  display: flex;
  gap: 30px;
  max-width: 900px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

/* Карточка для каждой ОС */
.download-card {
  background-color: #1e1e1e;
  border-radius: 16px;
  padding: 30px 20px;
  width: 180px;
  text-align: center;
  box-shadow: 0 0 20px rgba(162, 0, 255, 0.4);
  color: #a200ff;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;

  /* Анимация всей карточки */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

/* Задержка анимации для каждой карточки */
.download-card:nth-child(1) {
  animation-delay: 0.2s;
}
.download-card:nth-child(2) {
  animation-delay: 0.4s;
}
.download-card:nth-child(3) {
  animation-delay: 0.6s;
}

.download-card:hover,
.download-card:focus {
  background-color: #2a2a2a;
  box-shadow: 0 0 30px rgba(162, 0, 255, 0.7);
  outline: none;
}

/* Иконки SVG внутри карточки */
.download-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  fill: currentColor;
}

/* Текст под иконкой */
.download-card span {
  font-weight: 700;
  font-size: 1.2em;
  user-select: none;
}

/* Кнопка — без анимации, сразу видима */
.download-btn {
  margin-top: 16px;
  padding: 10px 20px;
  background-color: #a200ff;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  cursor: pointer;

  opacity: 1;
  transform: none;
}

.download-btn:hover,
.download-btn:focus {
  background-color: #8600cc;
  outline: none;
}

/* Анимация */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Хедер (если нужен) */
header {
  background-color: #1a1a1a;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a200ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4em;
}

.logo-container img.logo {
  width: 36px;
  height: 36px;
}

/* Навигация в хедере */
nav a {
  color: #ddd;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #a200ff;
  outline: none;
}

/* Футер */
.site-footer {
  background-color: #1a1a1a;
  color: #888;
  padding: 20px 40px;
  text-align: center;
  font-size: 0.9em;
  user-select: none;
}

.site-footer .footer-links a {
  margin-left: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  color: #a200ff;
  outline: none;
}

.terms-container {
  background: #1e1e1e;
  padding: 32px;
  border-radius: 16px;
  color: #e0e0e0;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
  margin-top: -85px;
}

.terms-container h2 {
  margin-top: 1.5em;
  font-size: 1.4em;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 4px;
}

.terms-container ul {
  padding-left: 20px;
  margin-top: 0.5em;
}

.terms-container li {
  margin-bottom: 8px;
}

.privacy-container {
  background: #1e1e1e;
  padding: 32px;
  border-radius: 16px;
  color: #e0e0e0;
  font-size: 1.1em;
  line-height: 1.6;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
  margin-top: -85px;
}

.privacy-container h2 {
  margin-top: 1.4em;
  font-size: 1.4em;
  color: #ffffff;
  border-bottom: 1px solid #444;
  padding-bottom: 4px;
}
.privacy-container ul {
  padding-left: 20px;
  margin-top: 0.5em;
}
.privacy-container li {
  margin-bottom: 8px;
}

.site-footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s ease;
  cursor: pointer;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  color: #a200ff;
  text-decoration: none;
  outline: none;
}

.download-button i,
.store-button i {
  margin-right: 10px;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  color: #ffffff;
  font-size: 1.3em;
  font-weight: 700;
  margin-left: 12px;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);
  transition: color 0.2s;
}

.logo-container:hover .logo-text {
  color: #a200ff;
}

/* Полупрозрачный overlay */
.background-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

/* Шапка */
header {
  display: flex;
  top: 0;
  left: 0;
  background: #000000 ;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  margin: 0;
  box-sizing: border-box;
  height: 80px;
  position: relative;
  z-index: 100;
}

.logo {
  height: 48px;
  width: auto;
  margin-right: 40px;
  display: block;
  align-self: center;
}

nav {
  display: flex;
  align-items: center;
  height: 100%;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 32px;
  font-weight: 500;
  font-size: 1.1em;
  transition: color 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
}
nav a:hover {
  color: #a200ff;
}

/* Главная секция */
.hero {
  text-align: center;
  margin-top: 0;
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.8s ease-out forwards;
}

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 256px;
  height: 256px;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
  animation-delay: 0.1s;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 16px #ffffff, 0 1px 0 #252326;
  font-size: 4em;
  margin-bottom: 0.2em;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
  animation-delay: 0.4s;
}

#tagline {
  font-size: 1.3em;
  margin-bottom: 1.5em;
  color: #a0a0a0;
  opacity: 0;
  animation: fade-in 0.7s ease-out forwards;
    animation-delay: 0.7s;
}

.download-button {
  display: inline-block;
  background: linear-gradient(90deg, #9c2ce7 0%, #942dc4 100%);
  color: #fff;
  padding: 20px 56px;
  border-radius: 12px;
  font-size: 1.4em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(132, 0, 255, 0.2);
  margin-top: 0.5px;
  margin-bottom: 1.2em;
  transition: background 0.2s, transform 0.2s;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
}
.download-button:hover {
  background: linear-gradient(90deg, #a23df5 0%, #842ed4 100%);
  transform: scale(1.05);
}

.platforms {
  margin-top: 0.5em;
  font-size: 1em;
  color: #e0e0e0;
}
.platforms span {
  margin: 0 10px;
  padding: 4px 12px;
  background: rgba(0,195,255,0.1);
  border-radius: 12px;
}

/* Секция фич */
.features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin: 32px 0 0 0;
  position: relative;
  flex-wrap: nowrap;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
  animation-delay: 0.5s;
}
.feature {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  padding: 32px 36px;
  border-radius: 20px;
  font-size: 1.25em;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  min-width: 200px;
  text-align: center;
  margin-bottom: 24px;
  flex: 1 1 0;
  min-width: 200px;
  max-width: 340px;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
}
.feature:nth-child(1) { animation-delay: 0.7s; }
.feature:nth-child(2) { animation-delay: 1s; }
.feature:nth-child(3) { animation-delay: 1.3s; }

@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature strong {
  display: block;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 1px;
}

.feature {
  color: #e0e0e0; /* описание чуть светлее, но не белое */
  font-size: 1.1em;
}

.store-button {
  display: inline-block;
  background: linear-gradient(90deg, #db881b 0%, #b16c2b 100%);
  color: #fff;
  padding: 20px 56px;
  border-radius: 12px;
  font-size: 1.4em;
  font-weight: 600;
  text-decoration: none;
  margin-left: 16px;
  margin-top: 0.5px;
  margin-bottom: 1.2em;
  transition: background 0.2s, transform 0.2s;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in 0.7s ease-out forwards;
}
.store-button:hover {
  background: linear-gradient(90deg, #f1a42f 0%, #e29339 100%);
  transform: scale(1.05);
}

.site-footer {
  text-align: center;
  color: #ffffff;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 1.1em;
  font-weight: 600;
  position: relative;
  z-index: 10;
  background: #000000;
  padding: 32px 0 28px 0;
  border-top: 1px solid #000000;
}

html, body {
  margin: 0;
  padding: 0;
}

main {
  margin-top: 80px;
  max-width: 1100px;
  padding: 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .feature {
    min-width: unset;
    width: 90%;
  }
  .hero h1 {
    font-size: 2.2em;
  }
  .download-button,
  .store-button {
    font-size: 1.1em;
    padding: 16px 32px;
  }
}