/* =========================================================
   DOWNLOADS SECTION - PREMIUM RED GLASS DESIGN
   Professional MMO RPG Download Experience
   ========================================================= */

/* ===== RED GLASS COLOR VARIABLES ===== */
:root {
  --dl-red-dark: #7f1d1d;
  --dl-red-main: #c53b3b;
  --dl-red-bright: #ef4444;
  --dl-red-glow: #f87171;
  --dl-red-light: #fca5a5;
  --dl-red-ultra-dark: #450a0a;
  --dl-bg-dark: #0a0518;
  --dl-bg-darker: #050210;
}

/* ===== MAIN SECTION ===== */
.am-downloads-section {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 85vh;
  padding: clamp(16px, 2vw, 24px) var(--am-space-8);
  background: 
    url('../images/body-bg.png') center center / cover no-repeat,
    url('../images/main-bg.png') center center / cover no-repeat,
    radial-gradient(ellipse at center, rgba(197, 59, 59, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%),
    var(--am-bg-main);
  z-index: var(--am-z-elevated);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.am-downloads-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Animated Background Orbs */
.downloads-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.downloads-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 15s ease-in-out infinite;
}

.downloads-orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 59, 59, 0.25) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.downloads-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
  bottom: 15%;
  right: 15%;
  animation-delay: 5s;
}

.downloads-orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
  66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.7; }
}

/* Animated Grid Overlay - Removed duplicate, using section::before for overlay only */

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ===== CONTAINER ===== */
.am-downloads-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(8px, 1vw, 12px);
  box-sizing: border-box;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

/* ===== HEADER - Uses standard section head styles ===== */
.am-section-head--downloads {
  flex-shrink: 0;
  margin-bottom: clamp(8px, 1vw, 12px);
  margin-top: 0;
  padding-top: 0;
}

/* Downloads header - match standard section head styling */
.am-downloads-header {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto clamp(20px, 2.5vw, 32px);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Downloads section title and subtitle inherit from .am-section-title and .am-section-sub in cmu.css */

/* ===== PANEL ===== */
.am-downloads-panel {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  width: 100%;
  max-width: 1300px;
  height: 100%;
  max-height: 100%;
}

.am-downloads-panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: visible;
  height: 100%;
  max-height: 100%;
}

/* ===== TABS NAVIGATION ===== */
.downloads-tabs-nav {
  position: relative;
  margin-bottom: clamp(12px, 1.5vw, 16px);
  z-index: 2;
  flex-shrink: 0;
}

.downloads-tabs-wrapper {
  display: flex;
  gap: clamp(6px, 0.8vw, 10px);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.95), rgba(10, 6, 16, 0.98));
  border: 2px solid rgba(197, 59, 59, 0.3);
  border-radius: 16px;
  padding: clamp(6px, 0.8vw, 10px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(197, 59, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
}

.downloads-tab-btn {
  flex: 0 1 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 10px);
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 20px);
  min-width: fit-content;
  width: auto;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  isolation: isolate;
  z-index: 1;
  pointer-events: auto;
  white-space: nowrap;
}

.downloads-tab-btn i {
  font-size: clamp(14px, 1.5vw, 18px);
  transition: all 0.4s ease;
}

.downloads-tab-label {
  position: relative;
  z-index: 2;
}

.downloads-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(197, 59, 59, 0.8), rgba(239, 68, 68, 0.9), rgba(197, 59, 59, 0.8));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(197, 59, 59, 0.6);
}

.downloads-tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(197, 59, 59, 0.15);
}

.downloads-tab-btn:hover .downloads-tab-indicator {
  transform: scaleX(0.5);
}

.downloads-tab-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(197, 59, 59, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.downloads-tab-btn.is-active .downloads-tab-indicator {
  transform: scaleX(1);
}

.downloads-tab-btn.is-active i {
  color: rgba(239, 68, 68, 1);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8));
}

