
:root{
  --bg:#0b0b0c; --surface:#121214; --surface-2:#16161a; --line:#23232a; --text:#f5f5f7; --muted:#a7a7b3;
  --brand:#c7171c; --accent:#ffffff; --header-h: 76px; --header-h-mobile: 68px;
}
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
/* Prevent sideways scroll on mobile */
html,body{overflow-x:hidden}
body{
  margin:0; color:var(--text); background:var(--bg);
  font:16px/1.55 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  position:relative; z-index:1;
}
a{color:inherit; text-decoration:none}
img{display:block; max-width:100%}
.container{max-width:1200px; margin-inline:auto; padding-inline:16px}
@media (max-width:480px){ .container{padding-inline:12px} }

/* Global subtle red glow */
html::before{
  content:""; position:fixed; inset:-25% -25% auto -25%;
  height:65vh; pointer-events:none; z-index:0;
  background: radial-gradient(900px 480px at 50% -8%, rgba(225,29,72,.16), transparent 62%);
  filter: blur(24px);
}

/* Fixed header */
header{
  position:fixed; inset:0 0 auto 0; z-index:1000;
  background:color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter:blur(6px) saturate(1.05);
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease;
}
header.elevated{box-shadow:0 10px 24px rgba(0,0,0,.25)}
/* Body offset so header doesn't cover content */
@media (max-width:980px){ body{padding-top:var(--header-h-mobile)} }
@media (min-width:981px){ body{padding-top:var(--header-h)} }

/* Topnav */
.topnav{display:flex; justify-content:center; gap:8px; font-size:14px; margin:2px 0; flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; padding:4px 2px}
.topnav::-webkit-scrollbar{display:none}
.topnav a{padding:5px 10px; border-radius:999px; background:var(--brand); color:#fff; border:1px solid transparent; flex:0 0 auto}

/* Logo centered */
.head-inner{display:flex; flex-direction:column; align-items:center; gap:8px; padding:10px 0}
/* Logo nagyobb méret + középre igazítás */
.logo {
  display: flex;
  justify-content: center; /* vízszintesen középre */
  align-items: center;     /* függőlegesen középre */
  padding: 12px 0;         /* térköz fent és lent */
}

.logo img {
  height: 80px; /* mobil méret */
}

@media (min-width: 980px) {
  .logo img {
    height: 110px; /* desktop méret */
  }
}


/* Hero */
.hero{padding-block:60px 32px; border-bottom:1px solid var(--line); background: radial-gradient(1000px 400px at 50% -20%, rgba(225,29,72,.14), transparent 60%)}
.hero .container{max-width:920px; text-align:center}
.hero h1{margin:0 0 6px; font-size:clamp(28px,5vw,44px)}
.muted{color:var(--muted)}
.cta{display:inline-block; margin-top:14px; background:var(--accent); color:#0b0b0c; font-weight:800; padding:12px 16px; border-radius:999px}

/* Showcase (single sliding row, blurred) */
.showcase{margin:24px auto 0; max-width:1200px}
.showcase-inner{position:relative; border-radius:26px; overflow:hidden; padding:18px; background: radial-gradient(1200px 400px at 50% -20%, rgba(168,85,247,.18), transparent 60%); box-shadow: 0 0 0 1px var(--line), 0 0 48px rgba(168,85,247,.16)}
.strip{display:flex; gap:18px; align-items:center; white-space:nowrap; will-change:transform; animation:slide 30s linear infinite}
.tile{flex:0 0 auto; width:180px; height:180px; border-radius:20px; overflow:hidden; background:#08080A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06)}
.tile img{width:100%; height:100%; object-fit:cover; filter: blur(4px) saturate(1.15) brightness(.92)}
@keyframes slide{ from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
.showcase-cta{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); padding:14px 22px; font-size:18px; border-radius:999px; box-shadow:0 8px 28px rgba(0,0,0,.35) }
@media (max-width:760px){ .tile{width:160px; height:160px; border-radius:18px} .showcase-inner{padding:12px} .showcase-cta{padding:12px 18px; font-size:16px} }
@media (max-width:420px){ .tile{ width:120px; height:120px } }

/* Filters */
.filters{position:static; border-bottom:1px solid var(--line)}

.filters .bar{display:grid; grid-template-columns:1fr; gap:10px; padding:12px 0}
.input{padding:10px 12px; border-radius:12px; background:var(--surface); color:var(--text); border:1px solid var(--line)}
/* Dropdown pills */
.dropdowns{display:grid; grid-template-columns:1fr 1fr; gap:10px}
@media (max-width:760px){ .dropdowns{grid-template-columns:1fr} }
.pill{display:inline-flex; align-items:center; gap:6px; padding:8px 12px; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:#fff; cursor:pointer; user-select:none}
.dropdown{position:relative}
.dropdown > summary::-webkit-details-marker{display:none}
.dropdown > summary{list-style:none}
.dropdown .panel{
  position:absolute; left:0; min-width:260px; z-index:1000;
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:10px;
  opacity:0; transform:translateY(-6px); transition:opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dropdown[open] .panel{opacity:1; transform:translateY(8px); box-shadow:0 18px 40px rgba(0,0,0,.45)}
.panel .pill{margin:4px 6px 0 0}
@media (max-width:760px){ .dropdown .panel{ left:0; right:0; min-width:auto; max-width:calc(100vw - 24px); margin-inline:12px } }

/* Sort select compact */
.sort-row{display:flex; align-items:center; gap:8px; margin-top:8px}
select.compact{max-width:220px; padding:10px 12px; border-radius:12px; background:var(--surface); color:var(--text); border:1px solid var(--line)}

/* Grid & cards (smaller desktop) */
.main{padding:18px 0 40px}
.grid{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px}
@media (min-width:760px){ .grid{grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px} }
@media (min-width:1100px){ .grid{grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px} }
.card{background:#fff; color:#0c0c0d; border-radius:18px; overflow:hidden; box-shadow:0 8px 26px rgba(0,0,0,.12); transition:transform .18s ease, box-shadow .18s ease, filter .18s ease}
.card:hover{transform:translateY(-2px); box-shadow:0 14px 32px rgba(0,0,0,.18); filter:brightness(1.03)}
.thumb{position:relative}
.thumb img{width:100%; height:auto; aspect-ratio:1/1; object-fit:cover}
.badge{position:absolute; left:10px; top:10px; background:var(--brand); color:#fff; font-size:12px; padding:6px 8px; border-radius:999px}
.body{padding:10px 12px}
.title{margin:2px 0 6px; font-weight:800; font-size:14px}
.brandline{font-size:13px; opacity:.7}
.go{display:inline-block; margin-top:10px; background:#0f172a; color:#fff; padding:10px 12px; border-radius:999px; font-weight:800}
.go:focus-visible, .input:focus-visible, select:focus-visible, .pill:focus-visible { outline:3px solid var(--brand); outline-offset:2px }

/* Footer */
footer{border-top:1px solid var(--line); padding:22px 0 28px; color:var(--muted); font-size:14px}
footer .credits{opacity:.9}

:root{ --header-pt: 60px; } /* fallback */
body{ padding-top: var(--header-pt) !important; }
