@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #08070c;
  --text: #f5f1e8;
  --text-2: rgba(245, 241, 232, .74);
  --muted: rgba(245, 241, 232, .5);
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .09);
  --stroke: rgba(255, 255, 255, .12);
  --stroke-2: rgba(255, 255, 255, .22);
  --gold: #e8c46a;
  --gold-2: #c9973a;
  --gold-grad: linear-gradient(120deg, #b8862f 0%, #f3d98b 25%, #fff3cc 38%, #e2b65a 55%, #a87a28 78%, #f0d282 100%);
  --ok: #8be3b9;
  --warn: #f2c66d;
  --radius: 22px;
  --serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(.2, .9, .3, 1);
  --mx: 50vw; --my: 30vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }
::selection { background: rgba(232, 196, 106, .35); }

/* ===== Živé pozadí ===== */
.aurora { position: fixed; inset: -20vmax; z-index: 0; pointer-events: none; filter: blur(70px) saturate(1.2); opacity: .9; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.aurora i:nth-child(1) { width: 55vmax; height: 55vmax; left: 10%; top: 5%; background: radial-gradient(circle, rgba(201, 151, 58, .55), transparent 65%); animation: orb1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 60vmax; height: 60vmax; right: 0; top: 20%; background: radial-gradient(circle, rgba(92, 40, 140, .55), transparent 65%); animation: orb2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 50vmax; height: 50vmax; left: 30%; bottom: 0; background: radial-gradient(circle, rgba(12, 92, 98, .5), transparent 65%); animation: orb3 28s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { width: 40vmax; height: 40vmax; left: 0; bottom: 10%; background: radial-gradient(circle, rgba(130, 28, 64, .45), transparent 65%); animation: orb4 36s ease-in-out infinite alternate; }
@keyframes orb1 { to { transform: translate(18vmax, 12vmax) scale(1.15); } }
@keyframes orb2 { to { transform: translate(-22vmax, 8vmax) scale(.9); } }
@keyframes orb3 { to { transform: translate(-10vmax, -18vmax) scale(1.2); } }
@keyframes orb4 { to { transform: translate(20vmax, -10vmax) scale(1.1); } }

.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.spot { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(232, 196, 106, .09), transparent 60%); }
.grain { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== Stránka ===== */
.page { position: relative; z-index: 3; transition: filter .8s var(--ease), opacity .8s; }
body.is-welcome { overflow: hidden; }
body.is-welcome .page { filter: blur(10px) brightness(.7); pointer-events: none; user-select: none; animation: drift 60s linear infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.04) translateY(-900px); } }

/* Skleněný rámeček s obíhajícím zlatým světlem */
.glass-border { position: relative; isolation: isolate; }
.glass-border::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--ang), rgba(255, 255, 255, .1) 0deg, rgba(243, 217, 139, .9) 40deg, rgba(255, 255, 255, .1) 90deg, rgba(255, 255, 255, .1) 200deg, rgba(180, 140, 255, .6) 250deg, rgba(255, 255, 255, .1) 300deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

.gold-text { background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 220% center; } }

/* ===== Hlavička ===== */
.header { position: sticky; top: 0; z-index: 20; background: rgba(10, 9, 15, .78); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--stroke); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; letter-spacing: 4px; text-decoration: none; color: var(--text); white-space: nowrap; }
.logo b { background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; font-weight: 800; }
.logo-gem { font-size: 22px; color: var(--gold); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(232, 196, 106, .6)); }
.logo-sm { font-size: 17px; letter-spacing: 3px; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }

.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 700; padding: 12px 22px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .25s; text-decoration: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% auto; color: #1a1305; box-shadow: 0 6px 24px rgba(201, 151, 58, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-gold:hover { box-shadow: 0 10px 34px rgba(232, 196, 106, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: rgba(232, 196, 106, .6); background: var(--glass-2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn svg { font-size: 16px; }
[data-magnetic] { transition: transform .3s var(--ease), box-shadow .25s; }

/* ===== Katalog ===== */
.catalog { padding-top: 56px; padding-bottom: 80px; }
.catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold-grad); }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.5px; }
h1 em, .results-head h2 em, .w-title em { font-style: italic; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: .06em; }
.lead { color: var(--text-2); margin-top: 10px; font-size: 17px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); white-space: nowrap; letter-spacing: .5px; }
.sort select { appearance: none; -webkit-appearance: none; border: 1px solid var(--stroke); border-radius: 999px; padding: 10px 38px 10px 16px; background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8c46a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; color: var(--text); backdrop-filter: blur(12px); cursor: pointer; }
.sort select option { background: #15131c; color: var(--text); }

.tabs { position: relative; display: flex; gap: 4px; margin-bottom: 30px; overflow-x: auto; scrollbar-width: none; padding: 5px; background: var(--glass); border: 1px solid var(--stroke); border-radius: 999px; width: max-content; max-width: 100%; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--text-2); transition: color .3s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #1a1305; }
.tab-ind { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--gold-grad); background-size: 200% auto; box-shadow: 0 4px 18px rgba(201, 151, 58, .4); transition: transform .45s var(--ease), width .45s var(--ease); }

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