/* Mobile Tab Selector */
.downloads-tab-select {
  display: none;
  width: 100%;
  padding: clamp(12px, 1.5vw, 16px);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 16px);
  color: #fff;
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.95), rgba(10, 6, 16, 0.98));
  border: 2px solid rgba(197, 59, 59, 0.3);
  border-radius: 12px;
  margin-bottom: clamp(24px, 3vw, 32px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
  .downloads-tabs-wrapper {
    display: none;
  }
  .downloads-tab-select {
    display: block;
  }
}

/* ===== TAB CONTENT ===== */
.downloads-tab-content-wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: visible;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

.downloads-tab-panel {
  display: none;
  animation: fadeInUp 0.5s ease-out;
  flex: 1;
  min-height: 0;
  overflow: visible;
  height: auto;
  max-height: 100%;
}

.downloads-tab-panel.is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  max-height: 100%;
}

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

/* ===== DOWNLOAD CARDS ===== */
.downloads-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: clamp(24px, 3vw, 32px);
  padding: clamp(16px, 2vw, 24px) 0;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.download-card {
  position: relative;
  border-radius: 24px;
  background: 
    radial-gradient(circle at 50% 0%, rgba(197, 59, 59, 0.18), rgba(20, 12, 35, 0.75));
  border: 2px solid rgba(197, 59, 59, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(197, 59, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  contain: layout style paint;
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(197, 59, 59, 0.18), rgba(20, 12, 35, 0.75));
  border-radius: 24px;
  z-index: -1;
}

.download-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 80% at 50% 50%, 
      transparent 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.5) 100%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  border-radius: 24px;
}

.download-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(197, 59, 59, 0.4) 0%,
    rgba(215, 168, 77, 0.5) 25%,
    rgba(239, 68, 68, 0.5) 50%,
    rgba(215, 168, 77, 0.5) 75%,
    rgba(197, 59, 59, 0.4) 100%
  );
  border-radius: 24px;
  opacity: 0;
  z-index: -1;
  filter: blur(8px);
  pointer-events: none;
  box-sizing: border-box;
}



.download-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 32px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(16px, 2vw, 24px);
  gap: clamp(12px, 1.5vw, 16px);
}

.download-card-icon-wrapper {
  position: relative;
  flex-shrink: 0;
}

.download-card-icon {
  width: clamp(100px, 12vw, 140px);
  height: clamp(100px, 12vw, 140px);
  object-fit: contain;
  border-radius: 20px;
  border: 3px solid rgba(197, 59, 59, 0.4);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.9), rgba(10, 6, 16, 0.95));
  padding: clamp(12px, 1.5vw, 16px);
}

.download-card-icon-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(197, 59, 59, 0.4) 0%, transparent 70%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(8px);
  z-index: -1;
}

/* Modern Elegant Icon Animation on Card Hover */
@keyframes iconElegantGlow {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 15px rgba(255, 163, 84, 0.4));
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.15) drop-shadow(0 0 25px rgba(255, 163, 84, 0.7));
  }
}

@keyframes iconGlowElegant {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.85;
  }
}

.download-card:hover .download-card-icon {
  animation: iconElegantGlow 2s ease-in-out infinite;
  border-color: rgba(255, 163, 84, 0.7);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(255, 163, 84, 0.5),
    0 0 50px rgba(255, 163, 84, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card:hover .download-card-icon-glow {
  opacity: 0.7;
  animation: iconGlowElegant 2s ease-in-out infinite;
  background: radial-gradient(circle, 
    rgba(255, 163, 84, 0.5) 0%,
    rgba(255, 163, 84, 0.3) 40%,
    rgba(197, 59, 59, 0.2) 70%,
    transparent 100%);
}


.download-card-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.5vw, 6px);
  padding: clamp(6px, 0.8vw, 8px) clamp(12px, 1.5vw, 16px);
  border-radius: 20px;
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Orbitron', sans-serif;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: badgeFloat 3s ease-in-out infinite;
  z-index: 3;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.download-card-badge--fastest {
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.9), rgba(239, 68, 68, 0.8));
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(197, 59, 59, 0.6);
}

.download-card-badge--mirror {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(248, 113, 113, 0.8));
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(239, 68, 68, 0.6);
}

