/*
Theme Name: FettfingerPuro
Theme URI: https://twitch.tv/fettfingerpuro
Author: FettfingerPuro
Author URI: https://twitch.tv/fettfingerpuro
Description: Dunkles Horror-/Survival-Theme für den Twitch-Kanal FettfingerPuro. Bringt Streamplan, Spiele-Liste, Hardware-Setup und News als eigene Inhaltstypen mit, prüft den Live-Status serverseitig über die Twitch-API und ist auf Asgaros Forum abgestimmt.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fettfingerpuro
Tags: blog, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, full-width-template
*/

/* ═══════════════════════════════════════════════
   1. RESET & TOKENS
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #060606;
  --bg2: #0d0d0d;
  --bg3: #111111;
  --red: #c0392b;
  --red-bright: #e84040;
  --red-glow: #ff2d2d;
  --text: #d4d0c8;
  --text-muted: #7a7870;
  --text-dim: #3a3835;
  --border: #1e1e1e;
  --accent: #1a0000;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
}

img, video, iframe, embed, object { max-width: 100%; height: auto; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
}

/* ─── ACCESSIBILITY ─── */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--bg3);
  border: 1px solid var(--red);
  clip-path: none;
  color: var(--red-bright);
  display: block;
  font-size: 0.8rem;
  height: auto;
  left: 6px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 6px;
  width: auto;
  z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-prefix, .hero-title, .hero-subtitle, .hero-divider,
  .hero-tagline, .cta-group, .scroll-hint, .hero-photo { opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════
   2. NAV
   ═══════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1a0000;
  background: rgba(6,6,6,0.92);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  color: var(--red-bright);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nav-logo img { max-height: 34px; width: auto; display: block; }

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

.nav-links li { position: relative; }

.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
  display: block;
  padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--red-bright); }

/* Sub-menus */
.nav-links ul.sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 200px;
  background: rgba(6,6,6,0.98);
  border: 1px solid var(--border);
  padding: 0.6rem 0;
  list-style: none;
  display: none;
  z-index: 950;
}

.nav-links li:hover > ul.sub-menu,
.nav-links li:focus-within > ul.sub-menu { display: block; }

.nav-links ul.sub-menu a { padding: 0.5rem 1rem; }

/* Burger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 0.7rem;
  cursor: crosshair;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.1em;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.nav-toggle:hover { border-color: var(--red); color: var(--red-bright); }

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { top: 0; transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════
   3. HERO
   ═══════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, #1a0000 0%, transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 100%, #0d0000 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.hero-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero-prefix {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.3em;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
  position: relative;
}

.hero-title .name-red {
  color: var(--red-bright);
  display: inline-block;
  animation: glitch 6s 2s infinite;
  position: relative;
}

@keyframes glitch {
  0%, 90%, 100% { transform: none; filter: none; }
  91% { transform: translate(-3px, 0) skewX(-2deg); filter: hue-rotate(30deg); }
  92% { transform: translate(3px, 0) skewX(2deg); color: #ff6b6b; }
  93% { transform: translate(-2px, 1px); filter: none; }
  94%, 89% { transform: none; }
  95% { transform: translate(4px, -1px); color: var(--red-bright); }
  96% { transform: none; }
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
  position: relative;
}

.hero-divider::before, .hero-divider::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  background: var(--red-bright);
  transform: rotate(45deg);
}
.hero-divider::before { left: 0; }
.hero-divider::after { right: 0; }

.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.3s ease forwards;
}

.reveal .cta-group,
.cta-group.reveal { animation: none; }

.btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  text-decoration: none;
  border: 1px solid;
  transition: all 0.25s;
  display: inline-block;
  cursor: crosshair;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-bright);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  background: transparent;
  border-color: #2a2a2a;
  color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red-bright);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.8s ease forwards;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ═══════════════════════════════════════════════
   4. SECTIONS
   ═══════════════════════════════════════════════ */

.ffp-section { padding: 6rem 2rem; }

.container { max-width: 1000px; margin: 0 auto; }
.container-wide { max-width: 1180px; margin: 0 auto; }

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

.section-tag {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #1e1e1e, transparent);
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title-spaced { margin-bottom: 2.5rem; }

.ffp-empty {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px dashed var(--border);
  padding: 2rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   5. ABOUT
   ═══════════════════════════════════════════════ */

#about { background: var(--bg); border-top: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-badge {
  background: var(--accent);
  border: 1px solid #2a0000;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.about-badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #1a0000;
  pointer-events: none;
}

.hero-photo {
  width: 224px;
  height: 224px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  margin: 30px auto 1.5rem;
  border: none;
  filter: contrast(1.05) brightness(1.0);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroPhotoFade 1s 0.2s ease forwards;
}

@keyframes heroPhotoFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.about-avatar-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem;
  color: var(--red-bright);
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
  animation: pulse-red 3s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% { text-shadow: 0 0 20px rgba(200,57,43,0.3); }
  50% { text-shadow: 0 0 40px rgba(200,57,43,0.7), 0 0 80px rgba(200,57,43,0.2); }
}

