/* ── Schriften ────────────────────────────────────────────────────────
   Lokal ausgeliefert aus fonts/ – keine Verbindung zu Google (DSGVO).
   Aufbau entspricht 1:1 dem Google-Fonts-CSS (Subsets latin + latin-ext),
   damit sich am Schriftbild nichts ändert. Cinzel und Lora sind Variable
   Fonts: alle Schnitte teilen sich dieselbe Datei.
   Lizenz: SIL Open Font License 1.1 – siehe fonts/LICENSE.txt
   ------------------------------------------------------------------- */

/* Cinzel 400 normal - latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cinzel 400 normal - latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cinzel 600 normal - latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cinzel 600 normal - latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cinzel 700 normal - latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cinzel-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cinzel 700 normal - latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora 400 italic - latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lora 400 italic - latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora 400 normal - latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lora 400 normal - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lora 600 normal - latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lora 600 normal - latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-dark:       #0d0a06;
  --bg-medium:     #1a1208;
  --bg-card:       #211808;
  --bg-card-hover: #2c2010;
  --bg-panel:      #17100a;
  --bg-darker:     #110d05;
  --border:        #4a3510;
  --border-gold:   #8b6914;
  --border-bright: #c8960c;
  --gold:          #f0c040;
  --gold-light:    #ffd878;
  --gold-dim:      #a07820;
  --accent-red:    #c0392b;
  --text:          #e8d5a8;
  --text-dim:      #8a7050;
  --text-bright:   #fff8e8;

  /* RGB-Kanäle der Gold-Töne für rgba() – identisch zu den Hex-Vars oben */
  --gold-rgb:          240, 192, 64;   /* --gold          #f0c040 */
  --border-bright-rgb: 200, 150, 12;   /* --border-bright #c8960c */
  --border-gold-rgb:   139, 105, 20;   /* --border-gold   #8b6914 */

  --shadow:        0 8px 24px rgba(0, 0, 0, 0.7);
  --radius:        10px;
  --radius-sm:     6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--border-gold) var(--bg-dark);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(100,60,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(80,40,0,0.10) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23362010' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 3px; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gold);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

/* ========== PARTICLES ========== */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  background: var(--gold-dim);
  border-radius: 50%;
  animation: floatUp linear infinite;
}
/* Versetzte Position/Dauer je Partikel – sonst fielen alle im Gleichtakt */
.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 3s; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; animation-duration: 24s; animation-delay: 4s; }
.particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: 7s; }

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ========== NAVBAR ========== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, var(--bg-darker), #1a1208);
  border-bottom: 2px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 1px 0 var(--gold-dim);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(var(--gold-rgb),0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a .ext-icon {
  display: inline-block;
  margin-left: 4px;
  vertical-align: -1px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-links a:hover .ext-icon {
  opacity: 1;
}

.nav-links a .warn-icon {
  display: inline-block;
  margin-right: 5px;
  vertical-align: -2px;
  color: var(--accent-red);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--gold-rgb),0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* ========== HERO ========== */
.hero {
  padding: 80px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--border-bright-rgb),0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  margin: 0 auto 1.2rem;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(var(--gold-rgb),0.3), 0 2px 4px rgba(0,0,0,0.8);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.server-info {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
}

.server-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.server-info-label {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.server-info-value {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
}

.server-ip-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  margin: -4px -8px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.2s;
}

.server-ip-copy:hover {
  background: var(--bg-card-hover);
}

.server-ip-copy .copy-icon {
  opacity: 0.55;
  transition: opacity 0.2s;
}

.server-ip-copy:hover .copy-icon {
  opacity: 1;
}

.server-ip-copy .copy-feedback {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--bg-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.server-ip-copy.copied .copy-feedback {
  opacity: 1;
}

.server-ip-copy.copied .copy-icon {
  opacity: 1;
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow), 0 0 0 1px rgba(var(--border-bright-rgb),0.15);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg-dark));
}

/* ========== SECTIONS ========== */
section {
  padding: 80px 2rem;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  border-radius: 3px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ========== FEATURE GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(var(--border-bright-rgb),0.2), 0 0 20px rgba(var(--border-bright-rgb),0.1);
}

