/* ClueBell Studio website. One stylesheet, no framework. Mobile first; dark, colourful, ClueBell orange. */
:root {
  --bg: #0e0b14;
  --bg-2: #15101e;
  --surface: #1c1528;
  --surface-2: #251c35;
  --line: rgba(255, 255, 255, .09);
  --text: #fff;
  --muted: #b9b0c9;
  --dim: #8a809c;
  --orange: #ff8000;
  --orange-2: #ff9a2e;
  --red: #ff512f;
  --gold: #fdc830;
  --grad: linear-gradient(100deg, #ff512f 0%, #ff8000 48%, #fdc830 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 81, 47, .22), rgba(253, 200, 48, .10));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  --head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a, .prose a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #000; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  --b: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--b);
  font: 700 1rem/1 var(--body); white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad); color: #1a0d00; border: 0; box-shadow: 0 10px 30px -8px rgba(255, 128, 0, .65); }
.btn-primary:hover { box-shadow: 0 14px 40px -8px rgba(255, 128, 0, .85); }
.btn-ghost { background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .22); transition: transform .15s, border-color .2s; }
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 1.05rem; }
.store-badge small { font-size: .66rem; font-weight: 500; letter-spacing: .02em; opacity: .85; }
.store-badge.is-soon { opacity: .55; pointer-events: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.site-header.is-solid, .site-header.is-open { background: rgba(14, 11, 20, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 38px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav .btn { margin-left: 8px; color: #1a0d00; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; position: relative; transition: transform .25s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gutter) 28px; background: rgba(14, 11, 20, .97); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.1rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; min-height: min(100vh, 920px); min-height: min(100svh, 920px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(1100px 600px at 85% 15%, rgba(255, 128, 0, .28), transparent 60%),
  linear-gradient(90deg, rgba(14, 11, 20, .96) 0%, rgba(14, 11, 20, .78) 45%, rgba(14, 11, 20, .35) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero .lead { margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; color: var(--muted); font-size: .95rem; }
.hero-stats b { display: block; font: 800 1.9rem/1 var(--head); color: var(--text); }
.icon-cloud { position: relative; height: 520px; }
.icon-cloud a { position: absolute; width: var(--s, 112px); aspect-ratio: 1; border-radius: 24%; overflow: hidden; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); animation: bob var(--d, 7s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); transition: transform .25s; }
.icon-cloud a:hover { transform: scale(1.08) rotate(-3deg); animation-play-state: paused; }
.icon-cloud img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { from { translate: 0 -10px; } to { translate: 0 12px; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero::before { background: radial-gradient(700px 500px at 80% 0%, rgba(255, 128, 0, .25), transparent 60%), linear-gradient(0deg, var(--bg) 8%, rgba(14, 11, 20, .78) 60%, rgba(14, 11, 20, .55) 100%); }
  .icon-cloud { height: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; order: -1; }
  .icon-cloud a { position: static; width: auto; animation: none; }
  .icon-cloud a:nth-child(n+9) { display: none; }
}

/* Marquee strip */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font: 800 1.35rem/1 var(--head); color: var(--dim); white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: "✦"; color: var(--orange); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature (spotlight) */
.spotlight { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1.15fr .85fr; min-height: 460px; isolation: isolate; }
.spotlight-art { position: relative; min-height: 280px; }
.spotlight-art img, .spotlight-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spotlight-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--surface) 100%); }
.spotlight-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.spotlight-body .app-icon { width: 88px; margin-bottom: 14px; }
.spotlight-body p { color: var(--muted); }
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } .spotlight-art { aspect-ratio: 16 / 9; } .spotlight-art::after { background: linear-gradient(0deg, var(--surface) 0%, transparent 50%); } }

