@import url('tokens.css');

/* ===================== RESET ===================== */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--ac); text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); }
ul { list-style: none; margin: 0; padding: 0; }

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(125% 110% at 50% 0%, transparent 38%, rgba(0, 0, 0, 0.82) 100%), var(--paper-deep);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Tekstura "łusek" w tle całej strony, wzorowana na design_handoff_menu */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../img/texture/scale-texture.jpg') center/cover;
  opacity: 0.42;
  filter: saturate(0.85) brightness(0.5);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
#de-root, .de-header, .de-footer { position: relative; z-index: 1; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-bright);
  margin: 0;
}

/* ===================== KOMPONENTY WSPÓLNE (1:1 z apps/web/src/styles/global.css) ===================== */
.de-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.5);
}

.de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink-bright);
  background: var(--slot-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.13s ease, box-shadow 0.13s ease, transform 0.13s ease;
}
.de-btn:hover { background: var(--ac-soft); box-shadow: 0 0 14px rgba(31, 182, 204, 0.35); transform: translateY(-1px); }
.de-btn.accent { background: var(--ac-soft); border-color: var(--ac); color: var(--ac); }
.de-btn.solid {
  background: var(--ac);
  color: #04161a;
  border-color: var(--ac);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #0c7381;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 5px rgba(0, 0, 0, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.35);
}
.de-btn.solid::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
  transform: skewX(-20deg);
  animation: de-btn-shimmer 3.4s ease-in-out infinite;
  pointer-events: none;
}
.de-btn.solid:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 5px rgba(0, 0, 0, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.4);
}
.de-btn.solid:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.3);
}
@keyframes de-btn-shimmer {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .de-btn.solid::after { animation: none; display: none; }
}
.de-btn.discord { background: rgba(88, 101, 242, 0.14); border-color: var(--discord); color: #b7bdfb; }
.de-btn.discord:hover { background: rgba(88, 101, 242, 0.26); box-shadow: 0 0 14px rgba(88, 101, 242, 0.4); }
.de-btn.lg { padding: 16px 28px; font-size: 15px; }

.de-input {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  color: var(--ink-bright);
  background: var(--slot-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}
.de-input:focus { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac-soft); }
.de-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--ink-soft); margin-bottom: 6px; }
.de-muted { color: var(--ink-soft); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: linear-gradient(180deg, transparent, rgba(31, 182, 204, 0.08)); }
::-webkit-scrollbar-thumb { background: radial-gradient(circle at 50% 50%, rgba(31, 182, 204, 0.6), rgba(31, 182, 204, 0.25)); border-radius: 6px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes brandGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(31, 182, 204, 0.35)); }
  50% { filter: drop-shadow(0 0 22px rgba(31, 182, 204, 0.6)); }
}

/* ===================== LAYOUT / CONTAINER ===================== */
.de-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-4); }
.de-container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-4); }
.de-section { padding: var(--space-6) 0; }
.de-section-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-5); }
.de-eyebrow { font-family: var(--font-head); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ac); margin-bottom: var(--space-2); }
.de-section-head h2 { font-size: 30px; margin-bottom: var(--space-2); }
.de-section-head p { color: var(--ink-soft2); font-size: 17px; line-height: 1.5; }

/* ===================== HEADER / NAV ===================== */
.de-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 9, 11, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.de-header.scrolled { background: rgba(5, 9, 11, 0.92); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5); }
.de-header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; }
.de-brand { display: flex; align-items: center; gap: 10px; }
.de-brand img { height: 26px; width: auto; mix-blend-mode: screen; }
.de-brand span { font-family: var(--font-head); font-weight: 600; letter-spacing: 3px; color: var(--ink-bright); font-size: 15px; }

.de-nav { display: flex; align-items: center; gap: var(--space-4); }
.de-nav-links { display: none; align-items: center; gap: var(--space-4); }
.de-nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft2);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.13s ease, border-color 0.13s ease;
}
.de-nav-links a:hover, .de-nav-links a.active { color: var(--ac); border-color: var(--ac); }
.de-nav-cta { display: none; align-items: center; gap: 10px; }
.de-lang-switch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.de-lang-switch a {
  padding: 6px 10px; font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft);
}
.de-lang-switch a.active { background: var(--ac-soft); color: var(--ac); }
.de-lang-switch a:hover { color: var(--ink-bright); }
.de-mobile-nav .de-lang-switch { align-self: center; margin: var(--space-2) 0; }
.de-hamburger {
  display: inline-flex; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; cursor: pointer;
}
.de-hamburger span { width: 22px; height: 2px; background: var(--ink-bright); border-radius: 2px; }

