/* KRICON Studio — site styles. Palette: near-black, deep crimson, vermilion, warm ivory (owner: red, not gold). */
:root {
  --bg: #07060a; --bg2: #0f0a0d; --panel: rgba(255, 255, 255, .035); --line: rgba(255, 235, 225, .09);
  --ink: #f7efe9; --mute: #b9aaa4; --dim: #7f716c;
  --red: #e3262f; --red2: #ff5b3a; --wine: #4a0c16; --rose: #ff9a8a;
  --grad: linear-gradient(120deg, #ff6a3d 0%, #e3262f 45%, #a3123a 100%);
  --display: 'Noto Serif Display', 'Times New Roman', serif; --sans: 'Inter', system-ui, sans-serif;
  --r: 22px; --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

/* film grain + a red glow that follows the pointer */
body::after { content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: .055;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, 1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }
.glow-cursor { position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 1; left: 0; top: 0;
  background: radial-gradient(circle, rgba(227, 38, 47, .13), transparent 62%); transform: translate(-50%, -50%); transition: opacity .4s; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--rose); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--grad); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; line-height: 1.04; }
h1 { font-size: clamp(46px, 7.4vw, 112px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--mute); max-width: 640px; }
.red { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .02em; transition: transform .25s, box-shadow .25s, background .25s; cursor: pointer; border: 0; }
.btn-red { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(227, 38, 47, .7); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(255, 91, 58, .8); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn svg { width: 18px; height: 18px; }
.tag { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 120, 100, .35); color: var(--rose); background: rgba(227, 38, 47, .08); }
.tag.live { color: #9ff0b8; border-color: rgba(120, 230, 160, .35); background: rgba(80, 200, 120, .08); }

/* header */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7, 6, 10, .72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: 38px; }
.brand b { font: 700 17px/1 var(--sans); letter-spacing: .34em; }
.brand small { display: block; font: 500 10px/1 var(--sans); letter-spacing: .5em; color: var(--mute); margin-top: 5px; }
.menu { display: flex; gap: 34px; font: 500 14px/1 var(--sans); letter-spacing: .04em; }
.menu a { color: var(--mute); position: relative; padding: 6px 0; transition: color .2s; }
.menu a:hover, .menu a.on { color: var(--ink); }
.menu a.on::after, .menu a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad); border-radius: 2px; }
.burger { display: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; }
@media (max-width: 860px) { .menu { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(7, 6, 10, .96); padding: 10px 24px 24px; border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; } .menu a { padding: 16px 0; font-size: 17px; } .burger { display: block; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7, 6, 10, .55) 0%, rgba(7, 6, 10, .15) 35%, rgba(7, 6, 10, .78) 78%, var(--bg) 100%),
              linear-gradient(90deg, rgba(7, 6, 10, .85) 0%, rgba(7, 6, 10, .25) 55%, rgba(7, 6, 10, 0) 100%),
              radial-gradient(120% 80% at 80% 20%, rgba(227, 38, 47, .25), transparent 60%); }
.hero .wrap { padding-bottom: clamp(70px, 12vh, 140px); }
.hero h1 { margin: 22px 0 22px; max-width: 900px; }
.hero .lead { color: #e2d5cf; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.scroll-hint { position: absolute; right: 40px; bottom: 40px; z-index: 3; font: 600 11px/1 var(--sans); letter-spacing: .3em; color: var(--mute); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; }
.scroll-hint::after { content: ''; width: 1px; height: 70px; background: linear-gradient(var(--red), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: linear-gradient(90deg, rgba(227, 38, 47, .06), transparent 40%, rgba(227, 38, 47, .06)); }
.marquee div { display: flex; gap: 60px; width: max-content; animation: slide 38s linear infinite; font: 500 clamp(22px, 2.6vw, 34px)/1 var(--display); color: rgba(247, 239, 233, .55); white-space: nowrap; }
.marquee span::after { content: '✦'; color: var(--red); margin-left: 60px; font-size: .6em; vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%) } }

