@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #0b0f19;
  --card-bg: rgba(17, 24, 39, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  
  --primary-accent: #ff6b00; /* Climber Orange */
  --primary-glow: rgba(255, 107, 0, 0.15);
  
  --secondary-accent: #8b5cf6; /* Support Purple */
  --secondary-glow: rgba(139, 92, 246, 0.15);
  
  --success: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* Background Glow Effects */
.background-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-1 {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

.glow-2 {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
}

/* Header */
.header {
  padding: 24px 0;
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 25, 0.5);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary-accent);
}

.logo-emoji {
  filter: drop-shadow(0 0 8px var(--primary-accent));
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--card-border);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, var(--primary-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* Download Cards Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.download-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
}

.card-host::before {
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

.card-viewer::before {
  background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
}

.download-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-host:hover {
  box-shadow: 0 20px 40px -15px var(--primary-glow);
}

.card-viewer:hover {
  box-shadow: 0 20px 40px -15px var(--secondary-glow);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--card-border);
}

.download-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

.btn-primary:hover {
  background-color: #e05e00;
  transform: scale(1.02);
}

.btn-secondary {
  background-color: var(--secondary-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn-secondary:hover {
  background-color: #7c3aed;
  transform: scale(1.02);
}

.platform-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* Tutorial Section */
.tutorial-section {
  padding: 60px 0 100px 0;
  border-top: 1px solid var(--card-border);
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  position: relative;
}

.step-number {
  font-size: 40px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}

.step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
  background: rgba(11, 15, 25, 0.8);
}

.footer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.server-meta {
  font-size: 12px !important;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section {
    padding: 50px 0 40px 0;
  }
  
  .download-grid {
    gap: 20px;
  }
}
