:root {
  /* Dunkelblauer Hintergrund-Look */
  --te-bg: #050814;
  --te-bg-alt: #08101f;
  --te-bg-soft: #0c1626;
  --te-surface: #101a2a;
  --te-surface-soft: #152236;
  --te-border: #1f2a3e;
  --te-border-soft: #182337;

  /* Akzente – hellblau / dunkelblau */
  --te-accent: #4da3ff;        /* Haupt-Hellblau (Buttons, Highlights) */
  --te-accent-2: #86c5ff;      /* etwas helleres Blau für Verläufe/Details */
  --te-accent-muted: #2f5f9f;  /* dunkleres Blau für Rahmen/Chips */

  --te-text: #e4e9f4;
  --te-text-muted: #9aa5bf;
  --te-danger: #d95c5c;

  --te-radius-sm: 8px;
  --te-radius-lg: 14px;
  --te-radius-xl: 20px;
  --te-radius-pill: 999px;

  --te-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.55);
  --te-transition-fast: 0.16s ease-out;
  --te-transition-slow: 0.26s ease-out;
  --text: var(--te-text);
  --text-muted: var(--te-text-muted);
  --border: var(--te-border);
  --accent: var(--te-accent);
  --accent-strong: var(--te-accent-2);
  --radius-lg: var(--te-radius-lg);
  --shadow-soft: var(--te-shadow-soft);
}


/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0 0, #1a2433 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #111826 0, transparent 60%),
    var(--te-bg);
  color: var(--te-text);
  min-height: 100vh;
}

/* dezente Scrollbar */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #080b10;
}
body::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 6px;
}

/* Header-Layout mit zwei Zeilen */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #020617;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-top,
.header-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
}

.header-top {
  justify-content: space-between;
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.header-bottom {
  justify-content: flex-start;
}

/* Brand / Logo */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo {
  width: 32px;
  height: 32px;
}

.header-brand-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.header-brand-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Hauptnavigation (Zeile 1) */
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-main-link {
  position: relative;
  color: #9ca3af;
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav-main-link:hover {
  color: #e5e7eb;
}

.nav-main-link.is-active {
  color: #ffffff;
}

.nav-main-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
}

/* Dropdown bei "Server" */
.nav-main-item {
  position: relative;
}

.nav-main-item--dropdown:hover .nav-main-dropdown {
  display: block;
  padding-bottom: 0.8rem;  /* NEU: „unsichtbarer“ Bereich unter dem Link */

}

.nav-main-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.05rem;
  padding: 0.4rem 0.35rem;
  background: #020617;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
  min-width: 170px;
  display: none;
}

.nav-main-dropdown a {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  border-radius: 0.4rem;
}

.nav-main-dropdown a:hover {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

/* Discord-Button rechts */
.btn-discord {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #5865f2;
  background: linear-gradient(135deg, #5865f2, #3b82f6);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.45);
}

/* Unter-Navigation (Zeile 2) */
.nav-sub {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
}

.nav-sub-link {
  position: relative;           /* wichtig für ::after */
  color: #9ca3af;
  text-decoration: none;
  padding: 0.35rem 0;
  font-weight: 500;
}
/* NEU: Grundzustand des Unterstrichs (unsichtbar, auf 0 skaliert) */
.nav-sub-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  transform: scaleX(0);
  transform-origin: left;          /* oder 'center', wenn du von der Mitte aus willst */
  opacity: 0;
  transition:
    transform 420ms ease-out,
    opacity 420ms ease-out;
}
.nav-sub-link:hover {
  color: #e5e7eb;
}

.nav-sub-link.is-active {
  color: #ffffff;
}


.nav-sub-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* CTA-Variante für "Jetzt joinen" */
.nav-sub-link-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #38bdf8;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), transparent);
}


/* LAYOUT */
.te-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Grundabschnitte: kein eigener Block-Hintergrund mehr,
   nur Abstand – Hintergrund kommt vom <body> */
.te-section {
  position: relative;
  padding: 70px 0;
  background: transparent;
}

/* „Alt“-Sections: nur eine sehr dezente blaue Aufhellung oben,
   die nach unten ins Nichts ausläuft */
.te-section-alt {
  position: relative;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(77, 163, 255, 0.10) 0,
      transparent 65%
    );
}

/* dezente Farb-Linie oben bei jedem Abschnitt */
.te-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(180px, 60%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--te-accent), var(--te-accent-2));
  opacity: 0.55;
}

.te-section-head {
  text-align: center;
  margin-bottom: 34px;
}