.about-platform {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 1rem;
}

.linux-badge {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid #1a1a1a;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #4a7;
  text-transform: uppercase;
}

.about-text p {
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-highlight {
  border-left: 2px solid var(--red);
  padding-left: 1.2rem;
  color: var(--text-muted) !important;
  font-size: 0.88rem !important;
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   6. SCHEDULE
   ═══════════════════════════════════════════════ */

#schedule { background: var(--bg2); border-top: 1px solid var(--border); }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.schedule-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.schedule-card:hover { border-color: #2a0000; transform: translateY(-4px); }
.schedule-card:hover::before { transform: scaleX(1); }

.schedule-card .day {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.schedule-card .time {
  font-size: 2rem;
  color: var(--red-bright);
  font-weight: 400;
  letter-spacing: 0.05em;
  display: block;
  margin: 0.8rem 0;
  font-family: 'Cinzel Decorative', serif;
}

.schedule-card .uhr {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: #e84040;
  text-transform: uppercase;
  margin-top: 1.2rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e84040;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ═══════════════════════════════════════════════
   7. GAMES
   ═══════════════════════════════════════════════ */

#games { background: var(--bg); border-top: 1px solid var(--border); }

.games-status-block { margin-bottom: 3.5rem; }
.games-status-block:last-child { margin-bottom: 0; }

.games-status-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.games-status-label {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.games-status-label.is-now { color: var(--red-bright); }

.games-status-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #1e1e1e, transparent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.game-card:hover { border-color: #2a0000; transform: translateY(-4px); }

.game-card.is-now { border-color: #2a0000; }

.game-card.is-now::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.game-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--accent);
  position: relative;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.55) contrast(1.05);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.game-card:hover .game-thumb img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.04);
}

.game-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: #2a0000;
}

.game-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }

.game-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.game-title a { color: inherit; text-decoration: none; }
.game-title a:hover { color: var(--red-bright); }

.game-meta {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 0.8rem;
}