.feature-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) sepia(0.3);
  transition: filter 0.3s;
}

.feature-card:hover .feature-card-img {
  filter: brightness(0.9) sepia(0.15);
}

.feature-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  align-items: center;
}

.feature-icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
}

.feature-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.feature-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}

.feature-tag,
.feature-card-body .cmd {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  margin-top: 1rem;
}

/* Gold-Chip – geteilte Optik von Feature-Tag und Command-Chip (.cmd) */
.feature-tag,
.cmd {
  color: var(--gold);
  background: rgba(var(--gold-rgb),0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(var(--border-gold-rgb),0.4);
}

.feature-tag {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ========== HOW IT WORKS ========== */
.how-bg {
  background: var(--bg-medium);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-dark);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(var(--border-bright-rgb),0.3);
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ========== FOOTER ========== */
footer {
  border-top: 2px solid var(--border-gold);
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(to top, var(--bg-darker), var(--bg-medium));
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

footer p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer a {
  color: var(--gold-dim);
}
footer a:hover {
  color: var(--gold);
}

/* ========== GET STARTED / RULES PAGE ========== */
.gs-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding: 3rem 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.gs-sidebar {
  position: sticky;
  top: 84px;
}

.gs-sidebar nav {
  background: transparent;
  border-bottom: none;
  position: static;
  padding: 0;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.gs-sidebar-title {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.gs-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.gs-nav-links a:hover,
.gs-nav-links a.active {
  color: var(--gold);
  background: var(--bg-card);
  border-left-color: var(--border-gold);
}

.gs-nav-links .icon {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

/* ========== GET STARTED CONTENT ========== */
.gs-content {
  min-width: 0;
}

.gs-section {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.gs-section:last-child {
  border-bottom: none;
}

.gs-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.gs-section-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gs-section h2 {
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(var(--border-bright-rgb),0.2);
}

.gs-section p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.gs-section img {
  width: 100%;
  margin: 0.5rem 0;
  display: block;
}

/* ========== COMMAND BLOCK ========== */
.cmd-block {
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.cmd-block-title {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.cmd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmd-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.875rem;
}

.cmd {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.cmd-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ========== INFO CARDS ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: center;
  margin-bottom: 7px;
}

.info-card:hover {
  border-color: var(--gold);
}

.info-card-icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
}

.info-card h4 {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.info-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0;
  margin-top: 0.5rem;
}

/* ========== TABLE ========== */
.gs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

.gs-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.gs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.gs-table tr:nth-child(even) td {
  background: rgba(255, 200, 50, 0.03);
}

.gs-table .badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green  { background: rgba(76,175,125,0.15);  color: #4caf7d; }
.badge-gold   { background: rgba(var(--gold-rgb),0.15);  color: var(--gold); }
.badge-red    { background: rgba(192,57,43,0.15);   color: #e05742; }
.badge-gray   { background: rgba(138,112,80,0.15);  color: var(--text-dim); }

/* ========== CALLOUT ========== */
.callout {
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.875rem;
}

.callout-info {
  background: rgba(var(--border-bright-rgb),0.07);
  border-left: 3px solid var(--border-gold);
}

.callout-warn {
  background: rgba(192,57,43,0.07);
  border-left: 3px solid var(--accent-red);
}

.callout p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.875rem;
}

.callout-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(to bottom, var(--bg-darker), var(--bg-medium));
  border-bottom: 2px solid var(--border-gold);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(var(--border-bright-rgb),0.3);
}

.page-header p {
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== BACK LINK ========== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }

/* ========== MINECRAFT ICONS ========== */
img.mc-icon                       { image-rendering: pixelated; display: inline-block; vertical-align: middle; }
.feature-icon img.mc-icon         { width: 40px; height: 40px; }
.gs-section-icon img.mc-icon      { width: 26px; height: 26px; }
.gs-nav-links .icon img.mc-icon   { width: 18px; height: 18px; }
.info-card-icon img.mc-icon       { width: 32px; height: 32px; }
.callout-icon img.mc-icon         { width: 20px; height: 20px; }

/* Mob-Renders (img/mobs/*.webp) – größer als die 32px-Item-Icons */
.mob-icon { width: 52px; height: 52px; object-fit: contain; }

/* Hunger-Keulen: inline im Fließtext.
   img im Selektor + margin/display zurücksetzen, sonst greift
   `.gs-section img` (volle Breite, Block, 0.5rem Abstand – für Screenshots gedacht). */
img.hunger-icon {
  height: 1em;
  width: auto;
  margin: 0;
  display: inline-block;
  vertical-align: -0.15em;
  image-rendering: pixelated;
}

/* … und als Leiste in der Nahrungs-Tabelle (via data-hunger, minecraft-basics.js) */
.hunger-bar {
  display: inline-flex;
  gap: 1px;
  white-space: nowrap;
}

.hunger-bar img {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

/* ========== VOTE PAGE ========== */
/* Ziel: Auf dem Desktop passt der gesamte Inhalt (Kopf + Kacheln + Belohnungen)
   ohne Scrollen in einen Viewport. Daher bewusst kompakte Abstände. */
.vote-page {
  padding: 2rem 2rem 2.5rem;
  position: relative;
  z-index: 1;
}

.vote-inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* --- Kompakter Kopf --- */
.vote-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.vote-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 24px rgba(var(--border-bright-rgb),0.3);
}

.vote-head p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.vote-head p strong { color: var(--gold); }

/* --- Vote-Kacheln: genau 3 pro Reihe --- */
.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vote-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-panel));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.vote-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--border-gold);
  transition: all 0.25s;
}

.vote-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.6), 0 0 20px rgba(var(--border-bright-rgb),0.12);
}

.vote-card:hover::before { background: var(--gold); box-shadow: 0 0 14px rgba(var(--gold-rgb),0.6); }

.vote-card-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  line-height: 1.3;
  word-break: break-word;
}