.te-section-head h2 {
  font-size: 2.1rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.te-section-head p {
  margin: 0;
  color: var(--te-text-muted);
  font-size: 0.95rem;
}

/* HEADER & NAV */
.te-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.96),
    rgba(9, 12, 20, 0.9),
    rgba(9, 12, 20, 0.7)
  );
  border-bottom: 1px solid rgba(61, 71, 96, 0.75);
}

.te-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.te-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.te-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  background: #111522;
}


.te-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.te-logo-title {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.te-logo-subtitle {
  font-size: 0.78rem;
  color: var(--te-text-muted);
}

.te-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.te-nav-link {
  position: relative;
  font-size: 0.9rem;
  color: var(--te-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color var(--te-transition-fast);
}

.te-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--te-accent);
  transition: width var(--te-transition-fast);
}

.te-nav-link:hover {
  color: var(--te-text);
}

.te-nav-link:hover::after {
  width: 100%;
}

.te-nav-cta {
  padding: 6px 14px;
  border-radius: var(--te-radius-pill);
  border: 1px solid var(--te-accent-muted);
  background: #161c26;
  color: var(--te-text);
}

/* Mobile Toggle */
.te-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.te-nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7ff;
}

/* HERO */
.te-hero {
  position: relative;
  padding: 88px 0 60px;
  overflow: hidden;

  /* dunkler, blauer Grundverlauf, Bild kommt als extra Layer drüber */
  background:
    radial-gradient(circle at 0 0, rgba(77, 163, 255, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.5), transparent 55%),
    #050814;
}
.te-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.te-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 32px;
  align-items: flex-start;
}


.te-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--te-radius-pill);
  background: rgba(19, 24, 34, 0.92);
  border: 1px solid rgba(71, 83, 106, 0.8);
}

.te-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--te-accent);
}

.te-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.4rem, 4vw, 2.9rem);
  font-weight: 600;
}

.te-highlight {
  color: var(--te-accent);
}

.te-hero-subtitle {
  margin: 0 0 24px;
  color: var(--te-text-muted);
  max-width: 540px;
  font-size: 0.95rem;
}

.te-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

/* Buttons */
.te-btn {
  border-radius: var(--te-radius-pill);
  padding: 9px 18px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--te-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition:
    transform var(--te-transition-fast),
    box-shadow var(--te-transition-fast),
    background var(--te-transition-fast),
    border-color var(--te-transition-fast),
    color var(--te-transition-fast);
}

.te-btn-primary {
  background: var(--te-accent);
  color: #0f1115;
  border-color: var(--te-accent);
  box-shadow: var(--te-shadow-soft);
}
.te-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.te-btn-ghost {
  border-color: rgba(110, 124, 151, 0.9);
  background: rgba(20, 25, 36, 0.95);
}
.te-btn-ghost:hover {
  background: rgba(26, 32, 46, 1);
}

/* HERO META (IP / Spieler / Version) */
.te-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.te-meta-item {
  background: #171c26;
  border-radius: var(--te-radius-sm);
  border: 1px solid var(--te-border);
  padding: 10px 12px;
}

.te-meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--te-text-muted);
  margin-bottom: 4px;
}

.te-meta-value {
  font-size: 0.96rem;
  font-weight: 500;
}

.te-meta-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
/* IP-Karte: Button unter die IP, rechts */
.te-meta-item {
  position: relative;
}

/* Kopieren-Button aus der IP-Box „heraushängen“ lassen */
#copy-ip-btn {
  position: absolute;
  right: 12px;
  bottom: -14px;
  color: #ffffff; /* hier dazu */
}

/* optional: etwas mehr Luft nach unten, damit nichts gequetscht aussieht */
.te-hero-meta {
  margin-bottom: 18px;
}