section.block { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.head h2 { margin-top: 18px; max-width: 760px; }

/* "now" cards */
.now { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); min-height: 300px; display: flex; isolation: isolate; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s; }
.card:hover { border-color: rgba(255, 110, 90, .35); }
.card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover .bg { transform: scale(1.06); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 6, 10, 0) 25%, rgba(7, 6, 10, .92) 100%); }
.card .shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 120, 100, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover .shine { opacity: 1; }
.card .in { margin-top: auto; padding: 34px; width: 100%; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--mute); max-width: 520px; }
.card:not(.big) .in { padding-right: 46%; }
@media (max-width: 600px) { .card:not(.big) .in { padding-right: 34px; } .card .phone { opacity: .35; } }
.card .go { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rose); }
.card .go::after { content: '→'; transition: transform .25s; }
.card:hover .go::after { transform: translateX(5px); }
.card.big { grid-row: span 2; min-height: 640px; }
.card .phone { position: absolute; right: 24px; top: 24px; width: auto; height: 62%; max-height: 260px; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(4deg); transition: transform .6s; }
.card:hover .phone { transform: rotate(0) translateY(-6px); }
.card .appicon { width: 62px; height: 62px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); }
@media (max-width: 900px) { .now { grid-template-columns: 1fr; } .card.big { min-height: 520px; grid-row: auto; } }

/* ecosystem */
.eco { background: radial-gradient(70% 60% at 50% 40%, rgba(227, 38, 47, .14), transparent 70%), linear-gradient(180deg, var(--bg), #0d0709 50%, var(--bg)); overflow: hidden; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.orbit { position: relative; aspect-ratio: 1; width: min(560px, 100%); margin-inline: auto; }
.orbit .ring { position: absolute; inset: var(--i); border-radius: 50%; border: 1px dashed rgba(255, 140, 120, .18); animation: spin var(--s) linear infinite; }
.orbit .ring.rev { animation-direction: reverse; }
.orbit .ring img { position: absolute; width: var(--z); height: var(--z); border-radius: 30%; left: 50%; top: 50%; margin: calc(var(--z) / -2); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .8);
  transform: rotate(var(--a)) translateY(calc(var(--rad) * -1)) rotate(calc(var(--a) * -1)); }
.orbit .ring img { animation: counter var(--s) linear infinite; }
.orbit .ring.rev img { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes counter { from { transform: rotate(var(--a)) translateY(calc(var(--rad) * -1)) rotate(calc(var(--a) * -1)) } to { transform: rotate(var(--a)) translateY(calc(var(--rad) * -1)) rotate(calc(var(--a) * -1 - 360deg)) } }
.orbit .core { position: absolute; inset: 34%; border-radius: 28%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 90px 10px rgba(227, 38, 47, .45); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 130px 22px rgba(255, 91, 58, .5) } }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px; }
.pill-list span { padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: #e7dcd6; }
.stats { display: flex; gap: 46px; margin: 34px 0; flex-wrap: wrap; }
.stats b { display: block; font: 600 46px/1 var(--display); }
.stats small { color: var(--mute); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .eco-grid { grid-template-columns: 1fr; } }

/* split feature */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.split.flip { grid-template-columns: .9fr 1.1fr; }
.split.flip .media { order: 2; }
.media { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); background: linear-gradient(0deg, rgba(7, 6, 10, .35), transparent 40%); }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip .media { order: 0; } }

