/* dash-wow-wotlk.cybermoon.win — info + letöltés + realmlist */

:root {
  --bg-deep: #0a0e14;
  --bg-card: rgba(18, 28, 42, 0.85);
  --border: rgba(126, 168, 210, 0.22);
  --ice: #7eb8da;
  --ice-dim: #4a6d8c;
  --gold: #c9a227;
  --gold-soft: #e8d48a;
  --text: #e8eef4;
  --muted: #8fa3b8;
  --link: #9fd0ff;
  --danger: #c75c5c;
  --radius: 14px;
  --font-display: "Cinzel", "Palatino Linotype", serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  /* Promo háttér + enyhébb átlátszó réteg — a korábbi ~0.94 opacitás szinte eltüntette a képet */
  background-color: #050a10;
  background-image:
    linear-gradient(
      105deg,
      rgba(4, 10, 18, 0.78) 0%,
      rgba(4, 12, 22, 0.48) 35%,
      rgba(6, 14, 24, 0.22) 55%,
      rgba(8, 18, 30, 0.08) 78%,
      rgba(8, 16, 28, 0) 100%
    ),
    url("images/bg-wotlk.png");
  background-size: cover, cover;
  background-position: center, 70% center;
  background-repeat: no-repeat;
  background-attachment: fixed, fixed;
}

@media (max-width: 720px) {
  body {
    background-position: center, center top;
    background-attachment: scroll, scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    background-attachment: scroll, scroll;
  }
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

/* Két oszlop: flex (megbízhatóbb, mint grid egyes régi / cache-elt környezetekben) */
.layout-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}

.layout-grid__side,
.layout-grid__main {
  min-width: 0;
  flex: 1 1 auto;
}

/* Tablet / desktop: két oszlop (768px alatt egy oszlop — kevesebb görgetés laptopon is) */
@media (min-width: 768px) {
  .layout-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .layout-grid__side {
    flex: 0 0 clamp(240px, 28vw, 340px);
    max-width: 340px;
  }

  .layout-grid__main {
    flex: 1 1 0;
    min-width: 0;
  }

  .layout-grid__side .status-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
  }
}

/* Header */
.site-header {
  position: relative;
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.lang-switch {
  position: absolute;
  top: 1rem;
  right: max(1rem, 4vw);
  display: inline-flex;
  gap: 0;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 22, 0.65);
  backdrop-filter: blur(6px);
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn[aria-pressed="true"],
.lang-btn.lang-btn--active {
  color: var(--text);
  background: rgba(126, 184, 218, 0.18);
  box-shadow: 0 0 0 1px rgba(126, 184, 218, 0.25);
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 3.25rem;
  }

  .lang-switch {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.75rem;
}

.site-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
  text-shadow: 0 0 40px rgba(126, 184, 218, 0.25);
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.card--status {
  border-color: rgba(126, 184, 218, 0.35);
  background: linear-gradient(145deg, rgba(20, 40, 60, 0.5), rgba(18, 28, 42, 0.85));
}

.status-line {
  margin: 0;
  font-size: 1.1rem;
}

.status-value {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-soft);
  min-width: 2ch;
  text-align: center;
}

.status-hint {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

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

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, #2a5a7a, #1a3d56);
  color: var(--text);
  border: 1px solid rgba(126, 184, 218, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(126, 184, 218, 0.15);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(145deg, #8a7220, #5c4a12);
  color: #fdf8e8;
  border: 1px solid rgba(232, 212, 138, 0.35);
}

.btn-gold:hover {
  color: #fff;
  box-shadow: 0 4px 28px rgba(201, 162, 39, 0.25);
}

/* Code / paths */
pre,
.code-block {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  margin: 1rem 0;
  color: #b8d4ec;
  line-height: 1.5;
}

ol.steps {
  margin: 0;
  padding-left: 1.35rem;
}

ol.steps li {
  margin-bottom: 0.65rem;
}

ol.steps li::marker {
  color: var(--gold);
  font-weight: 600;
}

.note {
  border-left: 3px solid var(--ice-dim);
  padding: 0.65rem 0 0.65rem 1rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

footer a {
  color: var(--ice);
}

@media (max-width: 540px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