.download-card-body {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.download-card-title {
  font-size: clamp(22px, 2.8vw, 32px);
  color: rgb(255, 163, 84);
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 163, 84, 0.6),
    0 0 30px rgba(255, 163, 84, 0.4);
  font-weight: 900;
  letter-spacing: 0.05em;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.download-card-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(14px, 1.6vw, 17px);
  margin: 0 0 clamp(16px, 2vw, 20px);
  line-height: 1.6;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.download-card-info {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.download-info-item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(13px, 1.4vw, 16px);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
}

.download-info-item i {
  color: rgba(239, 68, 68, 0.8);
  font-size: clamp(14px, 1.6vw, 18px);
}

.download-info-item strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.download-card-footer {
  display: flex;
  justify-content: flex-end;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(14px, 1.8vw, 18px) clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 17px);
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 2px solid rgba(197, 59, 59, 0.6);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
  background: linear-gradient(135deg,
    rgba(197, 59, 59, 0.9) 0%,
    rgba(239, 68, 68, 0.85) 50%,
    rgba(197, 59, 59, 0.9) 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 10px rgba(197, 59, 59, 0.7);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(197, 59, 59, 0.6),
    0 0 60px rgba(239, 68, 68, 0.5),
    0 0 80px rgba(197, 59, 59, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.download-btn-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background-position: 100% 50%;
  border-color: rgba(239, 68, 68, 1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(197, 59, 59, 0.9),
    0 0 90px rgba(239, 68, 68, 0.7),
    0 0 120px rgba(197, 59, 59, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(239, 68, 68, 0.9);
}

.download-btn:hover .download-btn-shine {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.download-btn-text {
  position: relative;
  z-index: 2;
}

.download-btn-icon {
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.download-btn:hover .download-btn-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.9));
}

.download-btn:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.7),
    inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ===== CONTENT PANELS ===== */
.downloads-content-panel {
  background: 
    radial-gradient(circle at 50% 0%, rgba(197, 59, 59, 0.18), rgba(20, 12, 35, 0.75));
  border: 2px solid rgba(197, 59, 59, 0.3);
  border-radius: 20px;
  padding: clamp(16px, 2vw, 20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(197, 59, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  height: auto;
  max-height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.downloads-content-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(197, 59, 59, 0.18), rgba(20, 12, 35, 0.75));
  border-radius: 20px;
  z-index: -1;
}

.downloads-content-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 80% at 50% 50%, 
      transparent 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.3) 70%,
      rgba(0, 0, 0, 0.5) 100%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  border-radius: 20px;
}


.downloads-panel-header {
  text-align: center;
  margin-bottom: clamp(16px, 2vw, 24px);
  flex-shrink: 0;
}

.downloads-panel-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 12px);
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 28px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255, 163, 84);
  margin: 0 0 clamp(8px, 1vw, 12px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 163, 84, 0.6);
}

.downloads-panel-title i {
  color: rgb(255, 163, 84);
  filter: drop-shadow(0 0 10px rgba(255, 163, 84, 0.6));
}

.downloads-panel-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* ===== SYSTEM REQUIREMENTS ===== */
.downloads-requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(12px, 1.5vw, 16px);
  margin-bottom: clamp(12px, 1.5vw, 16px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.requirement-card {
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.85), rgba(10, 6, 16, 0.9));
  border: 2px solid rgba(197, 59, 59, 0.25);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 20px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(197, 59, 59, 0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.requirement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 59, 59, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.4);
}

.requirement-icon {
  width: clamp(50px, 6vw, 65px);
  height: clamp(50px, 6vw, 65px);
  margin: 0 auto clamp(12px, 1.5vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  border: 2px solid rgba(197, 59, 59, 0.4);
  border-radius: 12px;
  color: rgba(239, 68, 68, 1);
  font-size: clamp(24px, 3vw, 30px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.3);
}

.requirement-label {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 clamp(6px, 0.8vw, 10px);
}

.requirement-value {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.downloads-recommendation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(14px, 1.8vw, 18px);
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.2), rgba(239, 68, 68, 0.15));
  border: 2px solid rgba(197, 59, 59, 0.3);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.downloads-recommendation i {
  color: rgba(239, 68, 68, 1);
  font-size: clamp(20px, 2.5vw, 24px);
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6));
}

