/* ============================================================
   Audiora – design rendszer
   Tokenek → komponensek → animációk
   ============================================================ */

:root {
  /* Színek */
  --ink-900: #07070a;      /* legmélyebb fekete */
  --ink-800: #0d0e12;      /* háttér */
  --ink-700: #14161c;      /* kártya alap */
  --ink-600: #1e212a;      /* antracit */
  --ink-500: #2b2f3a;      /* border */
  --mist:    #9aa0ad;      /* halvány szöveg */
  --snow:    #f4f5f7;      /* fehér szöveg */
  --gold:    #d4af6a;      /* fő arany kiemelés */
  --gold-lo: #a5834a;
  --gold-hi: #f0d9a6;

  /* Üveg */
  --glass-bg: rgba(255, 255, 255, .045);
  --glass-br: rgba(255, 255, 255, .10);
  --glass-bl: 22px;

  /* Tipográfia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Ritmus */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
  --player-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-800);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
}

/* Ambiens háttér – finom arany derengés, nem tolakodó */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(212, 175, 106, .10), transparent 60%),
    radial-gradient(700px 420px at 88% 4%, rgba(212, 175, 106, .05), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- Tipográfia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.02; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; }
h3 { font-size: 1.05rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.muted { color: var(--mist); }
.small { font-size: .86rem; }

/* ---------- Üveg felület ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-br);
  backdrop-filter: blur(var(--glass-bl)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-bl)) saturate(140%);
  border-radius: var(--r-md);
}

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7, 7, 10, .62);
  border-bottom: 1px solid var(--glass-br);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; width: 100%; }

.logo {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -.03em;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.logo .mark {
  width: 9px; height: 22px; border-radius: var(--r-full);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 0 18px rgba(212, 175, 106, .55);
}

.nav { display: flex; gap: 26px; font-size: .92rem; color: var(--mist); }
.nav a { transition: color .2s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--snow); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- Kereső ---------- */
.search-box { position: relative; flex: 1; max-width: 460px; }
.search-box input {
  width: 100%; height: 42px;
  padding: 0 16px 0 42px;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-br);
  background: var(--glass-bg);
  color: var(--snow);
  font-family: inherit; font-size: .92rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.search-box input::placeholder { color: var(--mist); }
.search-box input:focus {
  outline: none;
  border-color: rgba(212, 175, 106, .55);
  background: rgba(255, 255, 255, .07);
}
.search-box .icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--mist); pointer-events: none;
}

.suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: rgba(13, 14, 18, .96);
  border: 1px solid var(--glass-br);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  display: none;
}
.suggestions.is-open { display: block; }
.suggestions a {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 14px;
  transition: background .18s var(--ease);
}
.suggestions a:hover, .suggestions a.is-highlighted { background: rgba(255, 255, 255, .06); }
.suggestions img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: inherit; font-size: .92rem; font-weight: 600;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: var(--ink-900);
  box-shadow: 0 8px 26px rgba(212, 175, 106, .26);
}
.btn-gold:hover { box-shadow: 0 12px 36px rgba(212, 175, 106, .40); transform: translateY(-1px); }

.btn-glass {
  background: var(--glass-bg);
  border-color: var(--glass-br);
  color: var(--snow);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .2); }

.btn-ghost { background: transparent; color: var(--mist); }
.btn-ghost:hover { color: var(--snow); }

.btn-icon { width: 44px; padding: 0; border-radius: 50%; }
.btn-sm { height: 36px; padding: 0 16px; font-size: .84rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: flex; align-items: stretch;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin: 24px 0 8px;
  border: 1px solid rgba(212,175,106,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero--empty { align-items: center; background: linear-gradient(135deg, #141018, #0d0e12 50%, #1a1510); }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  filter: saturate(1.1);
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7,7,10,.97) 0%, rgba(7,7,10,.88) 38%, rgba(7,7,10,.45) 68%, rgba(7,7,10,.72) 100%),
    linear-gradient(0deg, rgba(7,7,10,.92) 0%, transparent 50%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  width: 100%;
  align-items: end;
  padding: 48px;
  padding-bottom: 110px;
}
.hero-inner { max-width: 640px; }
.hero h1 { margin: 14px 0 12px; text-shadow: 0 10px 40px rgba(0,0,0,.45); }
.hero-sub { color: var(--gold); font-size: 1.05rem; margin: 0 0 10px; }
.hero p { color: #c4c8d2; font-size: 1.02rem; max-width: 52ch; line-height: 1.65; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 20px; margin: 18px 0 26px; font-size: .88rem; color: var(--mist); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cover {
  justify-self: end;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212,175,106,.28);
  box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  transform: rotate(2deg);
  background: var(--ink-700);
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 28px 22px 96px; }
  .hero-cover { justify-self: start; width: 180px; transform: none; }
}