.game-badge {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid #1a1a1a;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.game-badge.is-now { border-color: #3a0000; color: var(--red-bright); }

/* ═══════════════════════════════════════════════
   8. HARDWARE
   ═══════════════════════════════════════════════ */

#hardware { background: var(--bg2); border-top: 1px solid var(--border); }

.hw-group { margin-bottom: 3rem; }
.hw-group:last-child { margin-bottom: 0; }

.hw-group-title {
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.hw-list { list-style: none; }

.hw-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #131313;
  transition: border-color 0.25s;
}

.hw-item:hover { border-bottom-color: #2a0000; }
.hw-item:last-child { border-bottom: none; }

.hw-name {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hw-value {
  font-size: 0.9rem;
  color: var(--text);
  text-align: right;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   9. NEWS
   ═══════════════════════════════════════════════ */

#news { background: var(--bg); border-top: 1px solid var(--border); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.news-card:hover { border-color: #2a0000; transform: translateY(-4px); }
.news-card:hover::before { transform: scaleX(1); }

.news-date {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.news-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--red-bright); }

.news-excerpt {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.news-more {
  margin-top: auto;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

.news-more:hover { color: var(--red-bright); }

.news-all { text-align: center; margin-top: 3rem; }

/* ═══════════════════════════════════════════════
   10. COMMUNITY
   ═══════════════════════════════════════════════ */

#community {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.community-inner {
  max-width: 600px;
  margin: 0 auto;
}

.community-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s;
}

.community-icon:hover { filter: grayscale(0) brightness(1); }

.community-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.community-desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

/* ═══════════════════════════════════════════════
   11. FOOTER
   ═══════════════════════════════════════════════ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  color: var(--red);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--red); }

/* ═══════════════════════════════════════════════
   12. ANIMATIONS
   ═══════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* JS disabled fallback */
.no-js .reveal { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   13. TWITCH BUTTON / LIVE INDICATOR
   ═══════════════════════════════════════════════ */

.twitch-color { background: #6441a5; border-color: #6441a5; }
.twitch-color:hover { background: #7b54c4; border-color: #7b54c4; }
.twitch-color::before { background: #7b54c4; }
.discord-color { background: #5865F2; border-color: #5865F2; }
.discord-color::before { background: #6f7bf7; }

.live-indicator-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.live-indicator-wrap.visible { display: flex; }

.live-dot-ring {
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-dot-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--red-bright);
  animation: liveRingPulse 2.4s ease-in-out infinite;
}

.live-dot-ring::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(232,64,64,0.25);
  animation: liveRingPulse 2.4s ease-in-out infinite 0.6s;
}

.live-dot-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px var(--red-bright), 0 0 24px rgba(232,64,64,0.5);
  animation: liveDotBlink 2.4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.live-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.45em;
  color: var(--red-bright);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(232,64,64,0.6);
}

.live-game {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 380px;
}

@keyframes liveRingPulse {
  0%,100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 0.15; transform: scale(1.15); }
}

@keyframes liveDotBlink {
  0%,100% { opacity: 1; box-shadow: 0 0 12px var(--red-bright), 0 0 28px rgba(232,64,64,0.5); }
  50%      { opacity: 0.6; box-shadow: 0 0 6px var(--red-bright), 0 0 14px rgba(232,64,64,0.25); }
}

/* ═══════════════════════════════════════════════
   14. INNER PAGES / POSTS
   ═══════════════════════════════════════════════ */

.page-shell { padding: 9rem 2rem 5rem; min-height: 70vh; }

.page-head { margin-bottom: 3.5rem; }

.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.page-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.entry-meta {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.entry-meta a { color: var(--text-muted); text-decoration: none; }
.entry-meta a:hover { color: var(--red-bright); }

.entry-thumb { margin-bottom: 2.5rem; border: 1px solid var(--border); }
.entry-thumb img { width: 100%; display: block; }

.entry-content {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}

.entry-content > * { margin-bottom: 1.4rem; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Cinzel', serif;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-top: 2.6rem;
  margin-bottom: 1rem;
}

.entry-content h1 { font-size: 1.9rem; }
.entry-content h2 { font-size: 1.55rem; }
.entry-content h3 { font-size: 1.25rem; }
.entry-content h4 { font-size: 1.05rem; }
.entry-content h5,
.entry-content h6 { font-size: 0.92rem; }

.entry-content a { color: var(--red-bright); text-decoration: none; border-bottom: 1px solid #3a0000; }
.entry-content a:hover { border-bottom-color: var(--red-bright); }

.entry-content ul,
.entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: 0.5rem; }

.entry-content blockquote {
  border-left: 2px solid var(--red);
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-style: italic;
}

.entry-content code,
.entry-content kbd {
  font-family: 'Share Tech Mono', monospace;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 0.1rem 0.4rem;
  font-size: 0.88em;
  color: var(--red-bright);
}

.entry-content pre {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1.2rem;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.7;
}

.entry-content pre code { background: none; border: none; padding: 0; color: var(--text); }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  text-align: left;
}

.entry-content th { color: #fff; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; }

.entry-content hr { border: none; border-top: 1px solid var(--border); }

.entry-content img { display: block; }

/* WP core alignment / caption classes */
.alignleft  { float: left; margin: 0.4rem 1.6rem 1.2rem 0; }
.alignright { float: right; margin: 0.4rem 0 1.2rem 1.6rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption,
figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.6rem;
}
.sticky .news-title::before { content: '★ '; color: var(--red); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.gallery-item { margin: 0 !important; }
.bypostauthor > .comment-body { border-left: 2px solid var(--red); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.post-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  max-width: 45%;
}

.post-nav a:hover { color: var(--red-bright); }

.ffp-pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.ffp-pagination ul.page-numbers {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ffp-pagination .page-numbers {
  border: 1px solid var(--border);
  padding: 0.55rem 0.95rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.ffp-pagination .page-numbers:hover { border-color: var(--red); color: var(--red-bright); }
.ffp-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

/* ═══════════════════════════════════════════════
   15. FORMS / COMMENTS / SEARCH
   ═══════════════════════════════════════════════ */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus { border-color: var(--red); }

input[type="submit"],
button[type="submit"],
.submit input {
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  width: auto;
  cursor: crosshair;
  transition: background 0.25s, border-color 0.25s;
}

input[type="submit"]:hover,
button[type="submit"]:hover { background: var(--red-bright); border-color: var(--red-bright); }

.ffp-searchform { display: flex; gap: 0.6rem; max-width: 460px; }

.comments-area {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2rem;
}

.comment-list { list-style: none; }
.comment-list ol.children { list-style: none; padding-left: 1.6rem; }

.comment-body {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}

.comment-meta { margin-bottom: 0.8rem; }

.comment-author {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 0.6rem; filter: grayscale(0.6); }

.comment-metadata { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--text-dim); margin-top: 0.4rem; }
.comment-metadata a { color: var(--text-dim); text-decoration: none; }

.comment-content { font-size: 0.9rem; line-height: 1.8; }
.comment-content p { margin-bottom: 0.9rem; }

.reply a {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}

.comment-form p { margin-bottom: 1.1rem; }

.comment-form label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 0.6rem; }
.comment-form .comment-form-cookies-consent input { width: auto; }
.comment-form .comment-form-cookies-consent label { margin-bottom: 0; }

.comment-notes,
.logged-in-as,
.form-allowed-tags { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 1.2rem; }
/* ═══════════════════════════════════════════════
   16. ASGAROS FORUM
   Selektoren aus dem Plugin-Quelltext von
   Asgaros Forum 3.3, nicht geraten.
   Alles auf #af-wrapper begrenzt.

   Geprüfte Kontraste:
     Text  #d4d0c8 auf #0d0d0d   12,6:1
     Meta  #a5a199 auf #0d0d0d    7,6:1
     Link  #ff5c5c auf #0d0d0d    6,4:1
     Weiß  auf #c0392b            5,4:1
   ═══════════════════════════════════════════════ */

/* ─── Basis ─── */
#af-wrapper {
  line-height: 1.75;
  letter-spacing: 0.01em;
}

#af-wrapper a:hover { color: #ff8f8f; }

#af-wrapper ::selection { background: var(--red); color: #fff; }

#af-wrapper a:focus-visible,
#af-wrapper button:focus-visible,
#af-wrapper input:focus-visible,
#af-wrapper select:focus-visible,
#af-wrapper textarea:focus-visible {
  outline: 2px solid #ff5c5c;
  outline-offset: 2px;
}

/* ─── Überschriften ─── */
#af-wrapper .title-element,
#af-wrapper h1,
#af-wrapper h2,
#af-wrapper h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.03em;
  color: #fff;
}

/* ─── Beitragstext ─── */
#af-wrapper .post-message { color: var(--text); }

/* ─── Formularfelder ─── */
#af-wrapper input[type="text"],
#af-wrapper input[type="email"],
#af-wrapper input[type="password"],
#af-wrapper input[type="search"],
#af-wrapper input[type="url"],
#af-wrapper input[type="number"],
#af-wrapper select,
#af-wrapper textarea {
  background: var(--bg3) !important;
  color: var(--text) !important;
  border: 1px solid #2a2a2a !important;
}

#af-wrapper input:focus,
#af-wrapper select:focus,
#af-wrapper textarea:focus { border-color: var(--red) !important; }

#af-wrapper ::placeholder { color: #6f6c66; opacity: 1; }

/* Asgaros erzwingt weiße Kästchen – hier überschrieben. */
#af-wrapper input[type="checkbox"],
#af-wrapper input[type="radio"] {
  background-color: var(--bg3) !important;
  border: 1px solid #2a2a2a !important;
  accent-color: var(--red);
}

/* ─── Buttons ───
   .button-normal folgt sonst der Foren-Farbe und wird fast
   schwarz; .button-red ist im Plugin auf #ff5454 verdrahtet
   (Weiß darauf nur 3,2:1) und schreit lauter als die
   eigentliche Hauptaktion. Beides wird hier korrigiert. */
#af-wrapper .button {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78em;
  border: 1px solid transparent;
}

#af-wrapper .button-normal,
#af-wrapper .button-primary,
#af-wrapper input[type="submit"] {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}

#af-wrapper .button-normal:hover,
#af-wrapper .button-primary:hover,
#af-wrapper input[type="submit"]:hover {
  background: var(--red-bright) !important;
  border-color: var(--red-bright) !important;
}

