﻿/* NexSpace page – extra styles */

/* Hero-Logo: schwebt wie bei NexCraft */
.space-hero-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.space-hero-logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  animation: space-logo-float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(125, 211, 252, 0.35));
}
@keyframes space-logo-float {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 20px 40px rgba(125, 211, 252, 0.35)); }
  50% { transform: translateY(-12px) scale(1.03); filter: drop-shadow(0 30px 50px rgba(56, 189, 248, 0.5)); }
}
@media (max-width: 900px) {
  .space-hero-logo {
    min-height: 140px;
  }
  .space-hero-logo img {
    max-width: 200px;
  }
}
.space-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
}
.space-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.25), transparent 55%), radial-gradient(circle at 100% 100%, rgba(125,211,252,0.18), transparent 55%), linear-gradient(145deg, #020617, #020617 35%, #020617 60%, #020617 100%);
  padding: 2.75rem 2.8rem 3.1rem;
  margin-bottom: 3rem;
  box-shadow: 0 28px 70px rgba(15,23,42,0.95);
}
@media (max-width: 800px) {
  .space-hero {
    padding: 2.2rem 1.8rem 2.6rem;
  }
}
.space-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .space-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.space-hero-title {
  font-size: clamp(2.4rem, 4.3vw, 3.3rem);
  line-height: 1.08;
}
.space-hero-title span.highlight {
  background: linear-gradient(120deg, #7DD3FC, #38BDF8, #E2E8F0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.space-hero-sub {
  margin-top: 1rem;
  max-width: 30rem;
  color: rgba(226,232,240,0.9);
}
.space-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.space-chip {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.space-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.3rem;
}
.space-cta {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid transparent;
}
.space-cta.primary {
  background: linear-gradient(120deg, #7DD3FC, #38BDF8, #E2E8F0);
  color: #0C4A6E;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(56,189,248,0.5);
}
.space-cta.secondary {
  border-color: rgba(148,163,184,0.6);
  color: #e5e7eb;
  background: rgba(15,23,42,0.9);
}
.space-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.95);
}
.space-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 2.2rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .space-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
.space-section-title {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.space-section-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.space-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}
@media (max-width: 700px) {
  .space-button-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.space-big-btn {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.space-big-btn span.label {
  font-size: 0.95rem;
  font-weight: 500;
}
.space-big-btn span.sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.space-big-btn:hover {
  border-color: rgba(125,211,252,0.9);
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.15), rgba(15,23,42,0.95));
}
.space-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.space-pill {
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
}
.space-cards-row {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
@media (max-width: 1000px) {
  .space-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .space-cards-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.space-card {
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 14px 40px rgba(15,23,42,0.9);
}
.space-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.space-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.space-card-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.space-card-actions a {
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.65);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  text-decoration: none;
}
.space-card-actions a:hover {
  border-color: rgba(125,211,252,0.9);
  background: radial-gradient(circle at 0 0, rgba(56,189,248,0.12), rgba(15,23,42,0.96));
}

/* Discord widget (discord.com/widget) */
.discord-widget-section {
  margin-bottom: 3rem;
  text-align: center;
}
.discord-widget-section .space-section-title {
  margin-bottom: 0.5rem;
}
.discord-widget-lead {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.discord-widget-frame {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
  background: rgba(15, 23, 42, 0.6);
}
.discord-widget-frame iframe {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 500px;
  margin: 0 auto;
  border: 0;
  vertical-align: bottom;
}