.de-mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: rgba(5, 9, 11, 0.97);
  backdrop-filter: blur(10px);
  padding: var(--space-5) var(--space-4);
  overflow-y: auto;
}
.de-mobile-nav.open { display: block; }
.de-mobile-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-bright);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
.de-mobile-nav a.active { color: var(--ac); }
.de-mobile-nav .de-btn { width: 100%; margin-top: var(--space-4); }

@media (min-width: 900px) {
  .de-nav-links { display: flex; }
  .de-nav-cta { display: flex; }
  .de-hamburger { display: none; }
  .de-mobile-nav { display: none !important; }
}

/* ===================== HERO ===================== */
.de-hero { position: relative; padding: var(--space-7) 0 var(--space-6); text-align: center; overflow: hidden; }
.de-hero-logo { max-width: 420px; width: 80%; margin: 0 auto var(--space-4); mix-blend-mode: screen; animation: brandGlow 4s ease-in-out infinite; }
.de-hero-brandline { font-family: var(--font-head); font-size: 13px; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-3); }
.de-hero h1 { font-size: clamp(26px, 5vw, 44px); max-width: 820px; margin: 0 auto var(--space-3); line-height: 1.25; }
.de-hero-sub { max-width: 620px; margin: 0 auto var(--space-5); color: var(--ink-soft2); font-size: 18px; line-height: 1.55; }
.de-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* ===================== VIDEO FACADE ===================== */
.de-video {
  display: block;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  background: #000 center/cover no-repeat;
  cursor: pointer;
}
.de-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.de-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(5, 9, 11, 0.28);
}
.de-video-play::before {
  content: '';
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--ac-soft);
  border: 2px solid var(--ac);
  box-shadow: 0 0 30px rgba(31, 182, 204, 0.5);
}
.de-video-play::after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent var(--ink-bright);
  margin-left: 6px;
}
.de-video.playing .de-video-play { display: none; }

.de-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-4); margin-top: var(--space-4); }
.de-video-grid .de-video { max-width: none; margin: 0; }
.de-video-grid .de-video-play::before { width: 46px; height: 46px; }
.de-video-grid .de-video-play::after { border-width: 9px 0 9px 15px; margin-left: 4px; }
.de-video-tile-title { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-soft2); }

/* ===================== LORE / QUOTE ===================== */
.de-quote {
  border-left: 3px solid var(--ac);
  padding: var(--space-4) var(--space-5);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-bright);
  font-style: italic;
}
.de-lore-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .de-lore-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-6); } }

/* ===================== KROKI TURY ===================== */
.de-steps { display: grid; gap: var(--space-3); }
.de-step { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); }
.de-step-num { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--ac); min-width: 44px; text-shadow: 0 0 14px rgba(31, 182, 204, 0.4); }
.de-step.accent .de-step-num { color: var(--gold); text-shadow: 0 0 14px rgba(232, 207, 134, 0.4); }
.de-step-title { font-family: var(--font-head); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-bright); font-size: 16px; margin-bottom: 4px; }
@media (min-width: 700px) { .de-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .de-steps { grid-template-columns: repeat(3, 1fr); } }

/* ===================== FRAKCJE ===================== */
.de-faction-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .de-faction-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .de-faction-grid { grid-template-columns: repeat(4, 1fr); } }
.de-faction-tile {
  padding: var(--space-4);
  border-left: 3px solid var(--accent, var(--ac));
  transition: transform 0.13s ease, box-shadow 0.13s ease;
}
.de-faction-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.de-faction-tile h3 { font-size: 16px; color: var(--accent, var(--ink-bright)); margin-bottom: 6px; }
.de-faction-tile p { font-size: 14px; color: var(--ink-soft2); line-height: 1.4; margin: 0; }

