@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2-variations");
  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;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/outfit-latin.woff2") format("woff2-variations");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2-variations");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2-variations");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-italic.woff2") format("woff2-variations");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-italic.woff2") format("woff2-variations");
  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: #0b1020;
  --bg-elevated: #12192d;
  --bg-card: #171f36;
  --text: #e8edf7;
  --text-muted: #9aa6c0;
  --accent: #f0a14a;
  --accent-soft: rgba(240, 161, 74, 0.16);
  --discord: #5865f2;
  --border: rgba(232, 237, 247, 0.1);
  --shadow: 0 18px 40px rgba(4, 8, 18, 0.35);
  --radius: 18px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 80% -10%, rgba(240, 161, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(88, 101, 242, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1426 0%, var(--bg) 40%);
  z-index: -1;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap-wide {
  width: min(1280px, calc(100% - 32px));
}

.wrap-wide h1 {
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-muted);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--text);
}

.nav-discord {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--discord);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  gap: 28px;
}

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
}

.lead {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
}

button.btn {
  cursor: pointer;
  appearance: none;
  font-size: 1rem;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

button.btn-primary {
  border: 0;
  background: var(--accent);
  color: #1a1208;
}

.btn-primary {
  background: var(--accent);
  color: #1a1208;
}

.btn-discord {
  background: var(--discord);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn-ghost:hover {
  border-color: rgba(240, 161, 74, 0.45);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
}

.muted {
  color: var(--text-muted);
  margin: 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card,
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  min-height: 220px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 161, 74, 0.45);
}

.game-card {
  min-height: 0;
}

.game-card:hover {
  transform: none;
}

.game-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin: -4px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.35);
}

.game-logo--light {
  background: #f3ead8;
}

.game-logo img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.guide-card h3 {
  font-size: 1.35rem;
}

.guide-card p {
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.card-link {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

.badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
}

.badge-soon {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-live {
  background: rgba(88, 101, 242, 0.18);
  color: #c5ccff;
}

.panel {
  padding: 28px;
}

.community-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.discord-widget-wrap {
  width: 350px;
  max-width: 100%;
  height: 500px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #1e1f22;
}

.discord-widget-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.impressum-panel {
  max-width: 40rem;
}

.impressum-panel--wide {
  max-width: none;
  width: 100%;
  margin-inline: auto;
}

.impressum-panel h2 {
  font-size: 1.05rem;
  margin-top: 28px;
}

.impressum-panel h2:first-child {
  margin-top: 0;
}

.impressum-panel address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.impressum-panel p,
.impressum-panel li {
  color: var(--text-muted);
}

.impressum-panel ul {
  padding-left: 1.2rem;
}

.impressum-panel a {
  color: var(--accent);
}

.impressum-panel code {
  font-size: 0.92em;
  color: var(--text);
}

.impressum-panel .btn {
  cursor: pointer;
  margin: 4px 0 8px;
}

.impressum-panel .btn-ghost {
  background: transparent;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 16px 0 20px;
  background: rgba(18, 25, 45, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 32px rgba(4, 8, 18, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 6px;
}

.cookie-banner-text {
  margin: 0;
  color: var(--text-muted);
  max-width: 48rem;
}

.cookie-banner-text a {
  color: var(--accent);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  cursor: pointer;
}

.cookie-banner .btn-ghost {
  background: transparent;
}

@media (max-width: 900px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 6px;
}

.footer-copy,
.footer-links a {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.guide-article {
  padding: 56px 0 88px;
}

.guide-article h1 {
  max-width: 22ch;
}

.guide-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.markdown {
  max-width: 46rem;
}

.markdown h2 {
  margin-top: 36px;
}

.markdown p,
.markdown li {
  color: var(--text-muted);
}

.markdown a {
  color: var(--accent);
  text-decoration: underline;
}

.markdown ul,
.markdown ol {
  padding-left: 1.2rem;
}

.empty-state {
  padding: 72px 0;
}

.fang-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 20px;
}

.fang-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, auto) auto auto;
  gap: 16px;
  align-items: end;
}

.fang-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  color: var(--text-muted);
}

.fang-field > span {
  font-size: 0.82rem;
}

.fang-field input,
.fang-field select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.fang-field select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.2 1.3 6 6.1l4.8-4.8' fill='none' stroke='%239aa6c0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: transparent;
}

