/* Gündoğdu Games: the studio shell, and the worlds of its games.
   The studio is daybreak: night navy, the gold and teal of the logo, a sun that rises as
   the page scrolls. A game page swaps the tokens under [data-world] for its own. */

@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url("fonts/sora-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0; }

:root {
	--night: #060a14;
	--night-2: #0c1424;
	--ink: #eef2fb;
	--ink-soft: #a9b4cc;
	--gold: #f6b93b;
	--gold-deep: #e58a1f;
	--teal: #25b9cf;
	--line: rgba(255, 255, 255, 0.1);
	--paper: #fbf7f0;
	--paper-ink: #17202f;
	--paper-soft: #5b6678;
	--display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 22px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--reveal: 0.8s;
}

@view-transition { navigation: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--night); color: var(--ink);
	font: 500 18px/1.6 var(--text); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1c1300; padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- navigation --------------------------------------------------------------------- */
.nav {
	position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0;
	transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.is-stuck { background: color-mix(in srgb, var(--night) 78%, transparent); backdrop-filter: blur(14px); padding: 8px 0; border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 18px var(--display); letter-spacing: -0.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand span b { color: var(--gold); font-weight: 700; }
.nav ul { display: flex; gap: clamp(6px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav li a { text-decoration: none; font: 600 16px var(--display); padding: 10px 12px; border-radius: 999px; display: block; color: var(--ink); opacity: 0.86; transition: opacity 0.2s, background 0.2s; }
.nav li a:hover, .nav li a[aria-current] { opacity: 1; background: rgba(255, 255, 255, 0.09); }
@media (max-width: 560px) { .brand span { display: none; } .nav li a { padding: 10px 9px; font-size: 15px; } }

/* --- buttons ------------------------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
	font: 700 17px var(--display); letter-spacing: -0.01em; padding: 16px 26px; border-radius: 999px;
	background: var(--gold); color: #1c1300; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--gold) 70%, transparent);
	transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--gold) 80%, transparent); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); }

/* --- reveal: one style for the whole site --------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--reveal) var(--ease), transform var(--reveal) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { clip-path: inset(0 0 100% 0); transform: none; opacity: 1; transition: clip-path 1s var(--ease); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }

/* --- studio hero: daybreak -------------------------------------------------------------- */
.dawn { position: relative; min-height: min(100svh, 1080px); display: grid; align-items: end; overflow: clip; isolation: isolate; }
.dawn__sky { position: absolute; inset: 0; z-index: -3;
	background:
		radial-gradient(120% 70% at 50% 108%, rgba(246, 185, 59, calc(0.16 + var(--rise, 0) * 0.5)) 0%, rgba(229, 138, 31, calc(0.1 + var(--rise, 0) * 0.3)) 28%, transparent 62%),
		linear-gradient(180deg, #050812 0%, #0a1326 46%, #14233f 100%); }
.dawn__stars { position: absolute; inset: 0; z-index: -3; opacity: calc(1 - var(--rise, 0) * 1.4);
	background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #cfe 50%, transparent 51%), radial-gradient(1.6px 1.6px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 30%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 78% 16%, #fed 50%, transparent 51%), radial-gradient(1px 1px at 88% 44%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 52%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 54% 50%, #cfe 50%, transparent 51%), radial-gradient(1.4px 1.4px at 36% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 94% 8%, #fff 50%, transparent 51%); }
.dawn__sun { position: absolute; left: 50%; bottom: 0; z-index: -2; width: min(62vw, 620px); aspect-ratio: 1; border-radius: 50%;
	translate: -50% calc(78% - var(--rise, 0) * 52%);
	background: radial-gradient(circle at 50% 50%, #fff3c4 0%, #ffd35c 34%, #f6a52b 62%, #e9781c 100%);
	box-shadow: 0 0 120px 40px rgba(246, 165, 43, 0.35), 0 0 300px 120px rgba(246, 165, 43, 0.18); }
.dawn__ridge { position: absolute; inset: auto 0 0 0; z-index: -1; width: 100%; height: auto; display: block; }
.dawn__ridge--far { translate: 0 calc(var(--rise, 0) * 26px); opacity: 0.85; }
.dawn__ridge--near { translate: 0 calc(var(--rise, 0) * 60px); }
.dawn__body { padding: 140px 0 clamp(190px, 30vh, 300px); text-align: center; }
.dawn__mark { width: clamp(84px, 12vw, 120px); border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 20px 60px -20px #000; }
.dawn h1 { font-size: clamp(44px, 9.2vw, 132px); font-weight: 800; }
.dawn h1 em { font-style: normal; color: var(--gold); }
.dawn__intro { max-width: 34ch; margin: 26px auto 0; color: #d5dcec; font-size: clamp(18px, 2.2vw, 23px); }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; font: 600 13px var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); opacity: 0.75; text-decoration: none; display: grid; justify-items: center; gap: 8px; }
.scroll-hint i { width: 2px; height: 34px; background: linear-gradient(var(--ink), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { scale: 1 0; opacity: 0; } 40% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; translate: 0 10px; } }

/* --- sections ------------------------------------------------------------------------- */
.section { padding: clamp(72px, 12vw, 150px) 0; position: relative; }
.kicker { font: 700 14px var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.section h2 { font-size: clamp(34px, 5.6vw, 76px); font-weight: 800; }
.lede { color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); max-width: 52ch; margin-top: 22px; }

/* --- a game as a world ------------------------------------------------------------------ */
.world { position: relative; border-radius: clamp(22px, 3vw, 40px); overflow: clip; isolation: isolate; color: #fff; min-height: min(86svh, 820px); display: grid; align-items: end;
	background: var(--deep, #0b3d91); box-shadow: 0 50px 120px -50px #000; text-decoration: none; }
.world__art { position: absolute; inset: -6% 0; z-index: -2; width: 100%; height: 112%; object-fit: cover; object-position: 100% 50%; translate: 0 calc(var(--drift, 0) * -40px); transition: scale 1.2s var(--ease); }
.world:hover .world__art { scale: 1.035; }
.world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 48, 0) 30%, rgba(4, 18, 48, 0.55) 62%, rgba(4, 18, 48, 0.94) 100%); }
.world__body { padding: clamp(22px, 4vw, 56px); display: grid; gap: 20px; grid-template-columns: 1fr auto; align-items: end; }
.world__logo { width: clamp(150px, 22vw, 260px); border-radius: 30px; view-transition-name: var(--vt, none); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.world h3 { font-size: clamp(30px, 4.6vw, 60px); font-weight: 800; }
.world p { max-width: 46ch; color: rgba(255, 255, 255, 0.88); margin-top: 14px; font-size: clamp(17px, 1.8vw, 20px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips li { font: 700 13px var(--display); letter-spacing: 0.04em; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); }
.chips li.is-status { background: var(--accent, var(--gold)); color: var(--accent-ink, #1c1300); }
.world__cta { align-self: end; }
@media (max-width: 760px) { .world__body { grid-template-columns: 1fr; } .world__logo { order: -1; } }

/* --- about: three short statements -------------------------------------------------------- */
.creed { display: grid; gap: 0; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.creed article { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 4vw, 60px); padding: clamp(26px, 4vw, 46px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.creed h3 { font-size: clamp(24px, 3.2vw, 42px); font-weight: 700; }
.creed h3 span { color: var(--teal); font-size: 0.5em; vertical-align: 0.6em; margin-right: 14px; font-weight: 600; letter-spacing: 0; }
.creed p { color: var(--ink-soft); font-size: clamp(17px, 1.8vw, 21px); }
@media (max-width: 700px) { .creed article { grid-template-columns: 1fr; gap: 10px; } }

/* --- contact band --------------------------------------------------------------------------- */
.band { border-radius: clamp(22px, 3vw, 40px); padding: clamp(32px, 6vw, 80px); background: linear-gradient(135deg, #142848 0%, #0d1a30 60%, #1b2540 100%); border: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: 1fr auto; align-items: center; }
.company { padding-top: clamp(30px, 6vw, 80px); padding-bottom: clamp(30px, 6vw, 80px); }
.company__statement { max-width: 62ch; margin: clamp(20px, 3vw, 34px) 0 0; font-size: clamp(18px, 2vw, 23px); color: var(--ink-soft); }
.company__line { margin: clamp(26px, 4vw, 44px) 0 0; color: var(--ink-soft); font-size: 17px; max-width: 70ch; }
.company__line a, .facts a { color: var(--ink); text-underline-offset: 3px; }
.facts { margin: clamp(28px, 4vw, 50px) 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 13px var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); padding-top: 4px; }
.facts dd { margin: 0; font-size: clamp(17px, 1.7vw, 20px); overflow-wrap: anywhere; }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; } }
.portfolio { padding-top: clamp(30px, 6vw, 80px); }
.portfolio__groups { display: grid; gap: clamp(30px, 4vw, 54px); margin-top: clamp(30px, 5vw, 60px); }
.portfolio__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 16px; }
.portfolio__head p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.status { font: 700 13px var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.status--live { background: var(--gold); color: #1c1300; }
.status--soon { background: var(--teal); color: #04222a; }
.status--work { background: rgba(255, 255, 255, 0.14); color: var(--ink); }
.portfolio__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.portfolio__list a { display: grid; gap: 8px; height: 100%; align-content: start; padding: 22px 22px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.portfolio__list a:hover, .portfolio__list a:focus-visible { border-color: rgba(255, 255, 255, 0.34); background: rgba(255, 255, 255, 0.07); }
.portfolio__list b { font: 700 21px var(--display); }
.portfolio__list span { color: var(--ink-soft); font-size: 16px; }
.portfolio__list i { font-style: normal; font-size: 15px; color: var(--gold); overflow-wrap: anywhere; }
.about-game { background: #0b1220; color: #eef2fb; --ink: #eef2fb; --ink-soft: #a9b4cc; --line: rgba(255, 255, 255, 0.12); --teal: #6cc7ff; padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(60px, 9vw, 110px); }
.about-game h2 { font-size: clamp(30px, 4.4vw, 56px); }
.about-game .kicker { color: var(--accent, var(--gold)); }
.about-game .facts a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot small a[rel] { color: var(--ink); }
.band h2 { font-size: clamp(30px, 4.4vw, 56px); }
.band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 440px) { .band .actions .btn { font-size: 14px; padding-left: 16px; padding-right: 16px; max-width: 100%; } }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } }

/* --- footer --------------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 60px; color: var(--ink-soft); font-size: 16px; }
.foot .wrap { display: grid; gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
.foot h4, .foot .foot__h { font: 700 13px var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot small { display: block; margin-top: 14px; }
.foot small a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* --- page headers of inner pages (games, about, support) -------------------------------------- */
.page-head { padding: clamp(130px, 18vw, 210px) 0 clamp(30px, 5vw, 60px); }
.page-head h1 { font-size: clamp(42px, 7.4vw, 104px); font-weight: 800; }
.grid-games { display: grid; gap: clamp(20px, 3vw, 36px); }

/* --- support: cards and a searchable FAQ ---------------------------------------------------------- */
.support-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.support-card { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); text-decoration: none; transition: transform 0.3s var(--ease), border-color 0.3s; }
.support-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.support-card img { border-radius: 18px; }
.support-card b { font: 700 20px var(--display); display: block; }
.support-card span { color: var(--ink-soft); font-size: 16px; }
.faq-search { width: 100%; font: 600 18px var(--text); padding: 18px 22px 18px 54px; border-radius: 999px; border: 2px solid var(--field-line, rgba(255, 255, 255, 0.18)); background: var(--field, rgba(255, 255, 255, 0.06)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b96ab' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 20px 50% / 22px no-repeat; color: inherit; }
.delete-form { display: grid; gap: 12px; margin: 18px 0 8px; padding: 22px; border-radius: 18px; background: var(--field, #fff); border: 2px solid var(--field-line, rgba(23, 32, 47, 0.16)); }
.delete-form label { display: grid; gap: 6px; font-weight: 700; }
.delete-form input[type=text], .delete-form input[type=email] { font: 600 16px var(--text); padding: 12px 14px; border-radius: 12px; border: 2px solid var(--field-line, rgba(23, 32, 47, 0.16)); background: #fff; color: inherit; width: 100%; }
.delete-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.delete-form button { justify-self: start; border: 0; cursor: pointer; }
.delete-form button[disabled] { opacity: 0.6; cursor: default; }
.delete-form [data-result] { min-height: 1.5em; font-weight: 700; }
.faq-search::placeholder { color: var(--paper-soft); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.faq-tabs button { font: 700 15px var(--display); padding: 10px 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--chip, rgba(255, 255, 255, 0.1)); color: inherit; transition: background 0.2s, color 0.2s; }
.faq-tabs button[aria-pressed="true"] { background: var(--accent, var(--gold)); color: var(--accent-ink, #1c1300); }
.faq h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 12px; }
.faq details { border-bottom: 1px solid var(--rule, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 700 19px var(--display); letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; translate: 0 -70%; rotate: 45deg; transition: rotate 0.3s var(--ease), translate 0.3s; opacity: 0.6; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.faq details > div { padding: 0 0 22px; max-width: 68ch; color: var(--soft, var(--ink-soft)); }
.faq details > div p + p { margin-top: 10px; }
.faq [hidden] { display: none; }
.faq-empty { padding: 30px 0; color: var(--soft, var(--ink-soft)); }

/* ============ the world of a game: tokens swapped, layout shared ================================== */
[data-world] {
	--night: var(--deep);
	--ink: #ffffff;
	--ink-soft: rgba(255, 255, 255, 0.86);
	--gold: var(--accent);
	background: var(--deep);
}
[data-world] .nav.is-stuck { background: color-mix(in srgb, var(--deep) 82%, transparent); }

.g-hero { position: relative; min-height: min(100svh, 1000px); display: grid; align-items: center; overflow: clip; isolation: isolate; padding: 110px 0 90px; }
.g-hero__art { position: absolute; inset: -4% 0 0 0; z-index: -2; width: 100%; height: 108%; object-fit: cover; object-position: 62% 50%; translate: 0 calc(var(--rise, 0) * 60px); }
.g-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 44, 110, 0.94) 0%, rgba(8, 44, 110, 0.78) 36%, rgba(8, 44, 110, 0.12) 70%), linear-gradient(0deg, var(--deep) 0%, transparent 26%); }
.g-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.g-hero__logo { width: clamp(190px, 26vw, 330px); border-radius: 40px; view-transition-name: var(--vt, none); filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45)); margin-bottom: 26px; }
.g-hero h1 { font-size: clamp(40px, 6.6vw, 92px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; }
.g-hero h1 em { font-style: normal; color: var(--accent); }
.g-hero .lede { color: #fff; }
.presents { font: 700 13px var(--display); letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.8; margin-bottom: 16px; display: block; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.store { display: inline-grid; grid-template-columns: 30px auto; column-gap: 12px; align-items: center; padding: 11px 20px 11px 16px; border-radius: 16px; background: #0a0f1c; color: #fff; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.22); min-width: 178px; }
.store svg { width: 28px; height: 28px; grid-row: span 2; }
.store small { font: 600 11px var(--display); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; line-height: 1.2; }
.store b { font: 700 18px var(--display); line-height: 1.15; }
.store[aria-disabled="true"] { cursor: default; opacity: 0.92; }
a.store:hover { border-color: #fff; }

/* phones holding real screenshots */
.phone { position: relative; width: min(100%, 330px); aspect-ratio: 969 / 2100; border-radius: 13.5% / 6.2%; padding: 2.6%; background: linear-gradient(145deg, #2a3345, #0b0f18 60%); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 18px 30px -18px rgba(0, 0, 0, 0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 11.4% / 5.3%; background: #1a2333; }
.phone::after { content: ""; position: absolute; top: 3.4%; left: 50%; width: 26%; height: 2.3%; translate: -50% 0; background: #05070c; border-radius: 99px; }
.g-hero__phones { position: relative; display: grid; justify-items: center; }
.g-hero__phones .phone { rotate: 5deg; translate: 0 calc(var(--rise, 0) * -70px); }
@media (max-width: 860px) { .g-hero__grid { grid-template-columns: 1fr; } .g-hero__phones { display: none; } .g-hero::before { background: linear-gradient(180deg, rgba(8, 44, 110, 0.72) 0%, rgba(8, 44, 110, 0.9) 55%, var(--deep) 100%); } }

/* hazard tape between chapters */
.tape { height: 18px; background: repeating-linear-gradient(-45deg, var(--accent) 0 22px, #141414 22px 44px); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.5); }

.chapter { padding: clamp(64px, 10vw, 130px) 0; position: relative; overflow: clip; }
.chapter:nth-of-type(odd) { background: linear-gradient(180deg, var(--sky) 0%, color-mix(in srgb, var(--sky) 60%, var(--deep)) 100%); }
.chapter:nth-of-type(even) { background: var(--paper); color: var(--paper-ink); --ink-soft: var(--paper-soft); }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 90px); align-items: center; }
.chapter:nth-of-type(even) .chapter__grid > :first-child { order: 2; }
.chapter .kicker { color: var(--accent-ink); background: var(--accent); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; letter-spacing: 0.12em; }
.chapter .kicker svg { width: 18px; height: 18px; }
.chapter h2 { font-size: clamp(32px, 4.8vw, 64px); font-weight: 800; }
.chapter p { margin-top: 20px; font-size: clamp(18px, 1.9vw, 22px); max-width: 44ch; color: var(--ink-soft); }
.chapter__num { font: 800 clamp(90px, 16vw, 220px)/0.8 var(--display); position: absolute; right: var(--gutter); top: 30px; opacity: 0.08; pointer-events: none; letter-spacing: -0.06em; }
.shots { display: grid; justify-items: center; position: relative; }
.shots--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 20px); align-items: center; }
.shots--trio .phone:nth-child(1) { rotate: -4deg; translate: 0 calc(18px + var(--drift, 0) * -30px); }
.shots--trio .phone:nth-child(2) { translate: 0 calc(var(--drift, 0) * -60px); z-index: 1; }
.shots--trio .phone:nth-child(3) { rotate: 4deg; translate: 0 calc(18px + var(--drift, 0) * -30px); }
.shots--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 26px); }
.shots--duo .phone:nth-child(2) { translate: 0 calc(40px + var(--drift, 0) * -50px); }
.shots--solo .phone { translate: 0 calc(var(--drift, 0) * -40px); rotate: -2deg; }
@media (max-width: 860px) { .chapter__grid { grid-template-columns: 1fr; } .chapter:nth-of-type(even) .chapter__grid > :first-child { order: 0; } .shots--solo .phone { width: min(72vw, 300px); } }

.checklist { background: var(--paper); color: var(--paper-ink); padding: clamp(64px, 10vw, 120px) 0; }
.checklist h2 { font-size: clamp(30px, 4.4vw, 56px); }
.checklist ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 30px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-weight: 700; font-size: 19px; padding: 14px 0; border-bottom: 2px dashed rgba(23, 32, 47, 0.14); }
.checklist li svg { width: 30px; height: 30px; }

.finale { position: relative; text-align: center; padding: clamp(80px, 14vw, 170px) 0; overflow: clip; isolation: isolate; }
.finale__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 78%, transparent), color-mix(in srgb, var(--deep) 46%, transparent)); }
.finale img.icon { width: 132px; border-radius: 30px; margin: 0 auto 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.finale h2 { font-size: clamp(36px, 6vw, 84px); text-transform: uppercase; }
.finale .stores { justify-content: center; }
.note { font-size: 15px; opacity: 0.8; margin-top: 16px; }

/* --- documents (privacy, terms) and the game support page: paper -------------------------------------- */
.doc { background: var(--paper); color: var(--paper-ink); --soft: var(--paper-soft); --rule: rgba(23, 32, 47, 0.12); --field: #fff; --field-line: rgba(23, 32, 47, 0.16); --chip: rgba(23, 32, 47, 0.08); padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 10vw, 120px); }
.doc .wrap { width: min(820px, 100% - var(--gutter) * 2); }
.doc h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #2a3547; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc a { color: #0b56c7; font-weight: 700; }
.doc .meta { color: var(--paper-soft); font-size: 16px; }
.notice { border-left: 5px solid var(--accent, var(--gold)); background: rgba(255, 184, 31, 0.14); padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 22px 0; font-size: 16px; }
.doc-head { padding: clamp(120px, 16vw, 180px) 0 clamp(34px, 5vw, 56px); background: linear-gradient(180deg, var(--sky, #142848), var(--deep, #0c1424)); }
.doc-head h1 { font-size: clamp(38px, 6vw, 76px); }
.doc-head p { margin-top: 12px; opacity: 0.9; }
.contact-card { margin-top: 44px; padding: 26px; border-radius: var(--radius); background: #fff; border: 2px solid rgba(23, 32, 47, 0.1); display: grid; gap: 8px; }
.contact-card b { font: 700 22px var(--display); }

/* --- the desktop cursor ring: decoration only ------------------------------------------------------- */
.ring { position: fixed; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 2px solid var(--gold); pointer-events: none; z-index: 90; opacity: 0; transition: opacity 0.3s, width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.25s; display: grid; place-items: center; font: 700 11px var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: #1c1300; }
.ring.is-on { opacity: 0.9; }
.ring.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: color-mix(in srgb, var(--gold) 22%, transparent); }
.ring.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); opacity: 1; }

/* page transitions: a short fade, the game's logo travels between pages */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-reveal], .js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: none; transition: none; }
	.scroll-hint i { animation: none; }
	.dawn__sun, .dawn__ridge--far, .dawn__ridge--near, .world__art, .g-hero__art, .phone { translate: none !important; }
	.dawn__sun { translate: -50% 62% !important; }
	.ring { display: none; }
	@view-transition { navigation: none; }
	* { transition-duration: 0.01ms !important; }
}

/* ============ a game played with the phone on its side (games.json: "landscape") ================== */
.phone--wide { width: min(100%, 600px); aspect-ratio: 16 / 9; border-radius: 5% / 9%; padding: 1.3%; }
.phone--wide img { border-radius: 4.2% / 7.6%; }
.phone--wide::after { top: 50%; left: 1.9%; width: 0.9%; height: 22%; translate: 0 -50%; }
.g-hero__phones .phone--wide { rotate: 3deg; }
.shots--wide.shots--duo { grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 2.4vw, 30px); }
.shots--wide.shots--duo .phone { width: min(88%, 520px); }
.shots--wide.shots--duo .phone:nth-child(1) { justify-self: start; rotate: -1.5deg; translate: 0 calc(var(--drift, 0) * -30px); }
.shots--wide.shots--duo .phone:nth-child(2) { justify-self: end; rotate: 1.5deg; translate: 0 calc(var(--drift, 0) * -50px); }
@media (max-width: 860px) { .shots--wide.shots--solo .phone, .shots--wide.shots--duo .phone { width: min(100%, 520px); } }

/* ============ Harrowrift: a night world (no light "paper" sections) ================================ */
[data-world="harrowrift"] { --paper: #0f1424; --paper-ink: #f1ead8; --paper-soft: rgba(241, 234, 216, 0.74); }
[data-world="harrowrift"] .g-hero::before { background: linear-gradient(100deg, rgba(6, 8, 16, 0.94) 0%, rgba(6, 8, 16, 0.76) 38%, rgba(6, 8, 16, 0.1) 72%), linear-gradient(0deg, var(--deep) 0%, transparent 26%); }
[data-world="harrowrift"] .g-hero__logo { border-radius: 18px; }
[data-world="harrowrift"] .checklist li { border-bottom-color: rgba(241, 234, 216, 0.16); }
@media (max-width: 860px) { [data-world="harrowrift"] .g-hero::before { background: linear-gradient(180deg, rgba(6, 8, 16, 0.7) 0%, rgba(6, 8, 16, 0.9) 55%, var(--deep) 100%); } }