.downloads-recommendation p {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.downloads-recommendation strong {
  color: rgba(239, 68, 68, 1);
  font-weight: 700;
}

/* ===== INSTALLATION GUIDE ===== */
.downloads-installation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  flex: 1;
  min-height: 0;
  overflow: visible;
  height: 100%;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.downloads-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(197, 59, 59, 0.3);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.3);
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.downloads-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

.downloads-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.downloads-steps-container {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
  overflow: hidden;
  height: auto;
  max-height: 100%;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.download-step {
  display: flex;
  gap: clamp(12px, 1.5vw, 16px);
  align-items: flex-start;
  padding: clamp(16px, 2vw, 20px);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.85), rgba(10, 6, 16, 0.9));
  border: 2px solid rgba(197, 59, 59, 0.25);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(197, 59, 59, 0.1);
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  min-width: 0;
}

.download-step:hover {
  transform: translateX(8px);
  border-color: rgba(197, 59, 59, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.4);
}

.download-step-number {
  flex-shrink: 0;
  width: clamp(40px, 5vw, 50px);
  height: clamp(40px, 5vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.9), rgba(239, 68, 68, 0.85));
  border: 2px solid rgba(239, 68, 68, 0.5);
  border-radius: 50%;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 24px);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.5);
}

.download-step-content {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.download-step-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.05em;
  color: rgba(239, 68, 68, 1);
  margin: 0 0 clamp(6px, 0.8vw, 10px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(197, 59, 59, 0.6);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.download-step-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ===== SUPPORT SECTION ===== */
.downloads-support-content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  height: auto;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.support-intro {
  text-align: center;
  padding: clamp(14px, 1.8vw, 18px);
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.15), rgba(239, 68, 68, 0.1));
  border: 2px solid rgba(197, 59, 59, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.support-developer-info {
  margin-bottom: clamp(16px, 2vw, 20px);
}

.support-developer-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: 0.08em;
  color: rgba(239, 68, 68, 1);
  margin: 0 0 clamp(6px, 0.8vw, 10px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(197, 59, 59, 0.7);
}

.support-developer-role {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.support-intro-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
}

/* ===== SUPPORT ISSUES GRID ===== */
.support-issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.5vw, 16px);
  margin-bottom: clamp(16px, 2vw, 20px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.support-issue-card {
  position: relative;
  padding: clamp(16px, 2vw, 20px);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.85), rgba(10, 6, 16, 0.9));
  border: 2px solid rgba(197, 59, 59, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(197, 59, 59, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.support-issue-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 59, 59, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.4);
}

.support-issue-icon {
  width: clamp(50px, 6vw, 60px);
  height: clamp(50px, 6vw, 60px);
  margin: 0 auto clamp(12px, 1.5vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  border: 2px solid rgba(197, 59, 59, 0.4);
  border-radius: 12px;
  color: rgba(239, 68, 68, 1);
  font-size: clamp(22px, 2.8vw, 28px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.3);
  transition: all 0.4s ease;
}

.support-issue-card:hover .support-issue-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.5);
}

.support-issue-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: 0.05em;
  color: rgba(239, 68, 68, 1);
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(197, 59, 59, 0.6);
  line-height: 1.3;
}

.support-issue-solution {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 14px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 clamp(14px, 1.8vw, 18px);
  line-height: 1.5;
  flex: 1;
}

.support-issue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 8px);
  padding: clamp(10px, 1.2vw, 12px) clamp(18px, 2.2vw, 24px);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.8), rgba(239, 68, 68, 0.7));
  border: 2px solid rgba(197, 59, 59, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.3);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.support-issue-btn:hover {
  background: linear-gradient(135deg, rgba(197, 59, 59, 1), rgba(239, 68, 68, 0.9));
  border-color: rgba(239, 68, 68, 0.8);
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 59, 59, 0.5);
}

.support-issue-btn i {
  font-size: clamp(10px, 1.2vw, 12px);
}

