/* =============================================
   ROBLOXDEVSTUDIO – style.css
   ============================================= */

/* === VARIABLEN === */
:root {
  --bg:        #050d1f;
  --bg2:       #080f24;
  --bg3:       #0c1530;
  --card:      #0b1428;
  --border:    #1a2d54;
  --border2:   #243d72;
  --blue:      #4a90d9;
  --blue2:     #6aaef0;
  --blue-dim:  #2a5080;
  --accent:    #1a4a9e;
  --text:      #dce8f8;
  --text2:     #7a9abf;
  --text3:     #3d5a80;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Sterne-Hintergrund */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(100,160,230,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(100,160,230,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 20%, rgba(100,160,230,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 75%, rgba(100,160,230,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 40%, rgba(100,160,230,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 50%, rgba(100,160,230,0.5) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* === NAVIGATION === */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 31, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue2);
  letter-spacing: -0.5px;
}

.logo span { color: var(--text); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue2); }

.nav-cta {
  background: var(--accent);
  color: var(--blue2);
  border: 0.5px solid var(--border2);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: #1f5abf; }

/* === HERO === */
.hero {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,74,158,0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,74,158,0.2);
  border: 0.5px solid var(--border2);
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue2);
}

.hero > p {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat h3 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue2);
}

.hero-stat p {
  font-size: 13px;
  color: var(--text3);
}

/* === BUTTONS === */
.btn-primary {
  background: var(--accent);
  color: #c8dcf8;
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: #1f5abf; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 0.5px solid var(--border2);
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-outline:hover { background: rgba(26,74,158,0.15); }

/* === LAYOUT === */
.divider-line {
  height: 0.5px;
  background: var(--border);
}

.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg2);
  max-width: 100%;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-dim);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,74,158,0.2);
  border: 0.5px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue2);
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* === SHOP === */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.game-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.game-thumb {
  height: 110px;
  background: linear-gradient(135deg, #0c1a40 0%, #0f2050 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.game-body { padding: 1rem; }

.game-body h4 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.game-cat {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 10px;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue2);
}

.game-btn {
  background: rgba(26,74,158,0.2);
  border: 0.5px solid var(--border2);
  color: var(--blue);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.game-btn:hover { background: rgba(26,74,158,0.4); }

/* === BESTELLFORMULAR === */
.form-wrap {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 12px;
  color: var(--text2);
  font-weight: 500;
}

.form-field span {
  font-size: 11px;
  color: var(--text3);
}

.field-hint {
  font-size: 12px !important;
  color: #7a9abf !important;
  background: rgba(26,74,158,0.12);
  border: 0.5px solid var(--border2);
  border-radius: 7px;
  padding: 7px 10px;
  line-height: 1.5;
}

.field-hint a {
  color: var(--blue2);
  font-weight: 500;
  text-decoration: underline;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #070e20;
  border: 0.5px solid var(--border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-dim);
}

.form-field select option { background: #0c1530; }

.form-error {
  color: #e06060;
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 18px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #c8dcf8;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover { background: #1f5abf; transform: translateY(-1px); }
.form-submit:disabled { background: #0e2040; color: var(--text3); cursor: not-allowed; transform: none; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 1rem;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-msg h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  color: var(--blue2);
  margin-bottom: 8px;
}

.success-msg p { color: var(--text2); font-size: 14px; }

/* === DISCORD BAND === */
.discord-band {
  position: relative;
  z-index: 1;
  background: var(--bg3);
  border-top: 0.5px solid var(--border);
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.discord-band h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.discord-band p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 1.25rem;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.discord-btn:hover { background: #4752c4; }

/* === FOOTER === */
footer {
  position: relative;
  z-index: 1;
  background: #030a18;
  border-top: 0.5px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p { font-size: 12px; color: var(--text3); }

footer nav {
  position: static;
  background: none;
  border: none;
  padding: 0;
  height: auto;
  backdrop-filter: none;
}

footer nav a {
  font-size: 12px;
  color: var(--text3);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

footer nav a:hover { color: var(--blue); }

/* === ANIMATIONEN === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SPRACHUMSCHALTER === */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  background: #070e20;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover { background: rgba(26,74,158,0.2); color: var(--blue2); }

.lang-btn.active {
  background: var(--accent);
  color: var(--blue2);
}

/* === MOBILE === */
@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .section { padding: 3rem 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  footer { flex-direction: column; text-align: center; }
  footer nav a { margin: 0 0.75rem; }
}