/* ===== Karta nabídky ===== */
.card {
  --rx: 0deg; --ry: 0deg; --x: 50%; --y: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025) 60%);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
  animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.card.is-tilt { transition: transform .12s linear, border-color .3s, box-shadow .3s; }
.card:hover { border-color: rgba(232, 196, 106, .5); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(232, 196, 106, .15), 0 0 40px -10px rgba(232, 196, 106, .35); }
.card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--x) var(--y), rgba(255, 255, 255, .14), transparent 45%); }
.card:hover::after { opacity: 1; }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: var(--radius); }
.card-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.card-img { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; color: rgba(255, 240, 200, .92); }
.card-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(255, 230, 170, .35), transparent 42%), radial-gradient(circle at 10% 100%, rgba(0, 0, 0, .45), transparent 55%), linear-gradient(180deg, transparent 55%, rgba(8, 7, 12, .55)); }
.card-img::after { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg at 50% 50%, transparent 0 40%, rgba(255, 255, 255, .06) 50%, transparent 60%); animation: rotate 14s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.card-img > svg { font-size: 58px; stroke-width: 1.1; position: relative; z-index: 1; filter: drop-shadow(0 0 18px rgba(255, 220, 150, .45)); transition: transform .6s var(--ease); }
.card:hover .card-img > svg { transform: scale(1.12) translateY(-4px); }
.t-pobyt    { background: linear-gradient(135deg, #10183a, #3a2f7d 60%, #6a55c4); }
.t-wellness { background: linear-gradient(135deg, #04262b, #0f6b66 60%, #33b3a3); }
.t-jidlo    { background: linear-gradient(135deg, #2a0a10, #7c2a22 60%, #c7663a); }
.t-zazitek  { background: linear-gradient(135deg, #07142c, #173f8a 60%, #3c86e0); }
.t-krasa    { background: linear-gradient(135deg, #2a0a26, #7a245c 60%, #d0588c); }
.t-darek    { background: linear-gradient(135deg, #1c1033, #5a3a1a 60%, #c9973a); }

.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold-grad); background-size: 200% auto; color: #1a1305; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); animation: shimmer 5s linear infinite; }
.ends { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(8, 7, 12, .45); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ends::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff6b8b; box-shadow: 0 0 0 0 rgba(255, 107, 139, .7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 107, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 139, 0); } }
.card-body { position: relative; z-index: 2; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; transform: translateZ(30px); }
.card-body h3 { font-size: 16.5px; line-height: 1.32; font-weight: 700; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.meta svg { font-size: 14px; color: var(--gold); }
.price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; padding-top: 8px; }
.price s { color: var(--muted); font-size: 14px; }
.price strong { font-size: 23px; font-weight: 800; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Výsledky průvodce ===== */
.results { padding-top: 52px; }
.results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.results-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.4px; }
.results-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); font-weight: 600; font-size: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .25s, background .25s, transform .25s var(--ease); }
button.chip:hover { border-color: rgba(232, 196, 106, .6); background: var(--glass-2); transform: translateY(-2px); }
.chip svg { font-size: 13px; color: var(--gold); }

.top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; perspective: 1200px; }
.top3 .card:first-child { border-color: transparent; }
.top3 .card:first-child::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 4; pointer-events: none;
  background: conic-gradient(from var(--ang), #a87a28, #fff3cc, #e2b65a, #a87a28 50%, #f3d98b, #a87a28);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 5s linear infinite;
}
.top3 .card:first-child { box-shadow: 0 30px 80px -25px rgba(201, 151, 58, .55); }
.rank { position: absolute; bottom: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(8, 7, 12, .55); border: 1px solid rgba(232, 196, 106, .55); color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.why { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.why li { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ok); background: rgba(139, 227, 185, .1); border: 1px solid rgba(139, 227, 185, .22); padding: 3px 10px; border-radius: 999px; }
.why li svg { font-size: 12px; stroke-width: 3; }
.why li.no { color: var(--warn); background: rgba(242, 198, 109, .1); border-color: rgba(242, 198, 109, .25); }
.why li.tag { color: var(--text-2); background: var(--glass); border-color: var(--stroke); }
.sub { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 8px 0 20px; }
.empty-note { background: rgba(242, 198, 109, .08); border: 1px solid rgba(242, 198, 109, .3); border-radius: 16px; padding: 16px 20px; margin-bottom: 26px; color: #f6dfa8; backdrop-filter: blur(12px); }
.divider { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 196, 106, .5), transparent); margin: 64px 0 0; }

/* ===== Uvítací okno ===== */
.welcome { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at center, rgba(8, 7, 12, .15), rgba(8, 7, 12, .75)); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; overflow-y: auto; }
body.is-welcome .welcome { opacity: 1; visibility: visible; }
.welcome-card {
  width: 100%; max-width: 680px; border-radius: 32px; padding: 26px 36px 20px;
  background: linear-gradient(160deg, rgba(40, 34, 52, .55), rgba(16, 14, 22, .55));
  backdrop-filter: blur(28px) saturate(1.6); -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: translateY(24px) scale(.96); opacity: 0;
  transition: transform .8s var(--ease), opacity .6s;
}
body.is-welcome.w-ready .welcome-card { transform: none; opacity: 1; }
.welcome-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(500px circle at var(--cx, 50%) var(--cy, 0%), rgba(232, 196, 106, .12), transparent 55%); }

.w-top { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.w-back { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; border: 1px solid var(--stroke); background: var(--glass); transition: border-color .25s, transform .25s var(--ease); }
.w-back:hover { border-color: rgba(232, 196, 106, .6); transform: translateX(-2px); }
.w-progress { display: flex; gap: 6px; flex: 1; }
.w-progress i { position: relative; height: 4px; flex: 1; max-width: 54px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.w-progress i::after { content: ''; position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); box-shadow: 0 0 10px rgba(232, 196, 106, .8); }
.w-progress i.on::after { transform: scaleX(1); }
.w-skip { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); padding: 6px 4px; position: relative; transition: color .25s; }
.w-skip::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 1px; background: currentColor; opacity: .5; }
.w-skip:hover { color: var(--text); }

.w-body { padding: 18px 0 6px; }
.w-step { animation: stepIn .55s var(--ease) both; }
.w-step.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); filter: blur(6px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } }
.w-hello { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.w-hello::before { content: ''; width: 28px; height: 1px; background: var(--gold-grad); }
.w-title { font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); font-weight: 600; letter-spacing: -.4px; line-height: 1.08; margin: 10px 0 10px; }
.w-title .word { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(6px); animation: word .7s var(--ease) forwards; animation-delay: calc(var(--w) * 70ms + 120ms); }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.w-text { color: var(--text-2); margin-bottom: 22px; font-size: 16px; }
.w-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
.w-understood .chip { padding: 4px 11px; font-size: 13px; border-color: rgba(232, 196, 106, .4); color: #f6dfa8; }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; perspective: 900px; }
.opt {
  --rx: 0deg; --ry: 0deg; --x: 50%; --y: 50%;
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; text-align: left; padding: 15px 16px; border-radius: 18px;
  border: 1px solid var(--stroke); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  font-weight: 700; font-size: 15px; line-height: 1.25;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s, background .3s;
  animation: rise .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 45ms + 150ms);
}
.opt.is-tilt { transition: transform .12s linear, border-color .3s, box-shadow .3s, background .3s; }
.opt::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(220px circle at var(--x) var(--y), rgba(232, 196, 106, .22), transparent 60%); }
.opt:hover { border-color: rgba(232, 196, 106, .55); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .6), 0 0 24px -6px rgba(232, 196, 106, .35); }
.opt:hover::after { opacity: 1; }
.opt:active { transform: scale(.97); }
.opt.sel { border-color: var(--gold); background: linear-gradient(160deg, rgba(232, 196, 106, .22), rgba(232, 196, 106, .06)); box-shadow: 0 0 0 1px rgba(232, 196, 106, .4), 0 0 30px -6px rgba(232, 196, 106, .55); }
.opt-ico { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff3cc; flex: none; font-size: 19px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 16px -6px rgba(0, 0, 0, .6); transition: transform .5s var(--ease); }
.opt:hover .opt-ico { transform: scale(1.1) rotate(-6deg); }
.opt-ico.plain { background: rgba(255, 255, 255, .08); color: var(--gold); border: 1px solid var(--stroke); }
.opt-any { color: var(--text-2); font-weight: 600; }