/* ---------- Szignatúra: hangforma ---------- */
/* A hero alján futó hullámforma – a termék lényege vizuálisan */
.waveform {
  position: absolute; bottom: 0; left: 0; right: 0; height: 88px;
  display: flex; align-items: flex-end; gap: 3px;
  padding: 0 48px 26px;
  z-index: 2; pointer-events: none;
  opacity: .55;
}
.waveform span {
  flex: 1;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 106, .12));
  border-radius: 2px 2px 0 0;
  animation: wave 2.4s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes wave {
  0%, 100% { transform: scaleY(.28); }
  50%      { transform: scaleY(1); }
}

/* ---------- Sorok / kártyák ---------- */
.row { margin: 54px 0; }
.row-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 20px;
}
.row-head a { font-size: .86rem; color: var(--mist); transition: color .2s var(--ease); }
.row-head a:hover { color: var(--gold); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-500) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: var(--r-full); }
.rail > * { scroll-snap-align: start; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 24px;
}

.card { display: block; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-5px); }
.card-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--ink-500);
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,7,10,.7), transparent 45%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover .card-cover::after { opacity: 1; }

.card-play {
  position: absolute; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink-900);
  opacity: 0; transform: translateY(8px) scale(.85);
  transition: all .3s var(--ease);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.card:hover .card-play { opacity: 1; transform: translateY(0) scale(1); }

.card-title { margin: 12px 0 3px; font-size: .95rem; font-weight: 600; font-family: var(--font-body); }
.card-sub { font-size: .84rem; color: var(--mist); }

.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(7, 7, 10, .72);
  border: 1px solid var(--glass-br);
  backdrop-filter: blur(10px);
}
.badge-gold { background: var(--gold); color: var(--ink-900); border-color: transparent; }

/* Folytatás sáv a borítón */
.card-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255, 255, 255, .16);
}
.card-progress i { display: block; height: 100%; background: var(--gold); }

/* ---------- Kategória csempék ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-tile {
  padding: 20px 18px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-br);
  transition: all .28s var(--ease);
}
.cat-tile:hover {
  border-color: rgba(212, 175, 106, .45);
  background: rgba(212, 175, 106, .07);
  transform: translateY(-3px);
}
.cat-tile strong { display: block; font-size: 1rem; }
.cat-tile span { font-size: .8rem; color: var(--mist); }

/* ---------- Könyv oldal ---------- */
.book-hero { position: relative; padding: 56px 0 44px; }
.book-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(46px) saturate(140%);
  opacity: .3;
}
.book-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--ink-800), rgba(13,14,18,.6));
}
.book-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 300px 1fr; gap: 44px; }
.book-cover {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  border: 1px solid var(--ink-500);
  aspect-ratio: 1/1;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }

.meta-list { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 24px; font-size: .9rem; color: var(--mist); }
.meta-list b { color: var(--snow); font-weight: 600; }

.stars { color: var(--gold); letter-spacing: 2px; }

.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chapter-list li:hover { background: var(--glass-bg); border-color: var(--glass-br); }
.chapter-list li.is-playing { background: rgba(212, 175, 106, .10); border-color: rgba(212, 175, 106, .35); }
.chapter-num { font-family: var(--font-mono); font-size: .8rem; color: var(--mist); min-width: 26px; }
.chapter-dur { margin-left: auto; font-size: .82rem; color: var(--mist); }

.price-box { padding: 24px; margin: 24px 0; }
.price { font-family: var(--font-display); font-size: 2rem; color: var(--gold); }
.price-old { font-size: 1rem; color: var(--mist); text-decoration: line-through; margin-left: 10px; }

/* ---------- Lejátszó ---------- */
.player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  height: var(--player-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 24px;
  background: rgba(9, 10, 13, .86);
  border-top: 1px solid var(--glass-br);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.player.is-visible { transform: translateY(0); }

.player-book { display: flex; align-items: center; gap: 14px; min-width: 200px; width: 240px; }
.player-book img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.player-book .t { font-size: .88rem; font-weight: 600; }
.player-book .s { font-size: .78rem; color: var(--mist); }

.player-center { flex: 1; display: flex; flex-direction: column; gap: 7px; align-items: center; }
.player-controls { display: flex; align-items: center; gap: 8px; }
.pc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; border: none; color: var(--mist);
  cursor: pointer; transition: color .2s var(--ease), background .2s var(--ease);
}
.pc-btn:hover { color: var(--snow); background: rgba(255, 255, 255, .07); }
.pc-main {
  width: 44px; height: 44px;
  background: var(--gold); color: var(--ink-900);
}
.pc-main:hover { background: var(--gold-hi); color: var(--ink-900); }

