:root {
  --bg: #0f1318;
  --bg-2: #171c23;
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef1f5;
  --muted: #9aa4b2;
  --accent: #ee1c1c;
  --btn-text: #ffffff;
  --header-grad: rgba(35, 43, 54, .95);
  --header-solid: rgba(35, 43, 54, .98);
  --footer-bg: #161b22;
  --hover: rgba(255, 255, 255, .05);
  --soft: rgba(255, 255, 255, .015);
  --chip: rgba(255, 255, 255, .08);
  --shadow: rgba(0, 0, 0, .6);
  --hero-a: rgba(221, 0, 0, .22);
  --hero-b: rgba(35, 43, 54, .55);
  --hero-1: #0f1318;
  --hero-2: #161b22;
  --dots: rgba(255, 255, 255, .35);
  --wrap: 1280px;
  color-scheme: dark;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

:root[data-theme="light"] {
  --bg: #f6f6f6;
  --bg-2: #ffffff;
  --line: rgba(35, 43, 54, .14);
  --text: #232b36;
  --muted: #5f6773;
  --accent: #dd0000;
  --btn-text: #ffffff;
  --header-grad: rgba(35, 43, 54, .95);
  --header-solid: rgba(35, 43, 54, .98);
  --footer-bg: #232b36;
  --hover: rgba(35, 43, 54, .05);
  --soft: rgba(0, 0, 0, .02);
  --chip: rgba(35, 43, 54, .07);
  --shadow: rgba(0, 0, 0, .18);
  --hero-a: rgba(221, 0, 0, .14);
  --hero-b: rgba(35, 43, 54, .10);
  --hero-1: #f6f6f6;
  --hero-2: #ebecee;
  --dots: rgba(0, 0, 0, .4);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .86em; background: var(--chip); padding: .1em .4em; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
b { font-weight: 600; }

/* text link with underline arrow */
.tlink { display: inline-block; font-weight: 500; font-size: .95rem; padding-bottom: 4px; border-bottom: 1px solid var(--text); transition: color .2s, border-color .2s; }
.tlink::after { content: ' →'; }
.tlink:hover { color: var(--accent); border-color: var(--accent); }

.btn { display: inline-block; background: var(--text); color: var(--btn-text); border: 1px solid var(--text); padding: 14px 30px; font: 500 .95rem var(--font); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--text); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--text); }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, var(--header-grad), transparent); transition: background .3s; }
.header.is-solid { background: var(--header-solid); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 40px; height: 76px; }
.logo { display: inline-flex; align-items: center; font-weight: 600; letter-spacing: .14em; font-size: 1.05rem; white-space: nowrap; }
.logo span { color: var(--accent); }
.logo__mark { width: 36px; height: 36px; flex: none; overflow: visible; margin-right: 12px; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav__item { position: relative; }
.nav__btn { background: none; border: 0; color: var(--text); font: 400 .95rem var(--font); cursor: pointer; padding: 26px 0; display: flex; align-items: center; gap: 8px; }
.nav__btn i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav__menu { position: absolute; top: 100%; left: -20px; min-width: 220px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav__menu a { display: block; padding: 10px 20px; font-size: .92rem; color: var(--muted); }
.nav__menu a:hover { color: var(--text); background: var(--hover); }
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu, .nav__btn[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; }
.header__right { display: flex; align-items: center; gap: 28px; }
.header__link { font-size: .9rem; color: var(--muted); }
.header__link:hover { color: var(--text); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 50%; color: var(--text); cursor: pointer; transition: border-color .2s, transform .3s; }
.theme-toggle:hover { border-color: var(--text); transform: rotate(18deg); }
.theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: none; }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu-toggle span { height: 1.5px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(ellipse 60% 50% at 75% 40%, var(--hero-a), transparent 70%),
  radial-gradient(ellipse 50% 60% at 15% 80%, var(--hero-b), transparent 70%),
  linear-gradient(180deg, var(--hero-1), var(--hero-2)); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 90px 90px; opacity: .15; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
/* animated glow (shows when there is no video) */
.hero__bg::before { content: ''; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -10%; top: 5%; border-radius: 50%; background: radial-gradient(circle, var(--hero-a), transparent 65%); filter: blur(40px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-18vw, 12vh) scale(1.25); } }
/* background video */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 1s ease; }
.hero.has-video .hero__video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 45%, color-mix(in srgb, var(--bg) 25%, transparent) 100%),
              linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero.has-video .hero__shade { opacity: 1; }