.support-contact-simple {
  padding: clamp(14px, 1.8vw, 18px);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.85), rgba(10, 6, 16, 0.9));
  border: 2px solid rgba(197, 59, 59, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(197, 59, 59, 0.1);
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.support-contact-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 14px);
  flex-wrap: wrap;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.support-contact-text i {
  color: rgba(239, 68, 68, 1);
  font-size: clamp(18px, 2.2vw, 22px);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
}

.support-contact-text a {
  color: rgba(239, 68, 68, 1);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.support-contact-text a:hover {
  color: rgba(239, 68, 68, 1);
  border-bottom-color: rgba(239, 68, 68, 0.6);
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.support-contact-text strong {
  color: rgba(239, 68, 68, 1);
  font-weight: 700;
}

.support-copy-btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(28px, 3.5vw, 32px);
  height: clamp(28px, 3.5vw, 32px);
  padding: 0;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  border: 2px solid rgba(197, 59, 59, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(12px, 1.4vw, 14px);
  flex-shrink: 0;
}

.support-copy-btn-inline:hover {
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.5), rgba(239, 68, 68, 0.4));
  border-color: rgba(197, 59, 59, 0.6);
  transform: scale(1.1);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.4);
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 20px);
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.support-contact-card {
  padding: clamp(20px, 2.5vw, 28px);
  background: linear-gradient(135deg, rgba(20, 12, 35, 0.9), rgba(10, 6, 16, 0.95));
  border: 2px solid rgba(197, 59, 59, 0.3);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(197, 59, 59, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}

.support-contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 59, 59, 0.6);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(197, 59, 59, 0.4);
}

.support-contact-icon {
  width: clamp(60px, 7vw, 75px);
  height: clamp(60px, 7vw, 75px);
  margin: 0 auto clamp(14px, 1.8vw, 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  border: 2px solid rgba(197, 59, 59, 0.4);
  border-radius: 50%;
  color: rgba(239, 68, 68, 1);
  font-size: clamp(28px, 3.5vw, 36px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.3);
}

.support-contact-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.05em;
  color: rgba(239, 68, 68, 1);
  margin: 0 0 clamp(8px, 1vw, 12px);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(197, 59, 59, 0.6);
}

.support-contact-description {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  line-height: 1.5;
}

.support-contact-instruction {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 14px);
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 clamp(14px, 1.8vw, 18px);
  line-height: 1.5;
  font-style: italic;
}

.support-discord-info {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.support-discord-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 12px);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 clamp(12px, 1.5vw, 16px);
}

.support-discord-name i {
  color: rgba(239, 68, 68, 0.9);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.support-discord-name strong {
  color: rgba(239, 68, 68, 1);
  font-weight: 700;
}

.support-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(10px, 1.2vw, 14px) clamp(20px, 2.5vw, 28px);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.3), rgba(239, 68, 68, 0.25));
  border: 2px solid rgba(197, 59, 59, 0.4);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.support-copy-btn:hover {
  background: linear-gradient(135deg, rgba(197, 59, 59, 0.5), rgba(239, 68, 68, 0.4));
  border-color: rgba(197, 59, 59, 0.6);
  transform: translateY(-2px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(197, 59, 59, 0.4);
}

.support-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(14px, 1.8vw, 18px) clamp(24px, 3vw, 36px);
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg,
    rgba(197, 59, 59, 0.9) 0%,
    rgba(239, 68, 68, 0.85) 50%,
    rgba(197, 59, 59, 0.9) 100%
  );
  border: 2px solid rgba(197, 59, 59, 0.6);
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(197, 59, 59, 0.6);
}

.support-contact-btn:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(239, 68, 68, 1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(197, 59, 59, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .downloads-cards-container {
    grid-template-columns: 1fr;
  }
  
  .downloads-installation-content {
    grid-template-columns: 1fr;
  }
  
  .downloads-requirements-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .downloads-cards-container {
    grid-template-columns: 1fr;
  }
  
  .support-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .downloads-requirements-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .download-card-inner {
    padding: clamp(20px, 2.5vw, 24px);
  }
  
  .download-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .download-card-footer {
    justify-content: center;
  }
  
  .downloads-installation-content {
    gap: clamp(24px, 3vw, 32px);
  }
}