.progress-row { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 620px; font-family: var(--font-mono); font-size: .74rem; color: var(--mist); }
.seek {
  flex: 1; height: 4px; border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16);
  position: relative; cursor: pointer;
}
.seek-fill { height: 100%; border-radius: var(--r-full); background: var(--gold); width: 0; position: relative; }
.seek-fill::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold);
  opacity: 0; transition: opacity .2s var(--ease);
}
.seek:hover .seek-fill::after { opacity: 1; }

.player-right { display: flex; align-items: center; gap: 6px; width: 240px; justify-content: flex-end; }
.speed-btn { font-family: var(--font-mono); font-size: .78rem; width: auto; padding: 0 10px; border-radius: var(--r-full); }

.sleep-menu, .speed-menu {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  background: rgba(13, 14, 18, .97);
  border: 1px solid var(--glass-br);
  border-radius: var(--r-sm);
  padding: 6px; min-width: 130px;
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  display: none;
}
.menu-wrap { position: relative; }
.menu-wrap.is-open .sleep-menu, .menu-wrap.is-open .speed-menu { display: block; }
.menu-item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: 6px;
  background: none; border: none; color: var(--snow);
  font-family: inherit; font-size: .86rem; cursor: pointer;
}
.menu-item:hover { background: rgba(255, 255, 255, .07); }
.menu-item.is-active { color: var(--gold); }

/* ---------- Űrlapok ---------- */
.form-card { max-width: 440px; margin: 72px auto; padding: 40px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; color: var(--mist); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; height: 46px; padding: 0 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-500);
  background: rgba(255, 255, 255, .03);
  color: var(--snow); font-family: inherit; font-size: .95rem;
  transition: border-color .22s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }

.alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: .88rem; margin-bottom: 20px; }
.alert-error { background: rgba(220, 70, 70, .12); border: 1px solid rgba(220, 70, 70, .35); color: #ffb4b4; }
.alert-ok { background: rgba(90, 200, 130, .12); border: 1px solid rgba(90, 200, 130, .35); color: #a9e9c4; }

/* ---------- Szűrők ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 34px; }
.filters select, .filters input {
  height: 40px; padding: 0 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-br);
  background: var(--glass-bg); color: var(--snow);
  font-family: inherit; font-size: .86rem;
}

/* ---------- Lábléc ---------- */
.site-footer {
  margin-top: 90px; padding: 56px 0 40px;
  border-top: 1px solid var(--ink-600);
  color: var(--mist); font-size: .88rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--snow); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-600); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Belépő animáció ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ---------- Reszponzív ---------- */
@media (max-width: 1024px) {
  .book-layout { grid-template-columns: 220px 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav, .player-right { display: none; }
  .hero-inner { padding: 30px 24px; }
  .waveform { padding: 0 24px 20px; height: 60px; }
  .book-layout { grid-template-columns: 1fr; }
  .book-cover { max-width: 260px; }
  .player-book { width: auto; min-width: 0; }
  .player { gap: 12px; padding: 0 14px; }
  .grid, .rail { grid-auto-columns: minmax(140px, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
  .form-card { margin: 32px 16px; padding: 28px; }
}

/* ---------- Előfizetési csomagok ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan-card {
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-card--featured {
  border-color: rgba(212, 175, 106, .45);
  box-shadow: 0 0 0 1px rgba(212, 175, 106, .18), 0 24px 60px rgba(0,0,0,.35);
}
.plan-card h3 { font-size: 1.35rem; margin: 4px 0 0; }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.plan-price span { font-family: var(--font-body); font-size: .85rem; color: var(--mist); margin-left: 6px; }
.plan-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--mist); font-size: .9rem; flex: 1; }
.plan-perks li::before { content: '✓ '; color: var(--gold); }

.field textarea {
  width: 100%; padding: 12px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink-500);
  background: rgba(255, 255, 255, .03);
  color: var(--snow); font-family: inherit; font-size: .95rem;
}
.field textarea:focus { outline: none; border-color: var(--gold); }

@media (max-width: 820px) {
  .cart-grid, .admin-3col, .admin-4col { grid-template-columns: 1fr !important; }
}

/* ---------- Hozzáférhetőség ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* Premium card polish */
.card-cover {
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.rail { gap: 22px; padding-bottom: 14px; }
.site-header .logo { letter-spacing: -.02em; }

/* Motion & polish */
.card { transition: transform .35s var(--ease), opacity .35s var(--ease); }
.card:hover { transform: translateY(-6px); }
.card:hover .card-cover { box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(212,175,106,.25); }
.card-cover { transition: box-shadow .35s var(--ease); }
.btn { transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.site-header { background: rgba(7,7,10,.72); }
.logo .mark {
  display: inline-block; width: 10px; height: 10px; margin-right: 8px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,106,.18);
  vertical-align: middle;
}