.hero__inner { position: relative; z-index: 1; padding-top: 80px; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 8rem); font-weight: 200; letter-spacing: -0.035em; }
.hero h1 span { display: block; font-weight: 200; color: var(--muted); }
.hero__tag { margin: 36px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--muted); }
.hero__tag b { color: var(--text); }
.hero__scroll { position: absolute; bottom: 36px; left: 50%; width: 28px; height: 46px; border: 1px solid var(--line); border-radius: 20px; transform: translateX(-50%); z-index: 1; }
.hero__scroll i { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; border-radius: 3px; background: var(--text); transform: translateX(-50%); animation: scroll 1.8s infinite; }
@keyframes scroll { 60% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- trio ---------- */
.trio { border-top: 1px solid var(--line); }
.trio__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio__item { padding: 90px 48px 90px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.trio__item:not(:first-child) { padding-left: 48px; }
.trio__item:last-child { border-right: 0; }
.trio__item h2 { font-size: 2.2rem; }
.trio__item p { margin: 0; color: var(--muted); max-width: 380px; }
.trio__item .tlink { margin-top: auto; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 64px; }
.section__head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.section__head p { margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; gap: 24px; }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card, .news { border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; background: var(--soft); transition: border-color .25s, transform .25s; min-height: 340px; }
.card:hover, .news:hover { border-color: var(--muted); transform: translateY(-4px); }
/* game cards with artwork */
.card { padding: 0; gap: 0; overflow: hidden; min-height: 0; --pad: 24px; }
.card__img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; border-bottom: 1px solid var(--line); transition: transform .5s; }
.card:hover .card__img { transform: scale(1.04); }
.card__img { background: #fff; }
.card__img[src*="chicken-road"] { object-position: center 78%; }
.card__img[src*="pilot-chicken"] { object-position: center 60%; }
.card__tag { margin: 22px var(--pad) 10px; }
.card h3 { margin: 0 var(--pad) 12px; }
.card p { margin: 0 var(--pad) 22px; }
.card .tlink { margin: auto var(--pad) 28px; }
.card__tag, .news__cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--muted); font-size: .93rem; }
.card .tlink, .news .tlink { margin-top: auto; align-self: flex-start; }
.news h3 { font-size: 1.45rem; line-height: 1.25; }
.news__meta { margin: 0; color: var(--muted); font-size: .85rem; }
.more { margin: 56px 0 0; }


/* logos + features */
.logos { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 72px; }
.logos span { font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 1.05rem; color: var(--muted); opacity: .75; transition: color .2s, opacity .2s; }
.logos span:hover { color: var(--text); opacity: 1; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.features h3 { font-size: 1.35rem; margin-bottom: 12px; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq .section__head { margin: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 26px 48px 26px 0; font-size: 1.15rem; font-weight: 400; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 200; transition: transform .25s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list p { color: var(--muted); margin: 0 0 26px; max-width: 640px; }

/* join */
.join { padding: 140px 0; text-align: center; position: relative; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(201,162,74,.18), transparent 70%); }
.join h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 200; }
.join p { max-width: 560px; margin: 24px auto 40px; color: var(--muted); font-size: 1.1rem; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--footer-bg); }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 40px 0; font-size: .92rem; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.rg { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.rg b { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--muted); display: grid; place-items: center; font-size: .9rem; color: var(--muted); }
.rg p { margin: 0; font-size: .82rem; color: var(--muted); max-width: 880px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }

/* cookie */
.cookie { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100; max-width: 960px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); padding: 24px 28px; display: flex; gap: 28px; align-items: center; justify-content: space-between; box-shadow: 0 20px 60px var(--shadow); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .88rem; color: var(--muted); }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.cookie .btn { padding: 11px 20px; font-size: .85rem; }