.te-ip-text {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

/* CHIPS (Copy IP) */
.te-chip {
  border-radius: var(--te-radius-pill);
  border: 1px solid #373f51;
  font-size: 0.75rem;
  padding: 4px 9px;
  background: #191f2b;
  cursor: pointer;
  transition:
    background var(--te-transition-fast),
    border-color var(--te-transition-fast),
    transform var(--te-transition-fast),
    color var(--te-transition-fast);
}

.te-chip:hover {
  background: #222837;
  transform: translateY(-0.5px);
}

.te-chip-success {
  border-color: var(--te-accent);
  color: var(--te-accent);
}

/* HERO PANEL (Serverstatus rechts) */
.te-hero-panel {
  background: var(--te-surface-soft);
  border-radius: var(--te-radius-xl);
  border: 1px solid var(--te-border);
  padding: 18px 18px 14px;
  box-shadow: var(--te-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* Blockiger Rand wie Minecraft-Block */
.te-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--te-radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.5);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

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

.te-panel-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.te-status-dot {
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: var(--te-radius-pill);
  border: 1px solid transparent;
}
.te-status-online {
  background: #18241c;
  border-color: #335f42;
  color: #9ec9aa;
}

.te-panel-body {
  border-radius: var(--te-radius-sm);
  padding: 10px 12px;
  background: #141821;
  border: 1px solid #262b37;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.te-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.te-stat-row span:first-child {
  color: var(--te-text-muted);
}
.te-stat-row span:last-child {
  font-weight: 500;
}

.te-panel-footer {
  font-size: 0.82rem;
  color: var(--te-text-muted);
}

.te-highlight-inline {
  color: var(--te-accent-2);
}

/* CARD GRIDS (Features & Community) */
.te-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.te-card {
  background: var(--te-surface);
  border-radius: var(--te-radius-lg);
  border: 1px solid var(--te-border);
  padding: 18px 16px;
  box-shadow: var(--te-shadow-soft);
  position: relative;
  overflow: hidden;
}

/* farbiges „Block“-Band links */
.te-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(to bottom, var(--te-accent), var(--te-accent-2));
  opacity: 0.55;
}

.te-card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.te-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.te-card p {
  margin: 0 0 10px;
  color: var(--te-text-muted);
  font-size: 0.94rem;
}

/* Listen */
.te-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--te-text-muted);
}
.te-card-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}
.te-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.8rem;
  color: var(--te-accent);
}

/* Hover – dezent */
.te-hover-lift {
  transition:
    transform var(--te-transition-slow),
    box-shadow var(--te-transition-slow),
    border-color var(--te-transition-slow),
    background var(--te-transition-slow);
}
.te-hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.7);
  border-color: #353f52;
  background: #1c2330;
}

/* WORLD-Bereich */
.te-world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.te-world-card {
  padding: 18px 16px;
  border-radius: var(--te-radius-lg);
  background: var(--te-surface);
  border: 1px solid var(--te-border-soft);
  transition:
    border-color var(--te-transition-fast),
    background var(--te-transition-fast),
    transform var(--te-transition-fast);
  position: relative;
}

/* Blockige Top-Kante */
.te-world-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--te-accent-muted), var(--te-accent-2));
  opacity: 0.8;
}

.te-world-card h3 {
  margin: 8px 0 6px;
}
.te-world-card p {
  margin: 0 0 10px;
  color: var(--te-text-muted);
}

.te-world-card:hover {
  border-color: #3a4558;
  background: #1d2431;
  transform: translateY(-2px);
}

.te-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--te-radius-pill);
  background: #202733;
  border: 1px solid #3a4354;
}

/* AUCTIONS */
.te-auction-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: 24px;
}

/* linke Infobox */
.te-auction-info {
  background: var(--te-surface);
  border-radius: var(--te-radius-lg);
  border: 1px solid var(--te-border);
  padding: 18px 16px;
}

/* nummerierte Schritte */
.te-steps {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  counter-reset: te-step;
}
.te-steps li {
  counter-increment: te-step;
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.te-steps li::before {
  content: counter(te-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #202632;
  border: 1px solid #343b49;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--te-text-muted);
}

.te-muted {
  font-size: 0.85rem;
  color: var(--te-text-muted);
}

/* rechte Liste */
.te-auction-list {
  background: #181d27;
  border-radius: var(--te-radius-lg);
  border: 1px solid #313745;
  padding: 14px 12px;
}

.te-auction-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.te-auction-items {
  max-height: 260px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.te-auction-item {
  padding: 10px 10px;
  border-radius: 10px;
  background: #141821;
  border: 1px solid #2a303c;
  font-size: 0.88rem;
}

.te-auction-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-weight: 500;
}

.te-auction-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--te-text-muted);
}

.te-pill {
  border-radius: var(--te-radius-pill);
  padding: 2px 8px;
  font-size: 0.75rem;
  border: 1px solid #343b49;
  background: #202632;
}

.te-auction-placeholder {
  padding: 10px 8px;
  font-size: 0.88rem;
  color: var(--te-text-muted);
}

/* COMMUNITY */
.te-community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Linkstil */
.te-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--te-accent-2);
  text-decoration: none;
  margin-top: 4px;
}
.te-link:hover {
  text-decoration: underline;
}

/* JOIN */
.te-join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 22px;
}

.te-join-card {
  background: var(--te-surface);
  border-radius: var(--te-radius-lg);
  border: 1px solid var(--te-border);
  padding: 18px 16px;
}

/* FOOTER */
.te-footer {
  border-top: 1px solid #262b36;
  background: #0b0e15;
  padding: 14px 0;
  margin-top: 24px;
}