.de-faction-detail { padding: var(--space-5); margin-bottom: var(--space-5); border-left: 4px solid var(--accent, var(--ac)); scroll-margin-top: calc(var(--header-h) + 16px); }
.de-faction-detail h2 { color: var(--accent, var(--ink-bright)); font-size: 24px; margin-bottom: 4px; }
.de-faction-detail .de-faction-tagline { color: var(--gold); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: var(--space-3); }
.de-faction-detail p { line-height: 1.6; color: var(--ink-soft2); margin: 0 0 var(--space-3); }
.de-faction-detail p:last-of-type { margin-bottom: 0; }
.de-faction-detail p strong { color: var(--ink-bright); }
.de-faction-mechanic { margin-top: var(--space-3); padding: var(--space-3); background: var(--slot-bg); border-radius: var(--radius); font-size: 14px; }
.de-faction-examples { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.de-faction-examples img { width: 96px; border-radius: var(--radius); border: 1px solid var(--line); }
.de-faction-audio { height: 40px; max-width: 260px; flex: 1 1 220px; }

/* ===================== GALERIA KART ===================== */
.de-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: var(--space-3); }
.de-card-tile { cursor: pointer; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); transition: transform 0.13s ease, box-shadow 0.13s ease; }
.de-card-tile:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); border-color: var(--ac); }
.de-card-tile img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; background: var(--slot-bg); }
.de-card-tile[data-type="leader"] img, .de-card-tile[data-type="place"] img { aspect-ratio: 1041 / 745; object-fit: cover; }
.de-card-tile .de-card-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 6px 8px 5px;
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  color: var(--ink-bright);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  text-transform: uppercase;
}
.de-card-tile .de-card-badge {
  position: absolute; top: 6px; right: 6px;
  font-size: 9px; padding: 2px 6px; border-radius: 3px;
  background: rgba(5, 9, 11, 0.75); color: var(--ac); border: 1px solid var(--ac);
  text-transform: uppercase; letter-spacing: 1px;
}

.de-filterbar { position: sticky; top: var(--header-h); z-index: 20; padding: var(--space-3) 0; background: rgba(5, 9, 11, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: var(--space-4); }
.de-filter-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.de-chip {
  padding: 7px 14px; font-size: 12px; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; background: var(--slot-bg); color: var(--ink-soft2); cursor: pointer;
  transition: all 0.13s ease;
}
.de-chip:hover { border-color: var(--ac); color: var(--ac); }
.de-chip.active { background: var(--ac-soft); border-color: var(--ac); color: var(--ac); }
.de-search-wrap { margin-left: auto; min-width: 200px; flex: 1 1 220px; }
.de-result-count { font-size: 13px; color: var(--ink-soft); margin-left: var(--space-2); white-space: nowrap; }

.de-modal { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel-solid2); color: var(--ink); padding: 0; max-width: 640px; width: 92vw; max-height: 88vh; }
.de-modal::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(3px); }
.de-modal-inner { display: grid; gap: var(--space-4); padding: var(--space-4); max-height: 88vh; overflow-y: auto; }
@media (min-width: 640px) { .de-modal-inner { grid-template-columns: 200px 1fr; } }
.de-modal-inner img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.de-modal-close { position: absolute; top: 10px; right: 10px; background: var(--slot-bg); border: 1px solid var(--line); color: var(--ink-bright); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 16px; }
.de-modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: var(--space-2) 0; }
.de-modal-tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--slot-bg); border: 1px solid var(--line); color: var(--ink-soft2); text-transform: uppercase; letter-spacing: 0.5px; }
.de-modal-text { font-size: 14px; line-height: 1.5; color: var(--ink-soft2); white-space: pre-line; }

/* ===================== AKORDEON (zasady) ===================== */
.de-accordion { margin-bottom: var(--space-3); overflow: hidden; }
.de-accordion summary {
  cursor: pointer; list-style: none; padding: var(--space-4); display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-head); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-bright);
}
.de-accordion summary::-webkit-details-marker { display: none; }
.de-accordion summary::before { content: '+'; color: var(--ac); font-size: 20px; width: 20px; }
.de-accordion[open] summary::before { content: '−'; }
.de-accordion-body { padding: 0 var(--space-4) var(--space-4); color: var(--ink-soft2); line-height: 1.6; }
.de-accordion-body table { width: 100%; }