/* Game cards */
.app-icon { border-radius: 23%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.game-card { --accent: var(--orange); position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; isolation: isolate; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -24px var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.game-card .card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.game-card .card-media img, .game-card .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.game-card:hover .card-media img { transform: scale(1.05); }
.game-card .card-media video { opacity: 0; }
.game-card.is-playing .card-media video { opacity: 1; }
.game-card .card-body { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; padding: 16px 18px 18px; align-items: center; }
.game-card .card-body .app-icon { width: 64px; grid-row: span 2; margin-top: -40px; border: 3px solid var(--surface); box-sizing: content-box; }
.game-card h3 { margin: 0; font-size: 1.22rem; }
.game-card .pitch { grid-column: 1 / -1; color: var(--muted); font-size: .93rem; margin: 8px 0 0; }
.game-card .genre { color: var(--dim); font-size: .85rem; font-weight: 600; }
.game-card .card-actions { display: flex; gap: 8px; padding: 0 18px 18px; margin-top: auto; flex-wrap: wrap; }
.game-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.game-card .card-actions a { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--muted); }
.pill-web { background: rgba(255, 128, 0, .16); color: var(--orange-2); }
.pill-new { background: var(--grad); color: #1a0d00; }
.card-flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.card-flags .pill { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(14, 11, 20, .6); color: #fff; }
.card-flags .pill-web { background: rgba(255, 128, 0, .9); color: #1a0d00; }

/* Portal filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-weight: 600; color: var(--muted); transition: all .2s; }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.chip[aria-pressed="true"] { background: var(--grad); color: #1a0d00; border-color: transparent; }
.search { margin-left: auto; position: relative; flex: 1 1 240px; max-width: 320px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: #fff; padding: 0 18px 0 44px; font: inherit; }
.search input::placeholder { color: var(--dim); }
.search svg { position: absolute; left: 15px; top: 12px; width: 20px; height: 20px; color: var(--dim); }
.empty { display: none; padding: 40px; text-align: center; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 420px at 15% 0%, rgba(255, 81, 47, .22), transparent 60%), radial-gradient(800px 400px at 95% 10%, rgba(253, 200, 48, .14), transparent 60%); }
.crumbs { padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--dim); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs li { list-style: none; display: flex; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .5; }


/* Game detail page */
.game-hero { position: relative; padding: calc(var(--header-h) + 36px) 0 48px; overflow: hidden; isolation: isolate; }
.game-hero-bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(36px) saturate(1.3); opacity: .55; transform: scale(1.1); }
.game-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 11, 20, .55) 0%, var(--bg) 100%); }
.game-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.game-head .app-icon { width: clamp(108px, 14vw, 168px); border-radius: 23%; }
.game-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 6px; }
.game-head .sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--muted); margin-bottom: 14px; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.game-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 640px) { .game-head { grid-template-columns: 1fr; text-align: left; gap: 18px; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); margin-top: 36px; }
.facts div { padding: 16px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .layout-2 { grid-template-columns: minmax(0, 1fr); } .sticky { position: static; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 20px; }
.info-list { margin: 0; display: grid; gap: 0; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.info-list div:last-child { border-bottom: 0; }
.info-list dt { color: var(--dim); }
.info-list dd { margin: 0; text-align: right; font-weight: 600; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.trailer { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.trailer video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.trailer-play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; }
.trailer-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trailer-play span { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(255, 128, 0, .6); transition: transform .2s; }
.trailer-play:hover span { transform: scale(1.08); }
.trailer-play svg { width: 34px; height: 34px; color: #1a0d00; margin-left: 5px; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(160px, 22vw, 230px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.shots button { padding: 0; border: 0; background: none; scroll-snap-align: start; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .2s; }
.shots button:hover { transform: translateY(-4px); }
.shots img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface-2); }
.carousel { position: relative; }
.carousel-nav { position: absolute; top: calc(50% - 30px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(14, 11, 20, .8); display: grid; place-items: center; z-index: 2; backdrop-filter: blur(6px); }
.carousel-nav.prev { left: -14px; } .carousel-nav.next { right: -14px; }
.carousel-nav svg { width: 22px; height: 22px; }
@media (hover: none) { .carousel-nav { display: none; } }
.prose { color: #ddd6ea; font-size: 1.02rem; }
.prose h3 { margin-top: 1.4em; color: #fff; font-size: 1.15rem; letter-spacing: .02em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--orange); }
.clamp { max-height: 420px; overflow: hidden; position: relative; }
.clamp::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--surface)); }
.clamp.is-open { max-height: none; }
.clamp.is-open::after { display: none; }
.more-btn { margin-top: 14px; background: none; border: 0; color: var(--orange-2); font-weight: 700; padding: 6px 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 3, 9, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-height: 88dvh; width: auto; border-radius: 18px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: calc(50% - 26px); }
.lightbox .lb-next { right: 18px; top: calc(50% - 26px); }
.lightbox svg { width: 24px; height: 24px; }

/* Value / service tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.tile { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s, border-color .25s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 128, 0, .4); }
.tile .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); border: 1px solid rgba(255, 128, 0, .3); display: grid; place-items: center; margin-bottom: 18px; color: var(--orange-2); }
.tile .ico svg { width: 26px; height: 26px; }
.tile p { color: var(--muted); margin: 0; }
.tile .num { font: 800 3rem/1 var(--head); margin-bottom: 10px; }

/* Web play band */
.band { border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 64px); background: radial-gradient(600px 300px at 0% 0%, rgba(255, 81, 47, .35), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(253, 200, 48, .22), transparent 60%), var(--surface); border: 1px solid rgba(255, 128, 0, .25); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; overflow: hidden; }
.band .devices { display: flex; gap: 12px; justify-content: center; }
.band .devices img { width: 31%; border-radius: 18px; box-shadow: var(--shadow); }
.band .devices img:nth-child(2) { transform: translateY(-18px); }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }

/* Jobs */
.jobs { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.job:hover { border-color: rgba(255, 128, 0, .45); }
.job h3 { margin: 0; }
.job p { margin: 4px 0 0; color: var(--muted); }
.job .type { color: var(--orange-2); font-weight: 700; font-size: .85rem; }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: #fff; padding: 14px 16px; font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.form select option { background: var(--surface); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.notice { padding: 14px 18px; border-radius: 14px; background: rgba(46, 204, 113, .12); border: 1px solid rgba(46, 204, 113, .4); }
.notice.err { background: rgba(255, 81, 47, .12); border-color: rgba(255, 81, 47, .5); }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; color: var(--orange-2); flex: none; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--dim); }

/* Ads */
.ad-slot { margin: 32px auto; text-align: center; min-height: 100px; }
.ad-slot::before { content: "Advertisement"; display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }

/* CTA + footer */
.cta { text-align: center; padding: clamp(48px, 7vw, 88px) var(--gutter); border-radius: calc(var(--radius) + 8px); background: var(--grad); color: #1a0d00; position: relative; overflow: hidden; }
.cta h2 { color: #1a0d00; }
.cta p { color: rgba(26, 13, 0, .8); font-size: 1.15rem; max-width: 560px; margin: 0 auto 26px; }
.cta .btn { background: #1a0d00; color: #fff; border: 0; }
.site-footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange); color: #1a0d00; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--dim); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Form states */
.form-note { margin-bottom: 4px; }
.form-fine { margin: 0; font-size: .85rem; color: var(--dim); }
.form [aria-invalid="true"] { border-color: #ff6a4d; box-shadow: 0 0 0 2px rgba(255, 106, 77, .25); }
.form input[type="file"] { padding: 12px; cursor: pointer; }
.form input[type="file"]::file-selector-button { margin-right: 14px; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--surface-2); color: #fff; font: 600 .9rem var(--body); cursor: pointer; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--muted); }
.form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--orange); padding: 0; }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.steps { margin: 0; padding-left: 1.2em; display: grid; gap: 12px; color: var(--muted); }
.steps b { color: #fff; }
.steps li::marker { color: var(--orange); font-weight: 800; }

/* Card badges: one line, small icon (the "Play online" pill wrapped onto its icon) */
.pill { white-space: nowrap; line-height: 1; }
.pill svg { width: 12px; height: 12px; flex: none; }
.card-flags { right: 12px; flex-wrap: wrap; }