.vote-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: rgba(var(--gold-rgb),0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  transition: all 0.25s;
}

.vote-card:hover .vote-go {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}

.vote-arrow { transition: transform 0.25s; }
.vote-card:hover .vote-arrow { transform: translateX(3px); }

/* --- Belohnungen (eigene Sektion, kompakt gehalten) --- */
.vote-rewards-section {
  padding: 2.5rem 2rem 3rem;
}

.vote-rewards-section .section-header {
  margin-bottom: 1.75rem;
}

.vote-tier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}

.vote-tier-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
}

.vote-tier-lbl {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vote-tier-amt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}

img.mc-icon.coin { width: 18px; height: 18px; }

.vote-tier-card-max {
  background: rgba(var(--gold-rgb),0.1);
  border-color: var(--gold);
}

.vote-tier-card-max .vote-tier-amt { color: var(--gold-light); }

/* ========== RESPONSIVE ========== */
@media (max-width: 860px) {
  .vote-grid { grid-template-columns: repeat(2, 1fr); }
  .vote-tier-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
  .vote-grid { grid-template-columns: 1fr; }
  .vote-tier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== RESPONSIVE (global) ========== */
@media (max-width: 768px) {
  .gs-layout {
    grid-template-columns: 1fr;
  }

  .gs-sidebar {
    position: static;
  }

  .gs-nav-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .server-info {
    flex-direction: column;
    align-items: center;
  }

  .server-info-item {
    width: 100%;
    max-width: 280px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

/* ========== CRAFTING-SEITE (crafting.html) ========== */
.catalog {
  padding-bottom: 4rem;
}

.cat-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cat-header {
  margin: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .6rem;
}

.cat-header h2 {
  color: var(--gold);
  font-size: 1.5rem;
}

.cat-desc {
  color: var(--text-dim);
  margin-top: .4rem;
  font-size: .95rem;
}

.cat-desc a {
  color: var(--gold);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  scroll-margin-top: 80px; /* sticky Navbar (64px) nicht über den Anker legen */
}

.recipe-card:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim), var(--shadow);
}

.recipe-title {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.05rem;
  text-align: center;
}

.recipe-anchor {
  color: inherit;
  text-decoration: none;
}

.recipe-anchor:hover {
  text-decoration: underline;
}

.recipe-subtitle {
  font-size: .8rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  margin-top: -.5rem;
}

.recipe-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
}