.ask { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 22px; border: 1px solid var(--stroke-2); border-radius: 999px; padding: 6px 6px 6px 22px; background: rgba(8, 7, 12, .35); transition: border-color .3s, box-shadow .3s; }
.ask:focus-within { border-color: rgba(232, 196, 106, .8); box-shadow: 0 0 0 4px rgba(232, 196, 106, .15), 0 0 40px -8px rgba(232, 196, 106, .45); }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; padding: 11px 0; color: var(--text); }
.ask input::placeholder { color: rgba(245, 241, 232, .42); }
.ask-mic, .ask-go { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; flex: none; transition: background .25s, transform .25s var(--ease), box-shadow .25s; }
.ask-mic { color: var(--text-2); border: 1px solid transparent; }
.ask-mic:hover { background: var(--glass-2); color: var(--gold); border-color: var(--stroke); }
.ask-go { background: var(--gold-grad); background-size: 200% auto; color: #1a1305; box-shadow: 0 6px 20px rgba(201, 151, 58, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.ask-go:hover { transform: scale(1.06); box-shadow: 0 8px 30px rgba(232, 196, 106, .65), inset 0 1px 0 rgba(255, 255, 255, .5); }
.ask-go:active { transform: scale(.94); }
.ask.rec .ask-mic { background: linear-gradient(135deg, #ff5f8a, #c2185b); color: #fff; animation: pulse 1.3s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 95, 138, .6); } 100% { box-shadow: 0 0 0 18px rgba(255, 95, 138, 0); } }
.ask-wave { display: none; align-items: center; gap: 3px; height: 26px; margin-right: 6px; }
.ask.rec .ask-wave { display: flex; }
.ask-wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--gold-grad); transform: scaleY(.25); animation: wave 1s ease-in-out infinite; }
.ask-wave i:nth-child(2) { animation-delay: .1s; } .ask-wave i:nth-child(3) { animation-delay: .25s; } .ask-wave i:nth-child(4) { animation-delay: .4s; }
.ask-wave i:nth-child(5) { animation-delay: .15s; } .ask-wave i:nth-child(6) { animation-delay: .3s; } .ask-wave i:nth-child(7) { animation-delay: .05s; }
@keyframes wave { 50% { transform: scaleY(1); } }
.ask-note { min-height: 22px; font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.ask-note.ok { color: #f6dfa8; }
.ask-note.err { color: #ff9cae; }
.w-demo { text-align: center; font-size: 11.5px; color: rgba(245, 241, 232, .32); margin-top: 2px; letter-spacing: .3px; }

/* Hledání */
.w-search { text-align: center; padding: 26px 0 18px; animation: stepIn .5s var(--ease) both; }
.orbit { position: relative; width: 120px; height: 120px; margin: 0 auto 26px; }
.orbit::before, .orbit::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--gold); border-right-color: rgba(232, 196, 106, .3); animation: rotate 1.1s linear infinite; filter: drop-shadow(0 0 8px rgba(232, 196, 106, .7)); }
.orbit::after { inset: 16px; border-top-color: #b48cff; border-right-color: rgba(180, 140, 255, .25); animation-duration: 1.6s; animation-direction: reverse; }
.orbit svg { position: absolute; inset: 0; margin: auto; font-size: 34px; color: var(--gold); stroke-width: 1.4; animation: breathe 1.6s ease-in-out infinite; filter: drop-shadow(0 0 12px rgba(232, 196, 106, .8)); }
@keyframes breathe { 50% { transform: scale(1.15); } }
.w-search h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.w-search .count { font-size: 15px; color: var(--text-2); margin-top: 8px; font-variant-numeric: tabular-nums; }
.w-search .flash { height: 22px; margin-top: 10px; font-size: 14px; color: var(--gold); opacity: .85; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; padding: 14px 22px; border-radius: 999px; background: rgba(20, 17, 28, .6); border: 1px solid rgba(232, 196, 106, .45); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 30px -8px rgba(232, 196, 106, .5); animation: fabIn .6s var(--ease) both; }
.fab svg { color: var(--gold); font-size: 18px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(20deg) scale(1.2); filter: drop-shadow(0 0 6px rgba(232, 196, 106, .9)); } }
@keyframes fabIn { from { opacity: 0; transform: translateY(24px); } }

/* ===== Detail ===== */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(5, 4, 8, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; overflow-y: auto; animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: 100%; max-width: 580px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, rgba(40, 34, 52, .75), rgba(14, 12, 20, .85)); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); animation: pop .55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.95); } }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(8, 7, 12, .5); border: 1px solid var(--stroke-2); display: grid; place-items: center; font-size: 18px; backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .25s; }
.modal-x:hover { transform: rotate(90deg); border-color: var(--gold); }
.modal .card-img { aspect-ratio: 16 / 8; }
.modal .card-img > svg { font-size: 74px; }
.m-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.m-body h2 { font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 600; }
.m-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text-2); }
.m-facts span { display: inline-flex; align-items: center; gap: 7px; }
.m-facts svg { color: var(--gold); }
.m-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--stroke); padding-top: 18px; margin-top: 4px; }
.m-buy .price strong { font-size: 32px; }
.m-buy .btn[disabled] { filter: grayscale(.4); opacity: .55; cursor: not-allowed; }
.m-note { font-size: 12.5px; color: var(--muted); }