.fang-count {
  color: var(--text-muted);
}

.weather-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.weather-toggle {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}

.weather-toggle[aria-pressed="true"] {
  border-color: rgba(240, 161, 74, 0.55);
  background: var(--accent-soft);
  color: var(--accent);
}

.weather-toggle[hidden] {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.fang-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.fang-table th,
.fang-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.fang-table tbody tr:last-child td {
  border-bottom: 0;
}

.fang-table th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.fang-table th.sortable:hover,
.fang-table th[aria-sort="ascending"],
.fang-table th[aria-sort="descending"] {
  color: var(--accent);
}

.fang-table td {
  color: var(--text-muted);
}

.fang-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.fang-photo .photo-img {
  width: auto;
  height: 120px;
  max-width: 140px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: transparent;
}

.photo-img--pending {
  opacity: 0.45;
}

.photo-img--error {
  object-fit: contain;
  padding: 8px;
}

.error-box {
  color: #ffb4b4;
}

.guide-article h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
}

.daily-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 8px;
}

.daily-card {
  flex: 1;
  min-width: 220px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.daily-card span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.daily-card strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 650;
}

.fang-table.daily-table {
  min-width: 620px;
}

.daily-table .daily-copy {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.fang-table tr.daily-today td {
  color: var(--accent);
}

.fang-table tr.daily-today td:first-child {
  color: var(--accent);
}

@media (max-width: 900px) {
  .fang-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .guide-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  #spiele .guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .community-panel {
    grid-template-columns: 1fr;
  }

  .discord-widget-wrap {
    justify-self: start;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    background: rgba(11, 16, 32, 0.96);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 560px) {
  #spiele .guide-grid {
    grid-template-columns: 1fr;
  }
}

.success-box {
  color: #b8f0c8;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-toolbar h1 {
  margin: 0;
  max-width: none;
}

.admin-filters {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, auto);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-actions .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.btn-danger {
  border: 1px solid rgba(255, 140, 140, 0.45);
  color: #ffb4b4;
  background: transparent;
}

button.btn-danger {
  border: 1px solid rgba(255, 140, 140, 0.45);
  color: #ffb4b4;
  background: rgba(40, 16, 20, 0.85);
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 720px;
  color-scheme: dark;
}

.admin-form--login {
  max-width: 420px;
}

.admin-form .fang-field input[type="time"] {
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text);
}

.admin-form fieldset.fang-field {
  border: 0;
  margin: 0;
  padding: 0;
}

.admin-form legend {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 0;
  margin-bottom: 6px;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
}

.admin-check:has(input:checked) {
  border-color: rgba(240, 161, 74, 0.55);
  background: var(--accent-soft);
  color: var(--accent);
}

.admin-form .admin-check input {
  width: 1.1em;
  height: 1.1em;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  accent-color: var(--accent);
}

.admin-time-rows {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.admin-time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-upload {
  display: grid;
  gap: 12px;
}

.admin-photo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 24, 0.45);
}

.admin-photo-preview img {
  height: 120px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 10px;
}

.admin-upload-drop {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px dashed rgba(240, 161, 74, 0.4);
  background: rgba(8, 12, 24, 0.45);
  cursor: pointer;
}

.admin-upload-drop:hover,
.admin-upload-drop:focus,
.admin-upload-drop:focus-within,
.admin-upload-drop.is-dragover {
  border-color: rgba(240, 161, 74, 0.75);
  background: var(--accent-soft);
  outline: none;
}

.admin-upload-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
}

.admin-upload-hint {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.admin-errors {
  padding-left: 1.2rem;
}

.admin-typ-custom {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .admin-toolbar .cta-row {
    width: 100%;
  }
}