.craft-grid {
  position: relative;
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  background: url('img/crafting/crafting_overlay.png') no-repeat center / 100% 100%;
  image-rendering: pixelated;
}

/* Slot-Mittelpunkte des Overlays liegen bei 20.8% / 50% / 79.2% (nicht den Dritteln) */
.craft-slot {
  position: absolute;
  transform: translate(-50%, -50%);
}

.craft-slot img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
  display: block;
}

.craft-arrow {
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.craft-result {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-sm);
}

.craft-result img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}

.mc-tooltip {
  display: none;
  position: fixed;
  z-index: 200;
  pointer-events: none;
  padding: 0.3rem 0.6rem;
  background: rgba(13, 10, 6, 0.96);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  color: var(--text-bright);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  white-space: nowrap;
}

.recipe-note {
  font-size: .85rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.recipe-note strong {
  color: var(--text);
}

.search-bar {
  max-width: 1100px;
  margin: 15px auto 0;
  padding: 0 1.5rem;
}

#recipe-search {
  width: 100%;
  box-sizing: border-box;
  padding: .7rem 1rem;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
}

#recipe-search::placeholder {
  color: var(--text-dim);
}

#recipe-search:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-dim);
}

.recipe-card.is-hidden,
.cat-section.is-hidden,
#no-results {
  display: none;
}

#no-results {
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
  padding: 2rem 1.5rem;
}

/* ========== INGAME-GUI-NACHBAU (Gebäude-Detailansicht) ========== */
.mcgui-figure {
  margin: 1.5rem 0;
}

/* Grauer Vanilla-Inventarrahmen. Breite richtet sich nach den 9 Slots. */
.mcgui {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 0 2.25rem;
  padding: 0.5rem;
  background: #c6c6c6;
  border: 3px solid;
  border-color: #ffffff #565656 #565656 #ffffff;
}

.mcgui-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #404040;
  margin-bottom: 0.45rem;
  letter-spacing: 0.5px;
}

.mcgui-grid {
  --slot: clamp(26px, 8vw, 42px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, var(--slot));
  gap: 2px;
}

.mcgui-slot {
  position: relative;
  width: var(--slot);
  height: var(--slot);
  background: #8b8b8b;
  border: 2px solid;
  border-color: #373737 #ffffff #ffffff #373737;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Höhere Spezifität als .gs-section img (setzt sonst width: 100%). */
.mcgui .mcgui-slot img {
  width: 78%;
  height: 78%;
  margin: 0;
  image-rendering: pixelated;
  display: block;
}

.mcgui-slot[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Lore-Kasten wie im Spiel – erscheint bei Hover/Fokus über dem Slot. */
.mcgui-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: max-content;
  max-width: 230px;
  padding: 0.4rem 0.6rem;
  background: rgba(13, 10, 6, 0.97);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-family: 'Lora', Georgia, serif;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
  text-align: left;
  white-space: normal;
  pointer-events: none;
}

.mcgui-slot:hover .mcgui-tip,
.mcgui-slot:focus-visible .mcgui-tip {
  display: block;
}

.mcgui-tip b {
  display: block;
  color: var(--text-bright);
  font-weight: 600;
}

/* Randspalten: Kasten nach innen ausrichten, damit er nicht abgeschnitten wird. */
.mcgui-tip-left  { left: 0;    right: auto; transform: none; }
.mcgui-tip-right { left: auto; right: 0;    transform: none; }

/* Ziffern-Marker links neben den Zeilen – Bezug zur Legende darunter. */
.mcgui-mark,
.mcgui-badge {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.mcgui-mark {
  position: absolute;
  left: -1.4rem;
  transform: translate(-50%, -50%);
}

.mcgui-mark-1 { top: calc(var(--slot) * 0.5); }
.mcgui-mark-2 { top: calc(var(--slot) * 1.5 + 2px); }
.mcgui-mark-3 { top: calc(var(--slot) * 2.5 + 4px); }

.mcgui-caption {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
}

.mcgui-legend {
  list-style: none;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mcgui-legend li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.mcgui-legend strong {
  color: var(--text);
}

@media (max-width: 620px) {
  .mcgui { margin-left: auto; }
  .mcgui-mark { display: none; }
}
