.download-main-container {
  width: 85.5%;
  max-width: 1296px;
  margin: 18px auto 20px;
  padding: 0;
  box-sizing: border-box;
}
.download-header-section {
  margin: 0 0 12px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.download-main-title {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}
.download-subtitle {
  margin: 6px 0 0;
  text-align: center;
  color: #cfd8dc;
  font-size: 14px;
}
.download-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.download-platform-section {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.section-header {
  margin-bottom: 10px;
}
.section-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.section-description {
  margin: 0;
  color: #b0bec5;
  font-size: 13px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.download-option-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 175px;
  padding: 16px;
  border-radius: 14px;
  box-sizing: border-box;
}
.option-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.option-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #e9edf0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.option-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.35;
}
.steam-icon {
  background: rgba(120, 160, 220, 0.14);
  border-color: rgba(120, 160, 220, 0.32);
  color: #a4c3ff;
}
.itch-icon {
  background: rgba(250, 92, 92, 0.16);
  border-color: rgba(250, 92, 92, 0.36);
  color: #ff9a9a;
}
.option-info {
  flex: 1;
}
.option-title {
  margin: 0 0 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.option-description {
  margin: 0;
  color: #a9b5bd;
  font-size: 12px;
  line-height: 1.4;
}
.option-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.download-action-btn {
  width: 100%;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 14px;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  transition: filter 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}
.download-action-btn:hover {
  filter: brightness(1.06);
}
.btn-text {
  color: #fff;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}
.download-action-btn.primary {
  background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
  border-color: rgba(0, 122, 255, 0.34);
}
.download-action-btn.secondary {
  background: linear-gradient(135deg, #00c7be 0%, #009f9a 100%);
  border-color: rgba(0, 199, 190, 0.34);
}
.download-action-btn.steam {
  background: linear-gradient(135deg, #24364f 0%, #151f30 100%);
  border-color: rgba(164, 195, 255, 0.28);
}
.download-action-btn.itch {
  background: linear-gradient(135deg, #fa5c5c 0%, #de3f3f 100%);
  border-color: rgba(255, 154, 154, 0.3);
}
.download-action-btn.mirror-btn {
  background: linear-gradient(135deg, #4b5563 0%, #2f3744 100%);
  border-color: rgba(180, 192, 210, 0.3);
}
.security-notice {
  width: 85.5%;
  max-width: 1296px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17, 65, 36, 0.45) 0%, rgba(11, 35, 22, 0.5) 100%);
  border: 1px solid rgba(76, 175, 80, 0.35);
  box-sizing: border-box;
}
.security-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.security-icon {
  width: 32px;
  height: 32px;
  color: #7de68b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security-icon svg {
  width: 22px;
  height: 22px;
}
.security-text {
  text-align: center;
}
.security-text h3 {
  margin: 0;
  color: #e8f5e9;
  font-size: 15px;
  font-weight: 700;
}
.security-text p {
  margin: 4px 0 0;
  color: #b8d8bc;
  font-size: 12px;
}
.security-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.security-link:hover {
  opacity: 1;
}
.virustotal-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }
  .download-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 14px;
  }
  .download-header-section {
    border-radius: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .download-main-title {
    font-size: 21px;
    text-shadow: none;
    color: #e4e4e4;
  }
  .download-content-wrapper {
    gap: 10px;
  }
  .download-platform-section {
    border-radius: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .download-option-card {
    min-height: auto;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
  .download-option-card:hover {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
  }
  .option-title {
    font-size: 14px;
  }
  .option-description {
    font-size: 12px;
    color: #8e9297;
  }
  .download-action-btn {
    font-size: 12px;
    padding: 9px 11px;
  }
  .security-notice {
    width: 100%;
    max-width: 100%;
    margin: 6px 0 12px;
    border-radius: 10px;
    padding: 12px;
  }
  .security-text h3 {
    font-size: 14px;
  }
  .virustotal-logo {
    height: 30px;
  }
}
@media (max-width: 480px) {
  .download-main-container {
    padding: 10px;
  }
  .download-header-section {
    padding: 10px 12px;
  }
  .download-main-title {
    font-size: 19px;
  }
  .download-platform-section {
    padding: 8px;
  }
  .download-option-card {
    padding: 10px;
  }
  .option-header {
    gap: 10px;
  }
  .option-icon {
    width: 40px;
    height: 40px;
  }
  .option-icon svg {
    width: 20px;
    height: 20px;
  }
  .virustotal-logo {
    height: 26px;
  }
}
