/* RocketMan Fuel Rush – a játék weboldala. Színek és formák a játék felületéből: égbolt, kék panel, narancs gomb, arany érme. */

@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-400.woff2) format("woff2"); }
/* a Lilita One-ból hiányzik az ő, ű, Ő, Ű: ezek a Baloo 2 vastag változatából jönnek */
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(fonts/baloo-2-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0150-0151, U+0170-0171; }
@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2"); 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: "Atkinson"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2"); 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: "Atkinson"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--navy: #13204f;
	--navy-2: #1d2f6b;
	--sky-top: #2f78d8;
	--sky: #6fb2ec;
	--dusk: #f6b56b;
	--panel: #4aa3e8;
	--panel-dark: #2a7bd0;
	--orange: #ff9e00;
	--orange-dark: #e06a00;
	--gold: #ffd84a;
	--red: #e74c3c;
	--cream: #fff7e3;
	--bg: #f2f7fd;
	--fg: #17213f;
	--muted: #4c5a7a;
	--card: #ffffff;
	--line: #d7e3f3;
	--focus: #ff9e00;
	--radius-big: 28px;
	--radius: 18px;
	--measure: 64ch;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1630;
		--fg: #eef3ff;
		--muted: #aebbd8;
		--card: #18224a;
		--line: #26336a;
		--cream: #1a2550;
	}
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 400 1.0625rem/1.6 "Atkinson", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, dt.big { font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); color: var(--navy-2); }
h3 { font-size: 1.45rem; color: var(--navy-2); }
@media (prefers-color-scheme: dark) { h2, h3 { color: #9cc8ff; } }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* --- nyelvváltó --- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.topbar .wrap { display: flex; justify-content: flex-end; padding-top: 14px; }
.lang {
	font: 700 0.95rem/1 "Atkinson", system-ui, sans-serif;
	color: #fff; background: rgba(19, 32, 79, 0.7);
	padding: 9px 14px; border-radius: 999px; text-decoration: none;
}
.lang:hover { background: var(--navy); }

/* --- nyitó rész: a figura a kertváros felett, előtte a játék kék panelje --- */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 45%, var(--dusk) 100%); overflow: hidden; }
.hero-art img { width: 100%; height: clamp(280px, 62vw, 560px); object-fit: cover; object-position: 74% 30%; }
.hero .wrap { position: relative; z-index: 2; margin-top: -48px; padding-bottom: 44px; }
@media (min-width: 1000px) {
	.hero { min-height: clamp(560px, 48vw, 760px); display: flex; align-items: center; }
	.hero-art { position: absolute; inset: 0; }
	.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
	.hero .wrap { width: 100%; margin-top: 0; padding-top: 72px; padding-bottom: 72px; }
}
.panel {
	position: relative;
	max-width: 560px;
	background: linear-gradient(180deg, var(--panel), var(--panel-dark));
	border: 6px solid #fff;
	border-radius: var(--radius-big);
	box-shadow: 0 10px 0 rgba(19, 32, 79, 0.35), 0 18px 40px rgba(19, 32, 79, 0.25);
	padding: 26px 28px 30px;
	color: #fff;
}
.panel h1 { margin: -6px 0 0; }
.panel h1 img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 4px 0 rgba(19, 32, 79, 0.25)); }
.panel-top { display: flex; gap: 16px; align-items: center; }
.panel-top .icon { width: 84px; height: 84px; border-radius: 20px; border: 4px solid #fff; flex: none; box-shadow: 0 4px 0 rgba(19, 32, 79, 0.3); }
.panel .tagline { font-size: 1.25rem; font-weight: 700; margin: 14px 0 6px; text-shadow: 0 2px 0 rgba(19, 32, 79, 0.35); }
.panel p { margin: 0 0 18px; max-width: 46ch; }
.store {
	display: inline-flex; align-items: center; gap: 12px;
	background: var(--navy); color: #fff;
	border-radius: 14px; padding: 10px 18px 10px 14px;
	font: 700 1rem/1.2 "Atkinson", system-ui, sans-serif; text-decoration: none;
	border: 2px solid rgba(255, 255, 255, 0.35);
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.85; }
a.store:hover { background: #000; }

/* --- szakaszok --- */
.section { padding: 76px 0; }
.section-head { max-width: var(--measure); margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 1.125rem; }

.shot { border: 4px solid var(--navy); border-radius: var(--radius); overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: 0 6px 0 rgba(19, 32, 79, 0.18); }
.shot img { width: 100%; height: 100%; object-fit: cover; }

.worlds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; list-style: none; margin: 0; padding: 0; }
.worlds li { min-width: 0; }
.worlds h3 { margin: 14px 0 4px; }
.worlds p { margin: 0; color: var(--muted); font-size: 1rem; }
.also { margin-top: 26px; color: var(--muted); }

/* --- így repülsz --- */
.fly-wrap { background: linear-gradient(180deg, #e3f0fd, #fdf2e2); }
@media (prefers-color-scheme: dark) { .fly-wrap { background: linear-gradient(180deg, #14204a, #221d3c); } }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.tiles li { background: var(--card); border: 3px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; }
.tiles .badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; font: 400 1.35rem/1 "Lilita One", sans-serif; margin-bottom: 10px; box-shadow: 0 3px 0 var(--orange-dark); }
.tiles h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tiles p { margin: 0; color: var(--muted); font-size: 1rem; }

/* --- a te RocketManed --- */
.extras { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.stack { display: grid; gap: 18px; }
.stack .shot:last-child { width: 86%; justify-self: end; margin-top: -40px; position: relative; }
.extras .section-lead { color: var(--muted); font-size: 1.125rem; margin: 12px 0 0; max-width: 46ch; }
.extras dl { margin: 22px 0 0; }
.extras dt { font-family: "Lilita One", system-ui, sans-serif; font-size: 1.35rem; color: var(--navy-2); margin-top: 16px; }
@media (prefers-color-scheme: dark) { .extras dt { color: #9cc8ff; } }
.extras dd { margin: 2px 0 0; color: var(--muted); max-width: 46ch; }

/* --- tudnivalók --- */
.facts-wrap { background: var(--cream); }
.facts { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 14px 0 14px 44px; border-bottom: 2px dashed var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
	content: ""; position: absolute; left: 4px; top: 16px; width: 24px; height: 24px; border-radius: 50%;
	background: #2ecc71 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.facts .more { margin-top: 18px; }

/* --- lábléc --- */
.foot { background: var(--navy); color: #dfe7ff; padding: 36px 0 44px; font-size: 0.98rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot p { margin: 0; }

@media (max-width: 900px) {
	.worlds { grid-template-columns: repeat(6, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
	.worlds li { scroll-snap-align: start; }
	.tiles { grid-template-columns: 1fr 1fr; }
	.extras, .facts { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
	.panel { padding: 20px 18px 24px; border-width: 5px; }
	.panel-top .icon { width: 64px; height: 64px; }
	.section { padding: 54px 0; }
	.worlds { grid-template-columns: repeat(6, 86%); }
	.tiles { grid-template-columns: 1fr; }
}
