/* ==========================================================================
   Fox-Server.de — Grundstyles
   ========================================================================== */

:root {
  --bg-0: #05070c;
  --bg-1: #0b0e17;
  --bg-2: #10131e;
  --bg-card: #131826;
  --bg-card-hover: #171d2e;
  --border: #232a3d;
  --border-light: #2c3450;

  --text-0: #f3f5fa;
  --text-1: #c7cce0;
  --text-2: #8a92ad;

  --orange: #ff6a1a;
  --orange-light: #ff8c42;
  --blue: #2f9bff;
  --purple: #a259ff;

  --success: #33c07e;
  --danger: #ff4d4f;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font-head: "Segoe UI", "Rajdhani", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(255, 106, 26, 0.10), transparent 60%),
    radial-gradient(ellipse 900px 600px at 100% 10%, rgba(47, 155, 255, 0.09), transparent 55%),
    radial-gradient(ellipse 700px 500px at 90% 90%, rgba(162, 89, 255, 0.08), transparent 55%),
    var(--bg-0);
}

a { color: var(--orange-light); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-0);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange));
}
.eyebrow::after { background: linear-gradient(90deg, var(--orange), transparent); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8a3d);
  color: #160900;
  box-shadow: 0 8px 24px rgba(255, 106, 26, 0.35);
}
.btn-primary:hover { color: #160900; box-shadow: 0 12px 30px rgba(255, 106, 26, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-0);
}
.btn-outline:hover { color: var(--orange-light); border-color: var(--orange); }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-0);
}
.brand-logo { width: 42px; height: 42px; flex: none; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text-0);
}
.brand-word span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a.active,
.nav-links a:hover { color: var(--orange-light); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  width: 42px;
  height: 38px;
  color: var(--text-0);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-badge-strip { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 10px; }
  .hero-fox { width: min(70%, 260px); }
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 14px 0 18px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub { font-size: 1.08rem; color: var(--text-1); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hero-badge-strip {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badge-strip .mini-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-2); font-weight: 600;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-fox {
  width: min(100%, 360px);
  filter: drop-shadow(0 20px 50px rgba(255, 106, 26, 0.25));
}

/* ---------------- Section shells ---------------- */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--text-2); }

.alt-bg { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02) 20%, rgba(255,255,255,0.02) 80%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------------- Sponsoring cards ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.hex-icon {
  width: 60px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.hex-orange { background: linear-gradient(160deg, rgba(255,106,26,0.22), rgba(255,106,26,0.06)); border: 1px solid rgba(255,106,26,0.4); color: var(--orange-light); }
.hex-blue   { background: linear-gradient(160deg, rgba(47,155,255,0.22), rgba(47,155,255,0.06)); border: 1px solid rgba(47,155,255,0.4); color: var(--blue); }
.hex-purple { background: linear-gradient(160deg, rgba(162,89,255,0.22), rgba(162,89,255,0.06)); border: 1px solid rgba(162,89,255,0.4); color: var(--purple); }

.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card .card-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 14px; display: block; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-1);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------------- Trust strip ---------------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  padding: 26px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-item .ico { font-size: 1.2rem; }

/* ---------------- Steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--orange);
  opacity: 0.6;
  margin-bottom: 10px;
}
.step h4 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--text-2); margin: 0; }

/* ---------------- Gameserver list ---------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-chip {
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-1);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover { color: var(--text-0); border-color: var(--orange); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--orange), #ff8a3d);
  color: #160900;
  border-color: transparent;
}

.grid-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .grid-games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-games { grid-template-columns: 1fr; } }

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--border-light); }
.game-banner {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,106,26,0.16), rgba(47,155,255,0.10));
  border-bottom: 1px solid var(--border);
}
.game-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-banner-icon { font-size: 2.4rem; }
.game-body { padding: 18px 20px 22px; }
.game-body h4 { margin-bottom: 4px; font-size: 1.05rem; }
.game-cat { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }
.game-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.spec-pill {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.note-box {
  margin-top: 44px;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: var(--text-2);
  font-size: 0.92rem;
}
.note-box strong { color: var(--text-0); }

/* ---------------- Forms ---------------- */
.form-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) { .form-shell { padding: 26px 20px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}
.field .hint { font-weight: 400; color: var(--text-2); font-size: 0.78rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-0);
  font-size: 0.94rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.15);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.86rem;
  color: var(--text-1);
  cursor: pointer;
  background: var(--bg-1);
}
.checkbox-pill input { accent-color: var(--orange); }
.checkbox-pill:has(input:checked) {
  border-color: var(--orange);
  color: var(--text-0);
  background: rgba(255, 106, 26, 0.1);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  margin: 22px 0;
}
.consent-row input { margin-top: 4px; accent-color: var(--orange); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-msg {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-bottom: 22px;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: rgba(51, 192, 126, 0.12); border: 1px solid rgba(51, 192, 126, 0.4); color: #7ee6b3; }
.form-msg.error { background: rgba(255, 77, 79, 0.12); border: 1px solid rgba(255, 77, 79, 0.4); color: #ff9a9b; }

/* ---------------- Legal pages ---------------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.legal h1 { font-size: 2rem; margin-bottom: 6px; }
.legal .updated { color: var(--text-2); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; margin-top: 40px; }
.legal h3 { font-size: 1.05rem; margin-top: 26px; color: var(--text-1); }
.legal p, .legal li { color: var(--text-1); font-size: 0.95rem; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal table td, .legal table th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 0.88rem; }
.legal .todo {
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.35);
  color: #ff9a9b;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin: 8px 0 20px;
}

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  color: var(--text-0);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-2); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--orange-light); }
.footer-brand p { color: var(--text-2); font-size: 0.88rem; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-2);
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--orange-light); }
