/* Dizajnový systém inšpirovaný wowforever.sk */
:root {
  --ink: #070b0f;
  --night: #081620;
  --panel: #07141df0;
  --line: #3d4d55;
  --line-gold: #8b672d;
  --gold: #e7bd68;
  --gold-bright: #ffd98e;
  --blue: #69b6ee;
  --green: #6ad38c;
  --text: #f0eee8;
  --muted: #b0bac0;
  --radius: 7px;
  --shadow: 0 16px 45px #00000061;
}

* {
  box-sizing: border-box;
}

::selection {
  color: #fff;
  background: #206f9ec7;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, #20455b40, transparent 38rem),
    linear-gradient(#07131c, #050b10 72%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

/* Jemná kamenná textúra na pozadí ako na wowforever.sk */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(#ffffff18 1px, transparent 1px),
    radial-gradient(#00000040 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

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

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

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

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p {
  margin-top: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--gold-bright);
  background: #0a1f2c;
  border: 1px solid #2b414d;
  border-radius: 4px;
  padding: 1px 6px;
}

.container {
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: #1c1205;
  font-weight: 700;
  border-radius: var(--radius);
}

/* Horná lišta */
.top-notice {
  color: #2b1b08;
  background: var(--gold);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 750;
}

/* Hlavička */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-gold);
  background: #040e16f2;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
}

.brand-crest {
  flex: none;
  filter: drop-shadow(0 0 8px #45bbe833) drop-shadow(0 2px 5px #000000b3);
  transition: transform 0.2s ease;
}

.brand:hover .brand-crest {
  transform: scale(1.05);
}

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

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav > a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  padding: 6px 2px;
  transition: color 0.18s;
}

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

.nav-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px !important;
  border-radius: var(--radius);
  background: #5865f226;
  border: 1px solid #5865f288;
  color: #dfe4ff !important;
}

.nav-discord-btn:hover {
  background: #5865f245;
  border-color: #7984ff;
  color: #fff !important;
}

.ui-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: #0b1d28;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-bright);
}

/* Hero sekcia */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(90deg, #122737 0 50%, #2d1715 50% 100%);
  padding: 64px 0 54px;
}

.hero-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: -3;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.78) saturate(0.95);
}

.hero-half--left {
  left: 0;
  background-image: url("assets/duskwood-portal.jpg");
  background-position: center center;
}