/* ===== Patička ===== */
.footer { position: relative; color: var(--muted); font-size: 13px; padding: 34px 0; border-top: 1px solid var(--stroke); background: rgba(8, 7, 12, .4); backdrop-filter: blur(12px); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== Mobil ===== */
@media (max-width: 900px) {
  .top3 { grid-template-columns: 1fr; }
  .header-in { gap: 16px; }
  .nav { display: none; }
  .header .btn-sm { margin-left: auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header-in { height: 64px; }
  .logo { font-size: 18px; letter-spacing: 3px; }
  .logo-gem { font-size: 18px; }
  .header .btn-sm { padding: 9px 14px; font-size: 13px; }
  .catalog { padding-top: 36px; }
  .catalog-head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .welcome { place-items: end center; padding: 0; }
  .welcome-card { border-radius: 28px 28px 0 0; padding: 18px 18px 14px; max-height: 100dvh; overflow-y: auto; }
  .opts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opt { padding: 12px; font-size: 14px; gap: 10px; }
  .opt-ico { width: 34px; height: 34px; font-size: 16px; border-radius: 11px; }
  .ask { padding-left: 16px; }
  .ask-mic, .ask-go { width: 44px; height: 44px; }
  .fab { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.is-welcome .page { animation: none; }
}

.w-title .word.g { background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: .06em; animation: word .7s var(--ease) forwards, shimmer 6s linear infinite; animation-delay: calc(var(--w) * 70ms + 120ms), 0s; }

/* Logo jako jedno slovo – LUX těsně navazuje na SLEVO */
.logo-txt { display: inline-flex; letter-spacing: 2.5px; }
.logo-txt b { margin-left: -1px; }

/* ===== Fotky v kartách ===== */
.card-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease), filter .6s; filter: saturate(1.05) brightness(.92); }
.card:hover .card-img > img { transform: scale(1.1); filter: saturate(1.15) brightness(1); }
.card-img::before { z-index: 1; background: linear-gradient(180deg, rgba(8, 7, 12, .25) 0%, transparent 30%, transparent 55%, rgba(8, 7, 12, .75) 100%); }
.card-img::after { z-index: 1; }
.cat { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #fff; background: rgba(8, 7, 12, .4); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 10px 4px 8px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cat svg { color: var(--gold); font-size: 13px; }
.top3 .cat { display: none; }
.modal .card-img > img { transform: none; }

/* ===== Nabídky dne ===== */
.hero { padding-top: 34px; }
.hero-card { position: relative; border-radius: 32px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #120f18; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 8s linear; }
.hero-media img.on { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 7, 12, .92) 0%, rgba(8, 7, 12, .6) 38%, rgba(8, 7, 12, .05) 70%), linear-gradient(0deg, rgba(8, 7, 12, .7), transparent 45%); }
.hero-text { position: relative; padding: 48px 52px; max-width: 640px; }
.hero-in { animation: stepIn .8s var(--ease) both; }
.hero-in h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.4px; margin: 4px 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-2); font-size: 14px; }
.hero-meta svg { color: var(--gold); }
.hero-buy { display: flex; align-items: center; gap: 16px; margin: 22px 0 26px; }
.hero-sleva { font-weight: 800; font-size: 18px; color: #1a1305; background: var(--gold-grad); background-size: 200% auto; padding: 8px 14px; border-radius: 14px; animation: shimmer 5s linear infinite; box-shadow: 0 8px 26px rgba(201, 151, 58, .45); }
.hero-buy .price { padding: 0; margin: 0; }
.hero-buy .price strong { font-size: 36px; }
.hero-buy .price s { font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots { position: absolute; right: 28px; bottom: 28px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 34px; height: 22px; display: grid; place-items: center; }
.hero-dots i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.hero-dots [aria-selected="true"] i::after { animation: progress 6.5s linear forwards; }
.hero.paused .hero-dots [aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 700px) {
  .hero { padding-top: 20px; }
  .hero-card { min-height: 520px; border-radius: 24px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 7, 12, .95) 0%, rgba(8, 7, 12, .55) 55%, rgba(8, 7, 12, .1) 100%); }
  .hero-text { padding: 26px 22px 64px; }
  .hero-buy .price strong { font-size: 28px; }
  .hero-dots { left: 22px; right: auto; bottom: 22px; }
}