/* ---------- games details page ---------- */
.pagehead { padding: 150px 0 70px; background: radial-gradient(ellipse 60% 80% at 80% 0%, var(--hero-a), transparent 70%); border-bottom: 1px solid var(--line); }
.crumbs { margin: 0 0 24px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.pagehead h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 200; letter-spacing: -0.035em; }
.pagehead__lead { max-width: 640px; margin: 24px 0 0; color: var(--muted); font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chips a { border: 1px solid var(--line); padding: 9px 20px; font-size: .9rem; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--text); }
.back { display: flex; width: fit-content; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 9px 20px; font-size: .9rem; font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.back span { transition: transform .2s; }
.back:hover { border-color: var(--text); background: var(--hover); }
.back:hover span { transform: translateX(-4px); }
.pagehead .back { margin-bottom: 28px; }
.gd__body .back { margin-bottom: 28px; }
.gd { padding: 100px 0; border-bottom: 1px solid var(--line); }
.gd--alt { background: var(--bg-2); }
.gd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.gd--alt .gd__media { order: 2; }
.gd__media { margin: 0; border: 1px solid var(--line); overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.gd__media img { width: 100%; height: 100%; object-fit: cover; }
.gd__media img.pos-low { object-position: center 75%; }
.gd__media img.pos-mid { object-position: center 55%; }
.gd__tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.gd__body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 12px 0 18px; }
.gd__lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; max-width: 520px; }
.gd__list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.gd__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--muted); }
.gd__list b { color: var(--text); font-weight: 500; }
.gd__facts { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 0 0 36px; }
.gd__facts dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.gd__facts dd { margin: 0; font-size: .95rem; }
.gd__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); animation: fade .2s; }
.modal__box { position: relative; width: 100%; max-width: 560px; background: var(--bg-2); border: 1px solid var(--line); padding: 48px 44px 40px; box-shadow: 0 30px 80px var(--shadow); animation: pop .25s ease; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.modal__close:hover { color: var(--text); }
.modal__kicker { margin: 0 0 14px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.modal__box h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 16px; }
.modal__text { margin: 0 0 32px; color: var(--muted); }
.modal__actions { display: flex; flex-direction: column; gap: 12px; }
.modal__actions .btn { text-align: center; padding: 16px 24px; }
.modal__hint { margin: 22px 0 0; font-size: .82rem; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (max-width: 600px) { .modal__box { padding: 44px 24px 28px; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cards--5 { grid-template-columns: repeat(3, 1fr); }
  .header__link { display: none; }
}
@media (max-width: 960px) {
  .gd { padding: 70px 0; }
  .gd__grid { grid-template-columns: 1fr; gap: 36px; }
  .gd--alt .gd__media { order: 0; }
  .pagehead { padding: 120px 0 50px; }
  .header { background: var(--header-solid); }
  .menu-toggle { display: flex; }
  .header__right { margin-left: auto; gap: 12px; }
  .header__inner { gap: 16px; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0; margin: 0; padding: 12px 32px; background: var(--bg); overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
  .nav.is-open { transform: none; }
  .nav__btn { width: 100%; justify-content: space-between; padding: 20px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0; display: none; }
  .nav__btn[aria-expanded="true"] + .nav__menu { display: block; }
  .nav__item:hover .nav__menu { opacity: 1; }
  .trio__grid { grid-template-columns: 1fr; }
  .trio__item, .trio__item:not(:first-child) { padding: 56px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trio__item:last-child { border-bottom: 0; }
  .cards--3 { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .cookie { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .cards--5, .features { grid-template-columns: 1fr; }
  .logos { gap: 16px 32px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Click Studio look: red / navy / light grey ---------- */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.015em; }
body { font-weight: 400; }
.header, .header.is-solid { background: #232b36; border-bottom: 0; box-shadow: 0 2px 12px rgba(0,0,0,.25); color: #fff; }
.header .header__inner { max-width: none; padding-left: 0; padding-right: 32px; height: 72px; gap: 36px; }
.header .logo { align-self: stretch; background: #dd0000; color: #fff; padding: 0 30px; font-weight: 800; letter-spacing: .16em; font-size: 1rem; }
.header .logo span { color: rgba(255,255,255,.6); }
.header .logo__mark { margin-right: 12px; color: #fff; }
.header .nav__btn, .header .header__link { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 600; }
.header .nav__btn:hover, .header .header__link:hover { color: #ff5a5a; }
.header .nav__menu { background: #232b36; border-color: rgba(255,255,255,.1); }
.header .nav__menu a { color: #b4bcc8; }
.header .nav__menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.header .theme-toggle { color: #fff; border-color: rgba(255,255,255,.25); }
.header .menu-toggle span { background: #fff; }
.btn { background: var(--accent); border-color: var(--accent); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .82rem; border-radius: 4px; }
.btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
.tlink { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; border-bottom-color: var(--accent); }
.hero h1 { font-weight: 800; }
.hero h1 span { font-weight: 800; }
.section__head h2 { text-transform: none; }
.section__head h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 18px; }

:root[data-theme="light"] .footer, :root[data-theme="light"] footer { --text: #eef1f5; --muted: #9aa4b2; --line: rgba(255,255,255,.12); color: #eef1f5; }

/* ================= Click Studio layout ================= */
/* hero: dark stage, headline | rule | red brand lockup, game icons underneath */
.hero { --text: #fff; --muted: #b4bcc8; --bg: #0f1318; --line: rgba(255,255,255,.2); --hero-1: #0b0f14; --hero-2: #161b22; --hero-a: rgba(221,0,0,.3); --hero-b: rgba(70,95,80,.35); color: #fff; background: #0f1318; align-items: stretch; }
.hero__inner { display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 6vh, 72px); padding-top: 110px; padding-bottom: 48px; width: 100%; }
.hero__split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.05; color: #fff; }
.hero h1 span { color: #ff5a5a; }
.hero__tag { margin-top: 24px; max-width: 460px; }
.hero__rule { width: 2px; height: clamp(200px, 34vh, 340px); background: rgba(255,255,255,.85); }
.hero__brand { background: #dd0000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 22px; padding: clamp(40px, 7vh, 72px) 32px; font-weight: 800; letter-spacing: .12em; font-size: clamp(1.6rem, 3.2vw, 3rem); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.hero__brand i, .about__logo i { font-style: normal; opacity: .6; }
.hero__brandmark { width: 1.5em; height: 1.5em; flex: none; overflow: visible; }
.hero__games { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 16px; }
.hero__games a { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .92; transition: transform .2s, opacity .2s; }
.hero__games a:hover { transform: translateY(-6px); opacity: 1; }
.hero__games img { width: clamp(72px, 9vw, 132px); aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.5); }

/* about: centred company block */
.about { padding: 110px 0 100px; text-align: center; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.about__inner { max-width: 980px; }
.about__logo { display: inline-flex; align-items: center; gap: 16px; color: #dd0000; font-weight: 800; letter-spacing: .12em; font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 40px; }
.about__logo i { opacity: .55; }
.about__mark { width: 1.3em; height: 1.3em; overflow: visible; }
.about p { font-size: 1.1rem; line-height: 1.9; color: var(--muted); margin: 0 auto 32px; }
.about__links { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: center; }

/* featured games: alternating image / text rows */
.featured { background: var(--bg); }
.section__head--center { text-align: center; }
.section__head--center h2::after { margin-left: auto; margin-right: auto; }
.featured .section__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.frows { display: grid; gap: 2px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border: 1px solid var(--line); min-height: 380px; }
.frow__media { display: block; overflow: hidden; background: #fff; }
.frow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.frow:hover .frow__media img { transform: scale(1.04); }
.frow__media img[src*="chicken-road"] { object-position: center 78%; }
.frow__media img[src*="pilot-chicken"] { object-position: center 60%; }
.frow--flip .frow__media { order: 2; }
.frow__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(32px, 5vw, 72px); }
.frow__tag { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.frow__body h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; }
.frow__body p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 520px; }
.frow__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); transition: color .2s, gap .2s; }
.frow__link:hover { color: var(--accent); gap: 18px; }
.more--center { text-align: center; }

/* footer: dark band with a large statement */
.footer, :root[data-theme="light"] .footer { background: #222; border-top: 0; }
.footer__top { align-items: center; }
.footer__brand { flex: none; }

@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero__rule { display: none; }
  .hero__games { flex-wrap: wrap; justify-content: center; }
  .frow, .frow--flip { grid-template-columns: 1fr; }
  .frow--flip .frow__media { order: 0; }
  .frow__media { aspect-ratio: 16 / 10; }
  .footer__top { flex-wrap: wrap; gap: 24px; }
}
.hero { min-height: min(100vh, 860px); }
.frow { height: 400px; }
.frow__media { position: relative; }
.frow__media img { position: absolute; inset: 0; }
@media (max-width: 900px) { .frow, .frow--flip { height: auto; } .frow__media { height: 260px; aspect-ratio: auto; } }
.frow__media img[src*="chicken-road"] { object-position: center 96%; }


/* ================= Built on shared foundations ================= */
#platform .section__head p { max-width: 560px; margin-left: auto; margin-right: auto; }
.logos { justify-content: center; gap: 12px; padding: 0; border: 0; margin-bottom: 56px; }
.logos span {
  opacity: 1; color: var(--text); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 24px; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.logos span:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.features { gap: 24px; }
.features > div {
  position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 34px 28px 28px; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.features > div::before { content: ''; display: block; width: 36px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 20px; }
.features > div:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.14); border-color: var(--accent); }
.features h3 { font-size: 1.2rem; margin-bottom: 10px; }
.features p { line-height: 1.7; }

/* ================= Join Click Studio: brand-red call to action ================= */
.join { background: var(--accent); color: #fff; padding: 96px 0; }
.join h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.join p { color: rgba(255,255,255,.92); max-width: 620px; margin: 20px auto 36px; font-size: 1.1rem; line-height: 1.7; }
.join .btn { background: #fff; border-color: #fff; color: #dd0000; padding: 16px 38px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.join .btn:hover { background: #232b36; border-color: #232b36; color: #fff; }

/* ================= Games page header: navy band ================= */
.pagehead {
  padding: 130px 0 64px; border-bottom: 0; color: #fff;
  background: radial-gradient(ellipse 55% 90% at 85% 0%, rgba(221,0,0,.35), transparent 70%), linear-gradient(180deg, #161b22, #232b36);
}
.crumbs { color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; margin: 0 0 20px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #ff5a5a; }
.pagehead h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.pagehead h1::after { content: ''; display: block; width: 64px; height: 5px; background: #dd0000; margin-top: 22px; }
.pagehead__lead { color: rgba(255,255,255,.78); font-size: 1.15rem; line-height: 1.7; margin-top: 22px; }
.chips { gap: 10px; margin-top: 32px; }
.chips a {
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  padding: 10px 24px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, border-color .2s, transform .2s;
}
.chips a:hover { background: #dd0000; border-color: #dd0000; transform: translateY(-2px); }

@media (max-width: 900px) {
  .features { grid-template-columns: 1fr 1fr; }
  .join { padding: 72px 0; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .pagehead { padding: 110px 0 48px; }
}
.footer { padding: 48px 0 28px; }
.footer__links { margin: 0 0 32px; }

/* ================= How it works: icon journey ================= */
#how .section__head p { max-width: 560px; margin-left: auto; margin-right: auto; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow::before { content: ''; position: absolute; top: 42px; left: 12.5%; right: 12.5%; border-top: 3px dashed var(--accent); opacity: .45; }
.flow li { position: relative; text-align: center; padding: 0 10px; }
.flow__icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px;
  border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 10px var(--bg-2), 0 12px 28px rgba(221,0,0,.35);
  transition: transform .25s;
}
.flow li:hover .flow__icon { transform: scale(1.08) rotate(-4deg); }
.flow em { display: block; font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.flow h3 { font-size: 1.35rem; margin: 0 0 10px; }
.flow p { margin: 0 auto; max-width: 250px; color: var(--muted); font-size: .97rem; line-height: 1.7; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .flow::before { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
}