.te-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.te-footer-logo {
  font-weight: 600;
  font-size: 0.94rem;
}

.te-footer-text {
  display: block;
  font-size: 0.8rem;
  color: var(--te-text-muted);
}

.te-footer-links {
  display: flex;
  gap: 12px;
  font-size: 0.84rem;
}
.te-footer-links a {
  color: var(--te-text-muted);
  text-decoration: none;
}
.te-footer-links a:hover {
  color: var(--te-text);
}

/* Fade-In Animation (dezent) */
.te-fade {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease-out,
    transform 0.35s ease-out;
}
.te-fade.te-fade-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .te-nav {
    position: absolute;
    inset: 54px 12px auto 12px;
    background: #10141e;
    border-radius: var(--te-radius-lg);
    border: 1px solid #262b36;
    box-shadow: var(--te-shadow-soft);
    padding: 10px 12px;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity var(--te-transition-fast),
      transform var(--te-transition-fast);
  }

  .te-nav.te-nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .te-nav-toggle {
    display: flex;
  }

  .te-header-inner {
    padding-inline: 8px;
  }

  .te-section {
    padding: 56px 0;
  }

  .te-hero {
    padding-top: 80px;
  }

  .te-hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }
  .te-card-grid,
  .te-world-grid,
  .te-community-grid {
    grid-template-columns: minmax(0, 1fr); /* 1 Spalte = volle Breite */
  }
}

/* --- Extra-Spielereien (JS-Hooks) --- */

/* Aktiver Menüpunkt (Scrollspy) */
.te-nav-link.te-nav-link-active {
  color: var(--te-text);
  font-weight: 600;
}

.te-nav-link.te-nav-link-active::after {
  width: 100%;
}

/* Tilt-Ziel für JS */
.te-tilt-target {
  will-change: transform;
  transform-style: preserve-3d;
  transition:
    transform var(--te-transition-fast),
    box-shadow var(--te-transition-fast);
}

/* Test: sichtbarer Effekt nur mit Hover, ohne JS */
.te-tilt-target:hover {
  transform: translateY(-4px) scale(1.02) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
}

/* Hero-Spotlight (Mouse-Follow) */
.te-hero {
  position: relative;
  overflow: hidden;
}

.te-hero-spotlight {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.35) 0, transparent 60%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.25s ease-out;
  filter: blur(6px);
}

/* Scroll-Top-Button */
.te-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--te-border);
  background: rgba(7, 11, 22, 0.98);
  color: var(--te-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity var(--te-transition-fast),
    transform var(--te-transition-fast);
  z-index: 30;
}

.te-scroll-top-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.te-scroll-top:hover {
  transform: translateY(-1px);
}
/* Hero-Slideshow-Layer */
.te-hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease-out;
}

/* aktives Bild wird sichtbar + Reveal-Animation von der Ecke */
.te-hero-bg-image.te-hero-bg-active {
  opacity: 1;
  animation: te-hero-reveal 1.3s ease-out forwards;
}

/* Maske: wächst von oben links zur ganzen Fläche */
@keyframes te-hero-reveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }
  55% {
    clip-path: polygon(0 0, 70% 0, 0 70%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
/* =========================================
   Spielerbereich / server.html
   ========================================= */

.server-page {
  background: radial-gradient(circle at top, #0b1220 0, #020617 50%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.server-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.server-nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.server-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #38bdf8, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
}

.server-brand-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.server-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.server-nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.server-nav-link {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
}

.server-nav-link:hover {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

.server-nav-link-primary {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg,
  var(--accent-strong),
  rgba(56, 189, 248, 0.1));
  color: #ecfeff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

/* Page-Layout / Karten usw. */
.server-page .page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

.server-page .page-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.server-page .page-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.server-page .page-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 650;
}

.server-page .page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 640px;
}

.server-page .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: flex-start;
}

.server-page .card {
  background:
    radial-gradient(circle at top left,
    rgba(56, 189, 248, 0.04),
    transparent 55%),
    linear-gradient(to bottom right,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.97));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.server-page .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.server-page .card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.server-page .card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.server-page .chip {
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
}

.server-page .chip-success {
  border-color: rgba(74, 222, 128, 0.7);
  background: rgba(22, 163, 74, 0.25);
  color: #bbf7d0;
}

.server-page .chip-danger {
  border-color: rgba(248, 113, 113, 0.7);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

/* =========================================
   Spielerbereich – Detail-Layout
   ========================================= */

/* Status-Zeile (Server / Spieler / Version) */
.server-page .status-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.server-page .status-block {
  flex: 1;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: #0b1120;
  border: 1px solid rgba(30, 64, 175, 0.45);
}

.server-page .status-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.server-page .status-value {
  font-size: 0.95rem;
  font-weight: 500;
}

.server-page .status-value-muted {
  color: var(--text-muted);
}

/* IP-Zeile + Button */
.server-page .ip-row {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.server-page .ip-box {
  flex: 1;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  background: #020617;
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
  Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-page .btn {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #020617;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--te-transition-fast),
    transform var(--te-transition-fast),
    box-shadow var(--te-transition-fast);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
}

.server-page .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

/* Spieler-Liste */
.server-page .players-list {
  margin-top: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.85);
  background: #020617;
  overflow: hidden;
}

.server-page .player-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
}

.server-page .player-row + .player-row {
  border-top: 1px solid rgba(15, 23, 42, 0.85); /* dezente Linie */
}

.server-page .player-row--head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.9);
}