/* ===== Hlídač slevy a připomínka dárku ===== */
.offer {
  position: relative; display: grid; grid-template-columns: auto 1fr minmax(320px, 440px); gap: 22px 28px; align-items: center;
  margin: 0 0 44px; padding: 30px 32px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, rgba(232, 196, 106, .12), rgba(255, 255, 255, .04) 45%, rgba(120, 80, 200, .08));
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
  animation: rise .8s var(--ease) backwards; animation-delay: .35s;
}
.offer::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 196, 106, .22), transparent 70%); pointer-events: none; }
.offer-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #1a1305; background: var(--gold-grad); background-size: 200% auto; box-shadow: 0 10px 30px rgba(201, 151, 58, .45), inset 0 1px 0 rgba(255, 255, 255, .5); animation: shimmer 5s linear infinite; align-self: center; }
.offer-ico svg { stroke-width: 1.8; transform-origin: 50% 10%; animation: ring 4s ease-in-out infinite; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(14deg); } 78% { transform: rotate(-12deg); } 82% { transform: rotate(8deg); } 86% { transform: rotate(-4deg); } }
.offer-txt .kicker { margin-bottom: 6px; }
.offer-txt h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.12; margin-bottom: 8px; }
.offer-txt h3 em, .offer-ok h3 em { font-style: italic; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: .06em; }
.offer-txt p { color: var(--text-2); font-size: 15px; }
.offer-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.offer-sum span { font-size: 12.5px; font-weight: 600; color: #f6dfa8; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(232, 196, 106, .35); background: rgba(232, 196, 106, .08); }

.offer-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.f-row { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: rgba(8, 7, 12, .45); border: 1px solid var(--stroke-2); transition: border-color .3s, box-shadow .3s; }
.f-row:focus-within { border-color: rgba(232, 196, 106, .8); box-shadow: 0 0 0 4px rgba(232, 196, 106, .14), 0 0 30px -8px rgba(232, 196, 106, .45); }
.f-row .f-in { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 14px; outline: 0; }
.f-row .btn { padding: 11px 18px; white-space: nowrap; }
.f-in { font-size: 15px; color: var(--text); }
.f-in::placeholder { color: rgba(245, 241, 232, .4); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-lab { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: var(--muted); }
.f-lab .f-in { width: 100%; padding: 11px 14px; border-radius: 14px; background: rgba(8, 7, 12, .45); border: 1px solid var(--stroke-2); outline: 0; transition: border-color .25s, box-shadow .25s; }
.f-lab .f-in:focus { border-color: rgba(232, 196, 106, .8); box-shadow: 0 0 0 3px rgba(232, 196, 106, .14); }
.f-lab select.f-in { appearance: none; -webkit-appearance: none; padding-right: 30px; background: rgba(8, 7, 12, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8c46a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 13px; cursor: pointer; }
.f-lab select option { background: #15131c; color: var(--text); }
.f-date { grid-column: 1 / -1; }
.f-date > span { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.f-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.f-check input { position: absolute; opacity: 0; pointer-events: none; }
.f-check .box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--stroke-2); display: grid; place-items: center; font-size: 13px; color: transparent; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.f-check .box svg { stroke-width: 3.2; }
.f-check input:checked + .box { background: var(--gold-grad); background-size: 200% auto; border-color: transparent; color: #1a1305; transform: scale(1.05); }
.f-check input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }
.f-small { font-size: 12px; color: var(--muted); }
.f-err { min-height: 0; font-size: 13px; color: #ff9cae; }
.f-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Po odeslání */
.offer.done { grid-template-columns: 1fr; }
.offer-ok { position: relative; display: flex; align-items: center; gap: 24px; animation: stepIn .6s var(--ease) both; }
.offer-ok h3 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.12; margin-bottom: 6px; }
.offer-ok p { color: var(--text-2); }
.offer-ok p b { color: var(--text); }
.offer-ok .f-small { margin-top: 8px; }
.ok-ring { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); background-size: 200% auto; color: #1a1305; box-shadow: 0 0 0 0 rgba(232, 196, 106, .6); animation: okPop .7s var(--ease) both, okGlow 1.8s ease-out .3s; }
.ok-ring svg { font-size: 38px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .35s ease forwards; }
@keyframes okPop { from { transform: scale(.3); opacity: 0; } }
@keyframes okGlow { to { box-shadow: 0 0 0 26px rgba(232, 196, 106, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.burst { position: absolute; left: 38px; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #f3d98b; box-shadow: 0 0 10px rgba(232, 196, 106, .9); opacity: 0; animation: spark .9s .25s ease-out forwards; }
.burst i:nth-child(odd) { width: 4px; height: 4px; background: #fff3cc; }
.burst i:nth-child(1) { --dx: 70px; --dy: -10px; } .burst i:nth-child(2) { --dx: 55px; --dy: -50px; } .burst i:nth-child(3) { --dx: 15px; --dy: -70px; }
.burst i:nth-child(4) { --dx: -30px; --dy: -62px; } .burst i:nth-child(5) { --dx: -62px; --dy: -30px; } .burst i:nth-child(6) { --dx: -70px; --dy: 10px; }
.burst i:nth-child(7) { --dx: -52px; --dy: 48px; } .burst i:nth-child(8) { --dx: -12px; --dy: 70px; } .burst i:nth-child(9) { --dx: 30px; --dy: 64px; }
.burst i:nth-child(10) { --dx: 62px; --dy: 36px; } .burst i:nth-child(11) { --dx: 88px; --dy: -34px; } .burst i:nth-child(12) { --dx: -86px; --dy: -8px; } .burst i:nth-child(13) { --dx: 40px; --dy: -86px; }
@keyframes spark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }

@media (max-width: 1000px) {
  .offer { grid-template-columns: auto 1fr; }
  .offer-form { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .offer { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; border-radius: 24px; }
  .offer-ico { width: 52px; height: 52px; font-size: 24px; border-radius: 16px; }
  .f-row { flex-direction: column; border-radius: 20px; }
  .f-row .btn { justify-content: center; }
  .offer-ok { flex-direction: column; align-items: flex-start; gap: 16px; }
  .burst { top: 38px; }
}

/* Popis v detailu nabídky */
.m-popis { color: var(--text-2); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.m-buy a.btn svg { font-size: 15px; }

/* ===== Navigace: odkazy na kategorie, menu „Více“, mobilní menu ===== */
.nav a, .nav summary { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; color: var(--text-2); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; transition: color .25s; cursor: pointer; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--gold-grad); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover, .nav summary:hover, .nav a.on { color: var(--text); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav { overflow: visible; }
.more { position: relative; }
.more summary { list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary svg { font-size: 14px; transition: transform .3s; }
.more[open] summary svg { transform: rotate(180deg); }
.more-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; min-width: 220px; display: flex; flex-direction: column; padding: 8px; border-radius: 16px; background: rgba(18, 16, 24, .96); border: 1px solid var(--stroke-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); backdrop-filter: blur(16px); animation: pop .3s var(--ease) both; }
.more-menu a { padding: 9px 12px; border-radius: 10px; }
.more-menu a::after { display: none; }
.more-menu a:hover { background: var(--glass-2); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--stroke-2); place-items: center; font-size: 20px; flex: none; }
.mmenu { border-top: 1px solid var(--stroke); padding: 14px 0 20px; max-height: calc(100dvh - 64px); overflow-y: auto; }
.mmenu-h { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin: 10px 0 8px; }
.mmenu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mmenu-grid a { padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--glass); }
.show-xs { display: none; }

/* ===== Drobnosti ===== */
a { color: var(--gold); }
.link-btn { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; font: inherit; padding: 0; }
.link-btn.gold { color: var(--gold); font-weight: 600; }
.link-btn:hover { color: var(--text); }
.demo-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #f6dfa8; background: rgba(232, 196, 106, .08); border: 1px solid rgba(232, 196, 106, .3); padding: 6px 12px; border-radius: 999px; }
.demo-note svg { color: var(--gold); flex: none; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span:last-child { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.center { text-align: center; justify-content: center; }
.mt { margin-top: 26px; }
a.chip { text-decoration: none; color: var(--text); }
a.chip:hover { border-color: rgba(232, 196, 106, .6); transform: translateY(-2px); }
.small-print { font-size: 13px; color: var(--muted); }

/* Gradienty nových kategorií */
.t-elektronika { background: linear-gradient(135deg, #0a1a2a, #1d4e6f 60%, #3aa0c8); }
.t-moda        { background: linear-gradient(135deg, #2a0d1e, #6b2550 60%, #c45a8a); }
.t-sport       { background: linear-gradient(135deg, #0a2416, #1e6a3c 60%, #4fbf6f); }
.t-domov       { background: linear-gradient(135deg, #24180a, #6a4a22 60%, #c79a52); }
.t-kurzy       { background: linear-gradient(135deg, #12112e, #3b3486 60%, #7e74e0); }
.t-auto        { background: linear-gradient(135deg, #1a1a1a, #4a4a52 60%, #9a9aa8); }
.cat svg { color: var(--gold); font-size: 13px; }

/* ===== Úvodní stránka: výhody a Rádce ===== */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: 60px; }
.usp-item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--stroke); color: var(--text-2); font-size: 14.5px; text-decoration: none; }
.usp-item b { color: var(--text); font-size: 16px; }
.usp-link { transition: border-color .3s, transform .3s var(--ease); }
.usp-link:hover { border-color: rgba(232, 196, 106, .55); transform: translateY(-3px); }
.usp-link b { color: var(--gold); }
.teaser { padding-bottom: 70px; }
.teaser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.teaser-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.1; }
.teaser-head h2 em, .empty-cat h2 em, .sub em, .prose h1 em, .prose-wrap h1 em { font-style: italic; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: .06em; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teaser-grid.list { margin-top: 30px; }
.teaser-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--stroke); transition: border-color .3s, transform .35s var(--ease); }
.teaser-card:hover { border-color: rgba(232, 196, 106, .5); transform: translateY(-4px); }
.teaser-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.teaser-card:hover img { transform: scale(1.06); }
.teaser-card span { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; position: relative; background: inherit; }
.teaser-card b { font-size: 17px; line-height: 1.3; }
.teaser-card small { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* ===== Kategorie bez nabídek ===== */
.empty-cat { padding: 40px; border-radius: 28px; background: linear-gradient(135deg, rgba(232, 196, 106, .1), rgba(255, 255, 255, .03)); text-align: left; max-width: 760px; }
.empty-cat h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.15; margin: 4px 0 12px; }
.empty-cat p { color: var(--text-2); margin-bottom: 22px; }
.cats-more { padding-bottom: 70px; }

/* ===== Stránka nabídky ===== */
.deal { padding-top: 36px; padding-bottom: 60px; }
.deal .results { padding-top: 0; }
.deal-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.deal-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: #15121c; }
.deal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-media .badge { font-size: 16px; padding: 7px 14px; top: 18px; left: 18px; }
.deal-info { display: flex; flex-direction: column; gap: 14px; }
.deal-info h1 { font-size: clamp(30px, 3.6vw, 44px); }
.deal-info .m-buy .price strong { font-size: 36px; }
.similar { margin-top: 60px; }

/* ===== Obsahové stránky ===== */
.prose-wrap { padding-top: 40px; padding-bottom: 80px; max-width: 860px; }
.prose-wrap.wide { max-width: 1240px; }
.prose-wrap.center { text-align: center; padding-top: 90px; padding-bottom: 120px; }
.prose-wrap.center .lead { max-width: 560px; margin: 12px auto 28px; }
.prose-wrap.center .chips { justify-content: center; }
.prose h1, .prose-wrap > h1 { margin-bottom: 14px; }
.prose .lead { font-size: 19px; color: var(--text-2); margin-bottom: 28px; line-height: 1.6; }
.prose h2 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; margin: 38px 0 12px; line-height: 1.2; }
.prose p, .prose li, .prose td { color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 18px 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold); }
.prose b { color: var(--text); }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 24px; margin: 6px 0 20px; }
.prose-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 40px 0 10px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(135deg, rgba(232, 196, 106, .12), rgba(255, 255, 255, .03)); }
.prose-cta div { display: flex; flex-direction: column; gap: 4px; }
.prose-cta b { font-size: 18px; }
.prose-cta span { color: var(--text-2); }
.prose-cta .btn { text-decoration: none; }
.table-plain { width: 100%; border-collapse: collapse; margin: 6px 0 18px; border: 1px solid var(--stroke); border-radius: 16px; overflow: hidden; }
.table-plain th, .table-plain td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--stroke); font-size: 15px; }
.table-plain th { width: 30%; color: var(--text); font-weight: 700; background: var(--glass); }
.table-plain tr:last-child th, .table-plain tr:last-child td { border-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 20px; }
.step, .feat { padding: 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--stroke); }
.step span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-grad); color: #1a1305; font-weight: 800; margin-bottom: 12px; }
.step b, .feat b { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 6px; }
.step p, .feat p { font-size: 14.5px; margin: 0; line-height: 1.6; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 10px 0 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.contact-card { padding: 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.contact-big { display: block; font-size: 20px; font-weight: 800; color: var(--text); text-decoration: none; margin: 6px 0 8px; word-break: break-all; }
.contact-big:hover { color: var(--gold); }

/* ===== Patička ===== */
.footer { padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--stroke); }
.footer-about p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--text-2); max-width: 360px; }
.footer-note { display: flex; gap: 8px; font-size: 12.5px !important; color: var(--muted) !important; }
.footer-note svg { color: var(--gold); margin-top: 3px; }
.footer-h { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer ul a, .footer .link-btn { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer ul a:hover, .footer .link-btn:hover { color: var(--gold); }
.footer .link-btn { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: 12.5px; color: var(--muted); }
.footer-demo { color: #c9b27a; }

/* ===== Cookie lišta ===== */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(400px, calc(100vw - 32px)); padding: 20px 22px; border-radius: 22px; background: rgba(20, 17, 28, .94); border: 1px solid var(--stroke-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 14px; color: var(--text-2); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); }
.cookies.je-videt { opacity: 1; transform: none; }
.cookies-h { font-weight: 800; color: var(--text); font-size: 16px; margin-bottom: 6px; }
.cookies-volby { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 4px; }
.cookies-volba { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cookies-volba input { margin-top: 4px; accent-color: #e2b65a; width: 16px; height: 16px; flex: none; }
.cookies-volba span { display: flex; flex-direction: column; }
.cookies-volba b { color: var(--text); font-size: 14px; }
.cookies-volba i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.cookies-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookies-btns .btn { padding: 9px 14px; font-size: 13px; }
.cookies-vic { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ===== Mobil ===== */
@media (max-width: 1100px) {
  .usp { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .header .btn-sm { margin-left: auto; }
  .teaser-grid { grid-template-columns: 1fr 1fr; }
  .deal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .usp, .teaser-grid, .feat-grid, .contact-grid { grid-template-columns: 1fr; }
  .teaser-head { flex-direction: column; align-items: flex-start; }
  .empty-cat { padding: 26px 20px; }
  .prose .lead { font-size: 17px; }
  .prose p, .prose li, .prose td { font-size: 16px; }
  .table-plain th, .table-plain td { display: block; width: 100%; }
  .table-plain th { border-bottom: 0; padding-bottom: 4px; }
  .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .deal-info .m-buy .price strong { font-size: 30px; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .btn-sm { margin-left: auto; }
}

/* Tlačítka uvnitř textu nesmí převzít zlatou barvu odkazů */
.prose .btn { text-decoration: none; }
.prose .btn-gold, .prose-wrap .btn-gold { color: #1a1305; }
.prose .btn-ghost, .prose-wrap .btn-ghost { color: var(--text); }
a.fab { text-decoration: none; }

/* ===== Výkon (hlavně iPhone/Safari) =====
   Rozmazání za průvodcem dělá průhledný překryv velikosti obrazovky, ne filtr přes celou
   dlouhou stránku – ten Safari na telefonu shodí kvůli paměti grafiky. */
body.is-welcome .page { filter: none; animation: none; transform: none; }
.welcome { -webkit-backdrop-filter: blur(12px) brightness(.72) saturate(1.1); backdrop-filter: blur(12px) brightness(.72) saturate(1.1); }
.aurora { filter: none; }

/* Plující stránka za průvodcem jen na počítači */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  body.is-welcome .page { animation: drift 60s linear infinite alternate; }
}

/* Telefony a tablety: bez desítek malých skleněných efektů a rotujících odlesků */
@media (max-width: 900px), (pointer: coarse) {
  .card-img::after, .card::after { display: none; }
  .card, .opt { transform: none; }
  .cat, .ends, .rank, .chip, .btn-ghost, .sort select, .tabs, .empty-note, .fab, .header, .modal, .modal-card, .footer, .offer, .more-menu {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .header { background: rgba(10, 9, 15, .94); }
  .fab { background: rgba(20, 17, 28, .94); }
  .modal { background: rgba(5, 4, 8, .82); }
  .modal-card { background: linear-gradient(160deg, #221d2c, #120f18); }
  .offer { background: linear-gradient(135deg, rgba(60, 48, 28, .9), rgba(22, 19, 30, .95)); }
  .cat, .ends, .rank { background: rgba(8, 7, 12, .7); }
  .aurora i { mix-blend-mode: normal; animation-duration: 60s; }
  .grain { display: none; }
}

/* Odkaz na provozovatele a podpis autora webu */
.footer-bottom a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(232, 196, 106, .4); }
.footer-bottom a:hover { color: var(--gold); }
.paticka-autor { text-align: center; font-size: 12px; color: rgba(245, 241, 232, .38); margin-top: 22px; }
.paticka-autor a { color: rgba(245, 241, 232, .55); text-decoration: none; }
.paticka-autor a:hover { color: var(--gold); }
