/* ===== DARKENED SKIES FULL REVAMP ===== */

:root {
  --ds-bg: #020308;
  --ds-bg-soft: #050712;
  --ds-card-bg: #050816;
  --ds-border: rgba(148, 163, 184, 0.4);
  --ds-text: #e5e7eb;
  --ds-muted: #9ca3af;
  --ds-purple: #b347ff;
  --ds-purple-dark: #7c2bd9;
  --ds-purple-soft: #d18cff;
}

body {
  background: radial-gradient(circle at top, #111322 0%, #050712 40%, #000 100%) fixed;
  color: var(--ds-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Main wrapper */
.ds-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
}

/* ---------- HERO ---------- */

.ds-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2.8rem 2.4rem;
  background: radial-gradient(circle at 15% 0%, rgba(179, 71, 255, 0.33), transparent 55%),
              radial-gradient(circle at 85% 0%, rgba(209, 140, 255, 0.28), transparent 55%),
              linear-gradient(135deg, #050712, #020308);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.95);
}

.ds-hero-inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ds-hero-logo img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.9))
          drop-shadow(0 0 20px rgba(179, 71, 255, 0.7));
}

.ds-hero-text h1 {
  font-size: clamp(2.3rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.ds-tagline {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  color: var(--ds-muted);
  max-width: 32rem;
}

.ds-tagline span {
  color: var(--ds-purple-soft);
  font-weight: 600;
}

/* IP card */
.ds-ip-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1.1rem;
  border-radius: 14px;
  background: rgba(5, 8, 22, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.3);
  margin-bottom: 1.3rem;
  backdrop-filter: blur(14px);
}

.ds-ip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ds-muted);
  margin-bottom: 0.15rem;
}

.ds-ip {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ds-purple-soft);
}

.ds-ip-copy-hint {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: var(--ds-muted);
}

/* Buttons */
.ds-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.ds-btn {
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}

.ds-btn-primary {
  background: linear-gradient(135deg, var(--ds-purple), var(--ds-purple-dark));
  color: #050712;
  box-shadow: 0 14px 36px rgba(124, 43, 217, 1);
}

.ds-btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: var(--ds-text);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.ds-btn-full {
  width: 100%;
  justify-content: center;
}

.ds-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Hero meta */
.ds-hero-meta {
  font-size: 0.78rem;
  color: var(--ds-muted);
}

/* Orbit glows */
.ds-hero-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(179, 71, 255, 0.3), transparent 65%);
  top: -120px;
  left: -80px;
  opacity: 0.8;
  pointer-events: none;
}

.ds-hero-orbit--right {
  top: -150px;
  left: auto;
  right: -120px;
  background: radial-gradient(circle, rgba(209, 140, 255, 0.25), transparent 70%);
}

/* ---------- SECTIONS ---------- */

.ds-section {
  margin-top: 3.2rem;
}

.ds-section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.ds-section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.ds-section-header p {
  font-size: 0.9rem;
  color: var(--ds-muted);
}

/* Grids */
.ds-grid {
  display: grid;
  gap: 1.4rem;
}

.ds-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ds-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Cards */
.ds-card {
  background: var(--ds-card-bg);
  border-radius: 18px;
  border: 1px solid var(--ds-border);
  padding: 1.45rem 1.4rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.9);
}

/* Feature cards */
.ds-feature .ds-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  background: radial-gradient(circle at 30% 0%, var(--ds-purple-soft), var(--ds-purple-dark));
}

.ds-feature h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.ds-feature p {
  font-size: 0.88rem;
  color: var(--ds-muted);
}

/* Stats */
.ds-section-stats {
  margin-top: 2.4rem;
}

.ds-stats-grid .ds-stat {
  text-align: left;
}

.ds-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ds-muted);
}

.ds-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.1rem;
  margin-bottom: 0.15rem;
}

.ds-stat-sub {
  font-size: 0.8rem;
  color: var(--ds-muted);
}

/* News & Discord */
.ds-news h2,
.ds-discord h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ds-news-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.ds-news-meta {
  font-size: 0.76rem;
  color: var(--ds-muted);
  margin-bottom: 0.4rem;
}

.ds-news-item p {
  font-size: 0.86rem;
  color: var(--ds-muted);
}

.ds-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: var(--ds-purple-soft);
  text-decoration: none;
  margin-top: 0.45rem;
}

.ds-link-arrow:hover {
  color: var(--ds-purple);
}

/* Discord */
.ds-discord p {
  font-size: 0.86rem;
  color: var(--ds-muted);
}

.ds-discord-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 1.2rem;
  font-size: 0.84rem;
  color: var(--ds-muted);
}

.ds-discord-list li + li {
  margin-top: 0.3rem;
}

/* ---------- FOOTER ---------- */

.ds-footer {
  margin-top: 3.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--ds-muted);
  font-size: 0.8rem;
}

.ds-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 0.8rem;
}

.ds-footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ds-footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(179, 71, 255, 0.7));
}

.ds-footer-title {
  font-weight: 600;
  margin: 0;
  color: var(--ds-text);
}

.ds-footer-sub {
  margin: 0;
  color: var(--ds-muted);
  font-size: 0.78rem;
}

.ds-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ds-footer-links a {
  color: var(--ds-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.ds-footer-links a:hover {
  color: var(--ds-purple-soft);
}

.ds-footer-bottom {
  margin: 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
  .ds-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .ds-hero-logo img {
    margin: 0 auto;
  }

  .ds-ip-card {
    align-items: center;
  }

  .ds-hero-actions {
    justify-content: center;
  }

  .ds-hero-text h1 {
    font-size: 2.1rem;
  }

  .ds-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ds-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ds-page {
    padding-top: 2.4rem;
  }

  .ds-hero {
    padding: 2rem 1.4rem;
  }
}