/* Abbrechen und andere Nebenaktionen als ruhiger Umriss. */
#af-wrapper .button-red,
#af-wrapper .button-cancel,
#af-wrapper .button-secondary,
#af-wrapper .button-neutral,
#af-wrapper .cancel {
  background: transparent !important;
  border-color: #2a2a2a !important;
  color: var(--text) !important;
}

#af-wrapper .button-red:hover,
#af-wrapper .button-cancel:hover,
#af-wrapper .button-secondary:hover,
#af-wrapper .button-neutral:hover,
#af-wrapper .cancel:hover {
  border-color: var(--red) !important;
  color: var(--red-bright) !important;
}

#af-wrapper .button-green {
  background: #2f6b3f !important;
  border-color: #2f6b3f !important;
  color: #fff !important;
}

/* ─── Editor-Flächen ─── */
#af-wrapper .wp-editor-container,
#af-wrapper .mce-panel,
#af-wrapper .mce-toolbar-grp,
#af-wrapper .mce-statusbar,
#af-wrapper .quicktags-toolbar {
  background: var(--bg3) !important;
  border-color: #2a2a2a !important;
}

#af-wrapper .mce-toolbar .mce-btn-group { border-color: #2a2a2a !important; }

#af-wrapper .mce-menu,
#af-wrapper .mce-menu-item {
  background: var(--bg3) !important;
  color: var(--text) !important;
}

