/* Download Modal Styles */
#download-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #333;
  color: #fff;
}

.modal-body {
  padding: 0 24px;
}

.download-option {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  background: #222;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.download-option:hover {
  background: #2a2a2a;
  border-color: #4a6cf7;
  transform: translateY(-1px);
}

.download-option:last-child {
  margin-bottom: 0;
}

.platform-icon {
  font-size: 32px;
  margin-right: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  border-radius: 12px;
}

.platform-info {
  flex: 1;
}

.platform-name {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.platform-desc {
  color: #999;
  font-size: 0.9rem;
}

.download-arrow {
  color: #4a6cf7;
  font-size: 20px;
  font-weight: bold;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.download-option:hover .download-arrow {
  transform: translateY(2px);
}

.modal-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid #333;
  margin-top: 20px;
}

.modal-footer p {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    margin: 10px;
    max-width: none;
  }
  
  .modal-header {
    padding: 20px 20px 0;
  }
  
  .modal-body {
    padding: 0 20px;
  }
  
  .modal-footer {
    padding: 20px;
  }
  
  .download-option {
    padding: 12px;
  }
  
  .platform-icon {
    font-size: 28px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  
  .platform-name {
    font-size: 1rem;
  }
}