.hero-half--right {
  left: 50%;
  background-image: url("assets/duskwood-cemetery.jpg");
  background-position: 55% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #02090e38, #02090ed4 38% 62%, #02090e38),
    linear-gradient(#02080d22 25%, #02080dc7);
}

.hero-inner {
  text-align: center;
  max-width: 840px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge--gold {
  color: var(--gold-bright);
  background: #8b672d2b;
  border-color: #8b672d99;
}

.badge--blue {
  color: #a9dbff;
  background: #206f9e2b;
  border-color: #69b6ee66;
}

.badge--green {
  color: #a7f0be;
  background: #1d5e3738;
  border-color: #6ad38c66;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--gold-bright);
  text-shadow: 0 4px 24px #000000b3;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 17px;
  color: #e4e8ea;
  max-width: 650px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s, filter 0.18s, box-shadow 0.18s, border-color 0.18s, background-color 0.18s;
  user-select: none;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 20px #00000066;
}

.button--gold {
  color: #211504;
  background: linear-gradient(180deg, #ffe2a3, #d7a64d);
  border-color: #ffd98e;
}

.button--gold:hover {
  color: #211504;
}

.button--ghost {
  color: var(--text);
  background: #0a1b26d9;
  border-color: var(--line-gold);
}

.button--ghost:hover {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.button-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  background: #8b672d44;
  color: var(--gold-bright);
}

.button--discord {
  color: #ffffff;
  background: linear-gradient(180deg, #6b76ff, #4e5ad9);
  border-color: #8c96ff;
  padding: 13px 24px;
}

.button--discord:hover {
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #061119cc;
  border: 1px solid #314650;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-stat-value {
  font-size: 15px;
  color: var(--gold-bright);
}

.hero-stat-value--muted {
  color: #cbd5db;
}

/* Rýchle odkazy */
.quick-links {
  border-bottom: 1px solid #22343e;
  background: #061018;
}

.quick-links-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 11px 0;
}

.quick-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 6px;
  transition: color 0.16s;
}

.quick-link:hover {
  color: var(--gold-bright);
}

/* Panely */
.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 32px 0 42px;
}

.panel {
  border-radius: var(--radius);
  min-width: 0;
  background: linear-gradient(145deg, #0b1d28f7, #051018f7);
  border: 1px solid #314650;
  box-shadow: inset 0 0 0 1px #d0a04c14, var(--shadow);
  padding: 22px 24px;
}

.panel--featured {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 50% -30%, #295f7957, transparent 58%),
    linear-gradient(145deg, #0d1b26fc, #060d15fc);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #223540;
}

.panel-head h2 {
  margin-bottom: 0;
  font-size: 24px;
  color: var(--gold-bright);
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 3px;
}

.pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill--gold {
  color: var(--gold-bright);
  background: #8b672d33;
  border: 1px solid #8b672d99;
}

.pill--green {
  color: #9ff0ba;
  background: #1a543144;
  border: 1px solid #6ad38c66;
}

.pill--blue {
  color: #a9dbff;
  background: #206f9e33;
  border: 1px solid #69b6ee66;
}

.lead {
  font-size: 16px;
  color: #e4e8ea;
  margin-bottom: 20px;
}

.muted-text {
  color: var(--muted);
  margin-bottom: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-card {
  background: #061119c9;
  border: 1px solid #273b46;
  border-radius: var(--radius);
  padding: 16px;
}

.mini-card h3 {
  font-size: 17px;
  color: var(--gold);
  margin-bottom: 8px;
}

.mini-card p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Galéria Duskwoodu */
.duskwood-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.gallery-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #061119;
  border: 1px solid #2b404c;
  box-shadow: 0 10px 26px #0000004d;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-gold);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-bright);
  border-top: 1px solid #1d2e38;
}

/* Nábor a filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-btn {
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid #314650;
  background: #07141d;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.filter-btn:hover {
  color: var(--gold-bright);
  border-color: var(--line-gold);
}

.filter-btn.is-active {
  color: #211504;
  background: var(--gold);
  border-color: var(--gold-bright);
}

.recruit-list {
  display: grid;
  gap: 10px;
}

.recruit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #061119c9;
  border: 1px solid #273b46;
}

.recruit-item.is-hidden {
  display: none;
}

.recruit-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recruit-info strong {
  color: var(--text);
  font-size: 15px;
}

.recruit-info span {
  font-size: 13px;
  color: var(--muted);
}

.status-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.status-tag--high {
  color: #ffe2a3;
  background: #8b672d44;
  border: 1px solid #d7a64d99;
}

.status-tag--open {
  color: #9ff0ba;
  background: #1a543144;
  border: 1px solid #6ad38c66;
}

/* Raid rozpis */
.schedule-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #061119c9;
  border: 1px solid #273b46;
}

.schedule-day {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 15px;
}

.schedule-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-detail span {
  font-size: 13px;
  color: var(--muted);
}

.panel-note {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Pravidlá */
.rules-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 12px;
}

.rules-list li {
  color: var(--muted);
}

.rules-list li strong {
  color: var(--text);
}

/* Ako sa pridať */
.steps-list {
  display: grid;
  gap: 14px;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #211504;
  background: var(--gold);
  box-shadow: 0 0 12px #e7bd6844;
}

.step-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.step-item p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Discord CTA banner (wowforever.sk štýl) */
.discord-cta {
  border-block: 1px solid var(--line-gold);
  background-color: #061019;
  background-image:
    linear-gradient(90deg, #030c13eb, #06131cc7 55%, #121734d9),
    url("assets/duskwood-banner.jpg");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  padding: 40px 0;
}

.discord-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.discord-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa4ff;
  margin-bottom: 4px;
}

.discord-cta h2 {
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 30px;
}

.discord-cta p {
  margin-bottom: 0;
  color: #dfe6ea;
  max-width: 650px;
}

/* Pätička */
.site-footer {
  background: #061019;
  padding-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
}

.footer-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-bright);
  font-size: 17px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #a9b5ba;
  font-size: 13px;
  max-width: 360px;
  margin-bottom: 0;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 13px;
}

.footer-grid nav strong {
  color: #ead3a5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 12px;
}

.footer-grid nav a {
  color: var(--muted);
}

.footer-grid nav a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid #1a2a35;
  padding: 16px 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #84949c;
}

/* Toast oznámenie */
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 380px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #081722f5;
  border: 1px solid var(--line-gold);
  box-shadow: 0 18px 40px #00000088;
}

.toast[hidden] {
  display: none;
}

.toast-content strong {
  display: block;
  color: var(--gold-bright);
  margin-bottom: 3px;
}

.toast-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.toast-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
}

.toast-close:hover {
  color: var(--gold-bright);
}

/* Responzivita */
@media (max-width: 960px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .duskwood-gallery {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 18px;
    background: #051018fa;
    border-bottom: 1px solid var(--line-gold);
    display: none;
  }

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

  .main-nav > a {
    padding: 10px 4px;
  }

  .nav-discord-btn {
    justify-content: center;
    margin-top: 6px;
  }
}
