/* Lanovexa — gaming club & online games */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --bg-deep: #06080f;
  --bg-elevated: #0e1424;
  --bg-card: #151d32;
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --text-muted: #9ca8c9;
  --accent: #00f0b5;
  --accent-2: #7b5cff;
  --accent-hot: #ff5c8a;
  --accent-cyan: #2dd4ff;
  --gradient-brand: linear-gradient(125deg, var(--accent) 0%, var(--accent-cyan) 40%, var(--accent-2) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 240, 181, 0.2), rgba(123, 92, 255, 0.25));
  --gradient-card: linear-gradient(145deg, rgba(123, 92, 255, 0.12) 0%, rgba(0, 240, 181, 0.06) 100%);
  --shadow-glow: 0 0 48px rgba(0, 240, 181, 0.18);
  --shadow-purple: 0 12px 40px rgba(123, 92, 255, 0.22);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --radius: clamp(0.75rem, 1.5vw, 1.25rem);
  --header-h: 4.5rem;
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --space-section: clamp(4rem, 10vw, 7rem);
  --container: min(72rem, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg-deep);
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(8, 12, 22, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

.logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 229, 168, 0.2));
}

.logo__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo--footer .logo__name {
  color: var(--accent);
}

.logo__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.625rem;
  border-radius: 0.5rem;
  cursor: pointer;
  line-height: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  color: var(--accent);
  border-color: rgba(0, 240, 181, 0.35);
  background: rgba(0, 240, 181, 0.06);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle__icon {
  --nav-toggle-bar-h: 2px;
  --nav-toggle-gap: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--nav-toggle-gap);
  width: 1.375rem;
  height: 1.125rem;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: var(--nav-toggle-bar-h);
  border-radius: 1px;
  background: currentColor;
  transform-origin: center center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(calc(var(--nav-toggle-gap) + var(--nav-toggle-bar-h))) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(calc(-1 * (var(--nav-toggle-gap) + var(--nav-toggle-bar-h)))) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition: none;
  }
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: #041510;
  box-shadow: var(--shadow-card);
}

.btn--primary:hover {
  transform: translateY(-2px);
  color: #041510;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  background: rgba(123, 92, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(123, 92, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 240, 181, 0.1);
  box-shadow: 0 0 24px rgba(0, 240, 181, 0.15);
}

.hero {
  position: relative;
  padding-block: clamp(5rem, 12vw, 8rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(6, 8, 15, 0.35);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__panel {
  max-width: 42rem;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  border-radius: var(--radius);
  background: rgba(14, 18, 32, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hero__panel .lead {
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin-top: 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem);
  margin-bottom: 1rem;
}

.hero h1,
.section__head h1 {
  color: #f4f6ff;
}

h2 {
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2.35rem);
  margin-bottom: 1rem;
  color: #f4f6ff;

}

h3 {
  font-size: clamp(1.05rem, 0.8vw + 0.85rem, 1.3rem);
  font-weight: 600;
  color: #e8ecff;
}

.lead {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.section {
  position: relative;
  padding-block: var(--space-section);
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section__head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 40rem;
}

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

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 56rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(123, 92, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.9;
}

.feature-card:hover {
  border-color: rgba(0, 240, 181, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(123, 92, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-purple);
  border-color: rgba(0, 240, 181, 0.45);
}

.game-card:hover h3 {
  color: var(--accent);
}

.game-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0e16;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.game-card__gameplay {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.game-card__modes-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0.5rem 0 0;
}

.game-card__cta {
  margin-top: auto;
  padding-top: 0.75rem;
  align-self: flex-start;
  background: rgba(123, 92, 255, 0.12);
  color: #ddd6ff;
  border: 1px solid rgba(123, 92, 255, 0.45);
  box-shadow: 0 6px 22px rgba(123, 92, 255, 0.18);
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
}

.game-card__cta:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(123, 92, 255, 0.28);
  border-color: rgba(168, 130, 255, 0.65);
  box-shadow: 0 10px 28px rgba(123, 92, 255, 0.35);
}

.game-card__cta:focus-visible {
  outline: 2px solid rgba(168, 130, 255, 0.9);
  outline-offset: 2px;
}

.game-card__cta::after {
  content: " →";
  font-weight: 600;
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(123, 92, 255, 0.18);
  border: 1px solid rgba(123, 92, 255, 0.4);
  color: #e8e4ff;
  width: fit-content;
  box-shadow: 0 0 16px rgba(123, 92, 255, 0.2);
}

.game-card__modes {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.game-card__modes li {
  padding-inline-start: 1rem;
  position: relative;
}

.game-card__modes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 2px;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-list {
  display: grid;
  gap: 1.25rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.article-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: left;
}

.article-card time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

button.article-card--clickable {
  width: 100%;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(123, 92, 255, 0.22);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

button.article-card--clickable:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 168, 0.35);
  box-shadow: var(--shadow-glow);
}

button.article-card--clickable:hover h2 {
  color: var(--accent);
}

button.article-card--clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.article-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.article-card__body h2 {
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem);
  margin: 0;
  line-height: 1.3;
}

.article-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.article-card__cta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.article-modal.is-visible {
  display: flex;
}

.article-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);

}

.article-modal__panel {
  position: relative;
  z-index: 1;
  width: min(42rem, 100%);
  max-height: min(88vh, 52rem);
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.article-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.article-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.article-modal__date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.article-modal__panel h2 {
  margin: 0 2.5rem 1rem 0;
  font-size: clamp(1.35rem, 2vw + 1rem, 1.75rem);
  line-height: 1.2;
}

.article-modal__body p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

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

.article-modal__done {
  margin-top: 1.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-bar input[type="search"] {
  flex: 1 1 14rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
}

.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: rgba(21, 29, 50, 0.95);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 240, 181, 0.2);
}

.genre-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

.genre-cards-grid--compact {
  margin-bottom: 2rem;
}

a.genre-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid rgba(123, 92, 255, 0.22);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

a.genre-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 168, 0.35);
  box-shadow: var(--shadow-glow);
}

a.genre-card:hover h3 {
  color: var(--accent);
}

.genre-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.genre-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.genre-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.genre-card__cta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.genre-spotlight {
  display: grid;
  gap: 1.75rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid rgba(123, 92, 255, 0.15);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding-inline: clamp(0.5rem, 2vw, 1rem);
}

.genre-spotlight:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 56rem) {
  .genre-spotlight {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }
}

.genre-spotlight__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}

.genre-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-spotlight__desc {
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.7;
}

.genre-spotlight__list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.genre-spotlight__list li {
  margin-bottom: 0.35rem;
}

.legal-page {
  padding-block: calc(var(--header-h) + 2rem) 4rem;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-page ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.site-footer {
  background: #05070c;
  border-top: 1px solid rgba(123, 92, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(0, 240, 181, 0.1);
  padding-block: 3rem 2rem;
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-responsible {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 240, 181, 0.2);
  background: rgba(14, 20, 36, 0.85);
}

.footer-responsible p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer-responsible strong {
  color: var(--accent);
  font-weight: 600;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  width: 100%;
  padding: 1.25rem 0;
  background: rgba(10, 14, 26, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.cookie-banner__text {
  min-width: 0;
}

.cookie-banner p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 40rem) {
  .cookie-banner__row {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

.cookie-banner__prefs {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 36rem;
}

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

.cookie-banner__prefs-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

.cookie-banner__label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.cookie-banner__label input:not(:disabled) {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 52rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 9, 15, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}