.server-page .player-row--empty .player-col {
  grid-column: 1 / -1;
  color: var(--text-muted);
}

.server-page .player-col-name {
  font-weight: 500;
}

.server-page .player-col-world {
  justify-self: flex-end;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .server-page .player-row {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  }
}


.server-page .status-small {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.server-page .error-text {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--te-danger);
}

/* Quicklinks rechts */
.server-page .links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.server-page .link-card {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: #020617;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition:
    background var(--te-transition-fast),
    border-color var(--te-transition-fast),
    transform var(--te-transition-fast);
}

.server-page .link-card:hover {
  background: #020617;
  border-color: rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

.server-page .link-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.server-page .link-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Auktionen-Liste */
.server-page .auction-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.server-page .auction-card {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #020617;
  border: 1px solid var(--border);
}

.server-page .auction-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.3rem;
}

.server-page .auction-title {
  font-size: 0.92rem;
  font-weight: 500;
}

.server-page .auction-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.server-page .auction-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.86rem;
}

/* Footer */
.server-page .footer {
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 0.7rem 1.4rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive-Anpassungen für den Spielerbereich */
@media (max-width: 768px) {
  .server-page .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .server-page .footer {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}


/* Kopieren-Button: Text immer weiß */
#copy-ip-btn,
#copy-ip-btn.te-chip-success {
  color: #ffffff;
}
.server-page .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.server-page .card-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.server-page .status-updated-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* ============================
   Modal für Auktionen
   ============================ */

.server-page .modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.server-page .modal.is-open {
  display: block;
}

.server-page .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(3px);
}

.server-page .modal-dialog {
  position: relative;
  max-width: 960px;
  margin: 3.5rem auto;
  background: #020617;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
  padding: 1.1rem 1.3rem 1rem;
}

.server-page .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.server-page .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.server-page .modal-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  transition:
    background var(--te-transition-fast),
    color var(--te-transition-fast);
}

.server-page .modal-close:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.server-page .modal-body {
  max-height: 420px;
  overflow: auto;
  margin-top: 0.4rem;
}

.server-page .modal-footer {
  margin-top: 0.7rem;
  display: flex;
  justify-content: flex-end;
}

/* Tabelle im Modal */

.server-page .auction-modal-table {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.server-page .auction-modal-row {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1fr)
    minmax(0, 0.7fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(0, 0.9fr);
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}

.server-page .auction-modal-row + .auction-modal-row {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.server-page .auction-modal-row--head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.95);
}

.server-page .auction-modal-col {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .server-page .auction-modal-row {
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1fr)
      minmax(0, 0.6fr)
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr);
  }
}

@media (max-width: 640px) {
  .server-page .modal-dialog {
    margin: 2.5rem 0.75rem;
  }
}
/* =========================================
   404 / Error-Seite
   ========================================= */

.server-page.error-page .error-main {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem 3rem;
}

.server-page .error-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.8rem 2rem 1.7rem;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.12),
    transparent 55%
  ),
  #020617;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
}

.server-page .error-code {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--te-accent);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.server-page .error-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.server-page .error-text {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.server-page .error-text code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
  Consolas, "Courier New", monospace;
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 64, 175, 0.4);
  font-size: 0.84rem;
}

.server-page .error-text-muted {
  font-size: 0.85rem;
  color: var(--te-text-muted);
  margin-bottom: 0.9rem;
}

.server-page .error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* leichte Anpassung für Buttons auf dunkler Error-Card */
.server-page .error-card .te-btn-ghost {
  border-radius: 999px;
}

@media (max-width: 640px) {
  .server-page.error-page .error-main {
    padding: 1.8rem 1.1rem 2.5rem;
  }

  .server-page .error-card {
    padding: 1.4rem 1.3rem 1.4rem;
  }

  .server-page .error-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