/* ===================== TABELE (zasady pełne) ===================== */
.de-table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; font-size: 14px; }
.de-table th, .de-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.de-table th { font-family: var(--font-head); color: var(--ac); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }

/* ===================== ARTYKUŁ ZASAD PEŁNYCH ===================== */
.de-article-layout { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) { .de-article-layout { grid-template-columns: 240px 1fr; align-items: start; } }
.de-toc { position: sticky; top: calc(var(--header-h) + 16px); padding: var(--space-4); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.de-toc a { display: block; font-size: 13px; color: var(--ink-soft2); padding: 5px 0; }
.de-toc a:hover { color: var(--ac); }
.de-article { line-height: 1.7; }
.de-article h2 { font-size: 22px; margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.de-article h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.de-article h3 { font-size: 17px; margin-top: var(--space-4); color: var(--ac); scroll-margin-top: calc(var(--header-h) + 16px); }
.de-article p { color: var(--ink-soft2); }
.de-article blockquote { border-left: 3px solid var(--gold); padding-left: var(--space-3); color: var(--ink-soft2); font-style: italic; margin: var(--space-3) 0; }

/* ===================== DISCORD / COMMUNITY PANEL ===================== */
.de-discord-panel {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5);
  border-left: 3px solid var(--discord); background: rgba(88, 101, 242, 0.14);
}
.de-discord-panel svg { flex-shrink: 0; color: var(--discord); }
.de-discord-panel h3 { color: var(--discord); font-size: 18px; margin-bottom: 4px; }
.de-discord-panel p { margin: 0; color: var(--ink-soft2); font-size: 14px; }

.de-contact-discord {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  padding: var(--space-7) var(--space-5); text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(88, 101, 242, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.de-contact-discord:hover { background: rgba(88, 101, 242, 0.2); box-shadow: 0 0 34px rgba(88, 101, 242, 0.35); transform: translateY(-3px); }
.de-contact-discord svg { color: var(--discord); }
.de-contact-discord span {
  font-family: var(--font-head); font-size: 19px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-bright);
}
.de-contact-discord small { color: var(--ink-soft2); font-size: 13px; text-transform: none; letter-spacing: normal; font-family: var(--font-body); }

.de-legal h3 { font-family: var(--font-head); font-size: 17px; color: var(--ink-bright); margin-bottom: var(--space-3); }
.de-legal ol { padding-left: 20px; display: flex; flex-direction: column; gap: var(--space-3); margin: 0; }
.de-legal li { color: var(--ink-soft2); font-size: 14px; line-height: 1.6; }
.de-legal li strong { color: var(--ink-soft); }

/* ===================== FOOTER ===================== */
.de-footer { border-top: 1px solid var(--line); padding: var(--space-6) 0 var(--space-5); background: rgba(5, 9, 11, 0.6); }
.de-footer-grid { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (min-width: 700px) { .de-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.de-footer h4 { font-size: 12px; letter-spacing: 2px; color: var(--ink-soft); margin-bottom: var(--space-2); }
.de-footer a { display: block; font-size: 14px; color: var(--ink-soft2); padding: 4px 0; }
.de-footer a:hover { color: var(--ac); }
.de-footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }

/* ===================== TEASER PASKI (index.html) ===================== */
.de-teaser-row { display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: var(--space-2); scrollbar-width: thin; }
.de-teaser-row .de-card-tile { flex: 0 0 120px; }
.de-more-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ac); margin-top: var(--space-4); }
.de-more-link.de-playlist-cta { font-size: 39px; gap: 14px; text-shadow: 0 0 20px rgba(31, 182, 204, 0.35); }
.de-more-link.de-playlist-cta:hover { color: var(--ink-bright); }

/* ===================== 404 ===================== */
.de-404 { text-align: center; padding: var(--space-7) var(--space-4); }
.de-404 h1 { font-size: 96px; color: var(--ac); text-shadow: 0 0 30px rgba(31, 182, 204, 0.4); }