#af-wrapper .mce-menu-item:hover { background: #1e1e1e !important; }

/* ─── Werkzeugleisten-Icons ───
   Nimmt die TinyMCE-Buttons aus der Button-Regel wieder
   heraus – über höhere Spezifität, nicht über Reihenfolge. */
#af-wrapper .mce-btn,
#af-wrapper .mce-btn button,
#af-wrapper .mce-toolbar button,
#af-wrapper .mce-menubtn button,
#af-wrapper .quicktags-toolbar input[type="button"] {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
}

#af-wrapper .mce-ico,
#af-wrapper .mce-btn i { color: var(--text) !important; }

#af-wrapper .mce-btn:hover { background: #1e1e1e !important; }
#af-wrapper .mce-btn:hover .mce-ico { color: #ff8f8f !important; }

#af-wrapper .mce-btn.mce-active,
#af-wrapper .mce-btn:active { background: #2a0000 !important; }
#af-wrapper .mce-btn.mce-active .mce-ico { color: #ff5c5c !important; }

#af-wrapper .mce-btn.mce-disabled .mce-ico { color: #6b6761 !important; }

#af-wrapper .mce-caret { border-top-color: var(--text) !important; }

/* ─── Zitate ─── */
#af-wrapper blockquote {
  background: var(--bg3) !important;
  border: 1px solid #2a2a2a !important;
  border-left: 2px solid var(--red) !important;
  color: #bdb9b1 !important;
  padding: 0.9rem 1.1rem;
}

#af-wrapper .quotetitle { color: var(--red-bright); }

/* ─── Spoiler ─── */
#af-wrapper .spoiler,
#af-wrapper .spoiler-head,
#af-wrapper .spoiler-body {
  background: var(--bg3) !important;
  border-color: #2a2a2a !important;
  color: var(--text) !important;
}

#af-wrapper .spoiler-head { color: var(--red-bright) !important; cursor: crosshair; }

/* ─── Code ─── */
#af-wrapper pre,
#af-wrapper code {
  background: var(--bg2) !important;
  border: 1px solid #2a2a2a !important;
  color: #ff8f8f !important;
}

#af-wrapper pre { padding: 1rem; overflow-x: auto; }

/* ─── Meldungen ─── */
#af-wrapper .notice,
#af-wrapper .notices-panel,
#af-wrapper .error,
#af-wrapper .error-panel {
  background: var(--bg3) !important;
  border: 1px solid #2a2a2a !important;
  border-left: 2px solid var(--red) !important;
  color: var(--text) !important;
}

/* ─── Avatare ─── */
#af-wrapper img.avatar {
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  filter: grayscale(0.6);
}

#af-wrapper img.avatar:hover { filter: grayscale(0); }

/* ─── Fußnavigation ─── */
#af-wrapper #bottom-navigation { color: var(--text-muted) !important; }
#af-wrapper #bottom-navigation a { color: #ff5c5c !important; }

/* ─── Tabellen ─── */
#af-wrapper table th,
#af-wrapper table td { border-color: #2a2a2a !important; }

#af-wrapper hr { border: none; border-top: 1px solid #2a2a2a; }


/* ═══════════════════════════════════════════════
   17. RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .site-nav { padding: 1rem 1.5rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6,6,6,0.985);
    border-bottom: 1px solid #1a0000;
    padding: 0.5rem 1.5rem 1.2rem;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    padding: 0.85rem 0;
    border-bottom: 1px solid #121212;
    font-size: 0.78rem;
  }

  .nav-links ul.sub-menu {
    position: static;
    display: block;
    border: none;
    padding: 0 0 0 1rem;
    background: transparent;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .ffp-section { padding: 4.5rem 1.5rem; }
  .page-shell { padding: 7.5rem 1.5rem 4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .schedule-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 2.5rem; }
  .hw-item { flex-direction: column; gap: 0.35rem; align-items: flex-start; }
  .hw-value { text-align: left; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .alignleft, .alignright { float: none; margin: 1.2rem auto; }
  .post-nav a { max-width: 100%; }
}

@media (max-width: 700px) {
  #af-wrapper { font-size: 15px; line-height: 1.8; }
}