/* filmstrip gallery */
.strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 24px 26px calc((100vw - min(var(--max), 100vw - 48px)) / 2); scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.strip figure { flex: 0 0 min(560px, 80vw); scroll-snap-align: start; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.strip img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .8s; }
.strip figure:hover img { transform: scale(1.05); }
.strip figcaption { position: absolute; left: 18px; bottom: 14px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px #000; }

/* launcher clocks */
.clocks { position: relative; height: 440px; perspective: 1400px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.clocks-box { position: relative; }
.clocks img { position: absolute; left: 50%; top: 50%; width: 300px; aspect-ratio: 1; object-fit: cover; border-radius: 34px; margin: -150px 0 0 -150px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform 1s cubic-bezier(.2, .7, .2, 1), opacity 1s, filter 1s; }

/* grid of tools */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tool { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: transform .3s, border-color .3s, background .3s; }
.tool:hover { transform: translateY(-4px); border-color: rgba(255, 110, 90, .3); background: rgba(227, 38, 47, .05); }
.tool img, .tool .ph { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.tool .ph { background: var(--grad); display: grid; place-items: center; font: 700 20px/1 var(--display); }
.tool h4 { font: 600 17px/1.25 var(--sans); margin-bottom: 4px; }
.tool p { font-size: 14px; color: var(--mute); line-height: 1.45; }
.tool .st { margin-top: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.tool .st.ok { color: #9ff0b8; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filters button { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mute); font: 500 14px/1 var(--sans); cursor: pointer; transition: all .2s; }
.filters button.on, .filters button:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* teaser player */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 60px 120px -40px rgba(227, 38, 47, .35); background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .cover { position: absolute; inset: 0; background-size: cover; background-position: center; display: grid; place-items: center; cursor: pointer; }
.player .cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(7, 6, 10, .1), rgba(7, 6, 10, .55)); }
.play { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(227, 38, 47, .18), 0 20px 60px rgba(227, 38, 47, .55); transition: transform .3s; }
.player .cover:hover .play { transform: scale(1.08); }
.play svg { width: 34px; margin-left: 6px; fill: #fff; }
.lang { display: flex; gap: 8px; margin-top: 18px; }
.lang button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--mute); cursor: pointer; font: 600 13px/1 var(--sans); letter-spacing: .08em; }
.lang button.on { background: rgba(227, 38, 47, .15); color: var(--ink); border-color: rgba(255, 110, 90, .4); }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 34px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.feat .n { font: 600 14px/1 var(--display); color: var(--red2); letter-spacing: .1em; }
.feat h4 { font: 600 22px/1.2 var(--display); margin: 16px 0 10px; }
.feat p { color: var(--mute); font-size: 15.5px; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr; } }

/* download */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.dl .opt { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; gap: 20px; }
.dl svg { width: 46px; height: 46px; flex: none; fill: var(--ink); opacity: .9; }
.dl h4 { font: 600 20px/1.2 var(--sans); }
.dl p { color: var(--mute); font-size: 14px; }
@media (max-width: 700px) { .dl { grid-template-columns: 1fr; } }

/* game credits (game level only) */
.credit { text-align: center; padding: 70px 0 20px; color: var(--mute); }
.credit .ded { font: italic 400 20px/1.5 var(--display); color: #e7dcd6; }
.credit .by { margin-top: 18px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }

/* cta band + footer */
.band { position: relative; border-radius: 30px; overflow: hidden; padding: clamp(50px, 8vw, 100px); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(255, 91, 58, .35), transparent 60%), linear-gradient(135deg, #2a0710, #12060a 60%); border: 1px solid rgba(255, 110, 90, .2); }
.band h2 { margin: 18px auto 18px; max-width: 820px; }
.band .lead { margin: 0 auto 34px; }
footer { border-top: 1px solid var(--line); padding: 70px 0 40px; margin-top: 120px; color: var(--mute); font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer h5 { color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
footer li { list-style: none; margin: 10px 0; }
footer a:hover { color: var(--ink); }
footer .legal { margin-top: 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--dim); }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 70ms + .15s); }
.split-words.in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } .split-words .w > span { transform: none; } }

/* page heroes (inner pages) */
.phero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.phero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.phero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 6, 10, .4), rgba(7, 6, 10, .2) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(7, 6, 10, .8), transparent 70%); }
.phero .wrap { padding-bottom: 80px; }
.phero h1 { margin: 20px 0 18px; }
.diacritic { font-family: var(--display); }
