/* Dukatopia – stránka hry: tmavá zelená Monte Carlo, zlato, farby políčok z dosky */
@font-face { font-family: Lilita; src: url(assets/lilita-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: Lilita; src: url(assets/lilita-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: Rubik; src: url(assets/rubik-400-900-latin.woff2) format('woff2'); font-weight: 400 900; unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: Rubik; src: url(assets/rubik-400-900-latin-ext.woff2) format('woff2'); font-weight: 400 900; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: Barlow Condensed; src: url(assets/barlowc-800-latin.woff2) format('woff2'); font-weight: 800; unicode-range: U+0000-00FF, U+2000-206F; font-display: swap; }
@font-face { font-family: Barlow Condensed; src: url(assets/barlowc-800-latin-ext.woff2) format('woff2'); font-weight: 800; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }

:root {
	--bg: #061a14;
	--bg2: #0a251c;
	--bg3: #0f3226;
	--line: rgba(242, 193, 78, 0.16);
	--gold: #f2c14e;
	--gold2: #e09a2c;
	--cream: #fff4dc;
	--text: #e9efe9;
	--mute: #9fb5aa;
	--r: 18px;
	--w: 1180px;
	color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Rubik, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; gap: 0.55em; border: 0; border-radius: 999px; padding: 0.8em 1.5em; font: 700 16px/1 Rubik, sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-gold { color: #3a2203; background: linear-gradient(180deg, #ffe08a, var(--gold) 45%, var(--gold2)); box-shadow: 0 6px 0 #8a5410, 0 10px 30px rgba(242, 193, 78, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8a5410, 0 16px 40px rgba(242, 193, 78, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.btn-xl { font-size: 21px; padding: 0.85em 1.7em; position: relative; overflow: hidden; }
.btn-xl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%); transform: translateX(-120%); animation: shine 3.6s 1.2s infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-sm { font-size: 14px; padding: 0.7em 1.2em; box-shadow: 0 4px 0 #8a5410, 0 6px 18px rgba(242, 193, 78, 0.3); }
.btn-glass { color: var(--cream); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); }
.pl { font-size: 0.8em; }

/* navigácia */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 22px; padding: 12px max(16px, calc((100vw - var(--w)) / 2)); transition: background 0.3s, box-shadow 0.3s, transform 0.3s; }
.nav.solid { background: rgba(6, 26, 20, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 22px Lilita, sans-serif; color: var(--gold); letter-spacing: 0.3px; text-shadow: 0 2px 0 #5a3608; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--mute); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.links a:hover { color: var(--cream); }
.lang { background: none; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--mute); border-radius: 8px; padding: 6px 9px; font: 600 12px Rubik, sans-serif; cursor: pointer; }
.lang:hover { color: var(--cream); border-color: var(--gold); }
.nav.on-end .btn-sm { opacity: 0; pointer-events: none; }

/* úvod s trailerom */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000 url(media/poster.jpg) center / cover; }
.hero::before { content: ''; position: absolute; inset: 0; backdrop-filter: blur(24px) brightness(0.45); }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 1.2s, transform 1.6s; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 26, 20, 0.55), transparent 18%, transparent 75%, rgba(6, 26, 20, 0.9)); transition: background 1s; }
.hero-ui { position: absolute; z-index: 3; right: max(16px, calc((100vw - var(--w)) / 2)); bottom: 34px; display: flex; gap: 10px; transition: opacity 0.4s; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(8px); color: #fff; border-radius: 999px; padding: 9px 15px; font: 600 14px Rubik, sans-serif; cursor: pointer; }
.chip:hover { background: rgba(0, 0, 0, 0.65); border-color: var(--gold); }
.chip:not(.ghost) { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, 0.5); } 50% { box-shadow: 0 0 0 9px rgba(242, 193, 78, 0); } }
.hero-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); transition: opacity 0.4s; }
.hero-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); }

.endcard { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 16px 70px; opacity: 0; visibility: hidden; transition: opacity 0.8s, visibility 0.8s; }
.end-logo { width: min(520px, 78vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
.end-tag { margin: 6px 0 26px; font: 800 clamp(24px, 4vw, 40px)/1.1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--cream); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7); }
.end-tag b { color: var(--gold); }
.end-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: center; }
.end-pts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; color: var(--cream); font-size: 15px; text-shadow: 0 2px 8px #000; }
.end-pts li::before { content: '✓ '; color: var(--gold); font-weight: 800; }

.hero.done video { filter: blur(18px) brightness(0.4) saturate(1.2); transform: scale(1.08); }
.hero.done .hero-shade { background: radial-gradient(ellipse at 50% 45%, rgba(6, 26, 20, 0.1), rgba(6, 26, 20, 0.85) 75%); }
.hero.done .endcard { opacity: 1; visibility: visible; }
.hero.done .endcard > * { animation: rise 0.8s both; }
.hero.done .endcard > :nth-child(2) { animation-delay: 0.12s; }
.hero.done .endcard > :nth-child(3) { animation-delay: 0.24s; }
.hero.done .endcard > :nth-child(4) { animation-delay: 0.36s; }
.hero.done .hero-ui, .hero.done .hero-bar { opacity: 0; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } }

.scroll { position: absolute; z-index: 5; left: 50%; bottom: 18px; width: 26px; height: 40px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 14px; opacity: 0; transition: opacity 0.6s 0.8s; }
.scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.6s infinite; }
.hero.done .scroll { opacity: 1; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* bežiaci pás */
.ticker { overflow: hidden; background: linear-gradient(90deg, var(--gold2), var(--gold), var(--gold2)); color: #3a2203; border-block: 2px solid #8a5410; }
.tick-in { display: flex; width: max-content; animation: tick 38s linear infinite; }
.tick-in span { padding: 11px 26px; font: 800 18px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.tick-in span::after { content: '◆'; margin-left: 52px; font-size: 11px; vertical-align: 2px; opacity: 0.6; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sekcie */
.sec { padding: 110px max(16px, calc((100vw - var(--w)) / 2)); position: relative; }
.sec-alt { background: radial-gradient(ellipse at 50% 0, var(--bg3), var(--bg2) 60%); border-block: 1px solid var(--line); }
.sec-h { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.kick { margin: 0 0 12px; color: var(--gold); font: 800 15px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 3px; }
.sec-h h2, .final h2 { font: 400 clamp(34px, 5vw, 54px)/1.08 Lilita, sans-serif; color: var(--cream); letter-spacing: 0.3px; }
.lead { margin: 18px 0 0; color: var(--mute); font-size: 19px; }

.feat { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.feat:last-child { margin-bottom: 0; }
.feat.rev .clip { order: 2; }
.clip { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg3); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); transform: perspective(1200px) rotateY(var(--ry, -4deg)); transition: transform 0.6s; }
.feat.rev .clip { --ry: 4deg; }
.feat:hover .clip { --ry: 0deg; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.num { display: block; font: 800 64px/1 'Barlow Condensed', sans-serif; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 193, 78, 0.55); margin-bottom: 8px; }
.feat h3 { font: 400 clamp(28px, 3.4vw, 40px)/1.1 Lilita, sans-serif; color: var(--gold); margin-bottom: 14px; }
.feat p { margin: 0; color: var(--mute); font-size: 18px; }

.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { position: relative; display: block; padding: 30px 24px 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.09); text-decoration: none; overflow: hidden; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.mode::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.mode:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px color-mix(in srgb, var(--c) 25%, transparent); }
.m-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font-size: 26px; background: color-mix(in srgb, var(--c) 18%, transparent); margin-bottom: 18px; }
.mode h3 { font: 400 24px Lilita, sans-serif; color: var(--cream); margin-bottom: 8px; }
.mode p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.5; }
.promise { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px; margin-top: 64px; text-align: center; }
.promise b { display: block; font: 800 30px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }
.promise span { color: var(--mute); font-size: 15px; }

.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg3); box-shadow: 0 0 0 1px var(--line); }
.g img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s, filter 0.5s; }
.g:hover img { transform: scale(1.05); filter: brightness(1.1); }
.g-big { grid-column: span 2; grid-row: span 2; }

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--line); background: rgba(255, 255, 255, 0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 18px; color: var(--cream); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--gold); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--mute); }

.final { padding: 120px 16px 130px; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(242, 193, 78, 0.16), transparent 60%); }
.final img { margin: 0 auto 22px; border-radius: 22px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.final h2 { margin-bottom: 34px; }
.soon { margin: 30px 0 0; color: var(--mute); font-size: 15px; letter-spacing: 0.5px; }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 28px 16px 36px; border-top: 1px solid var(--line); color: #6f877c; font-size: 14px; }
.foot a { color: #6f877c; }

.lb { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lb::backdrop { background: rgba(2, 10, 8, 0.9); backdrop-filter: blur(6px); }
.lb img { max-width: 94vw; max-height: 92vh; border-radius: 12px; }
.lb-x { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 18px; cursor: pointer; }

/* odhalenie pri posune */
.rv:not(.in) { opacity: 0; }
.rv.in { animation: reveal 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both var(--d, 0s); }
@keyframes reveal { from { opacity: 0; translate: 0 36px; } }

@media (max-width: 900px) {
	.links { display: none; }
	.lang { margin-left: auto; }
	.sec { padding-block: 80px; }
	.feat, .feat.rev { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
	.feat.rev .clip { order: 0; }
	.clip { transform: none; }
	.modes { grid-template-columns: 1fr 1fr; }
	.gal { grid-template-columns: 1fr 1fr; }
	.g-big { grid-column: span 2; grid-row: auto; }
	.hero-ui { left: 16px; right: 16px; justify-content: center; }
}
/* na výšku sa trailer neoreže: celý obraz v strede, okolo rozmazaný plagát */
@media (max-aspect-ratio: 1/1) {
	.hero video { object-fit: contain; }
	.hero.done video { object-fit: cover; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.modes { grid-template-columns: 1fr; }
	.btn-xl { font-size: 18px; }
	.brand span { display: none; }
	.num { font-size: 48px; }
	.promise { gap: 18px 30px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.rv:not(.in) { opacity: 1; }
}
