/* BloxDock Games — studio page. One committed dark look: night felt, brass gold and rummy-tile ivory. */
:root {
  color-scheme: dark;
  --ink: #06120e;
  --ink-2: #0b1d17;
  --felt: #0f3a2b;
  --emerald: #1fae7a;
  --gold: #e7bf62;
  --gold-2: #ffdf8e;
  --brass: #a87b34;
  --ivory: #f6efdf;
  --ivory-2: #e3d6bb;
  --text: #f3ece0;
  --soft: #b9c4bd;
  --muted: #7f8f87;
  --line: rgba(231, 191, 98, 0.18);
  --card: rgba(14, 34, 27, 0.72);
  --red: #d23a2f;
  --blue: #2386d6;
  --black: #1d1d1d;
  --orange: #e28a1d;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }

/* Background: slow aurora over the felt, plus film grain */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(120% 80% at 70% 0%, #0d2a20 0%, var(--ink) 60%); }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: 0.38; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #138a5f; top: -20vmax; left: -10vmax; }
.aurora i:nth-child(2) { background: #8a5d1c; bottom: -30vmax; right: -15vmax; animation-duration: 32s; opacity: 0.28; }
.aurora i:nth-child(3) { background: #0f5a78; top: 30%; left: 40%; width: 40vmax; height: 40vmax; animation-duration: 40s; opacity: 0.18; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Navigation */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter); backdrop-filter: blur(14px); background: linear-gradient(to bottom, rgba(6, 18, 14, 0.86), rgba(6, 18, 14, 0.55)); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.mark { position: relative; width: 34px; height: 40px; border-radius: 8px; background: linear-gradient(160deg, var(--ivory), var(--ivory-2)); box-shadow: 0 2px 0 #c9b791, 0 8px 18px rgba(0, 0, 0, 0.45); display: grid; place-items: center; transform: rotate(-6deg); }
.mark b { font: 900 20px/1 var(--display); color: var(--red); margin-top: -4px; }
.mark s { position: absolute; bottom: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #d7c8a6; }
.brand-name { font: 700 17px/1 var(--display); letter-spacing: 0.01em; }
.brand-name em { font-style: normal; color: var(--gold); margin-left: 6px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--soft); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-2); }

.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); }
.lang button { appearance: none; border: 0; background: transparent; color: var(--soft); font: 800 12px/1 var(--body); letter-spacing: 0.08em; padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #1b1405; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(88vh, 860px); padding: clamp(36px, 7vw, 96px) var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(231, 191, 98, 0.06); color: var(--gold-2); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(31, 174, 122, 0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 174, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 122, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; }
.shine { background: linear-gradient(100deg, var(--gold) 0%, var(--gold-2) 30%, #fff6d8 45%, var(--gold) 60%, var(--brass) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--soft); max-width: 34em; margin: 22px 0 0; }
.lead.narrow { max-width: 44em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #1b1405; background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #c8963d); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px rgba(231, 191, 98, 0.28); }
.btn-gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 40px rgba(231, 191, 98, 0.45); }
.btn-ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-hx { padding-block: 9px; border-color: rgba(255, 214, 92, 0.35); background: rgba(31, 168, 160, 0.12); }
.btn-hx img { width: 34px; height: auto; }
.btn-hx:hover { border-color: #ffd65c; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); padding: 0; margin: 44px 0 0; }
.facts li { display: flex; flex-direction: column; }
.facts b { font: 900 clamp(26px, 3vw, 34px)/1 var(--display); color: var(--ivory); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

/* Hero stage: a 3D meld of rummy tiles over felt */
.stage { perspective: 1200px; height: clamp(340px, 42vw, 560px); }
.scene { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(22deg) rotateY(-14deg); transition: transform 0.25s ease-out; }
.felt { position: absolute; inset: 14% 4% 8%; border-radius: 34px; background: radial-gradient(120% 90% at 40% 30%, #1b6a4c, var(--felt) 55%, #08251b); box-shadow: inset 0 0 0 10px #5b3a17, inset 0 0 0 13px #c79a4b, inset 0 0 80px rgba(0, 0, 0, 0.5), 0 40px 80px rgba(0, 0, 0, 0.55); transform: translateZ(-40px); }
.glow { position: absolute; left: 20%; right: 20%; top: 40%; height: 40%; background: radial-gradient(closest-side, rgba(255, 223, 142, 0.35), transparent); filter: blur(20px); transform: translateZ(-20px); }
.tile { position: absolute; width: clamp(54px, 7vw, 92px); aspect-ratio: 0.74; border-radius: 12px; display: grid; place-items: center; padding-bottom: 14%; font: 900 clamp(26px, 3.6vw, 48px)/1 var(--body); background: linear-gradient(165deg, #fffaf0 0%, var(--ivory) 55%, var(--ivory-2) 100%); box-shadow: 0 3px 0 #cdbb93, 0 6px 0 #a99670, 0 18px 30px rgba(0, 0, 0, 0.45); transform-style: preserve-3d; animation: float 6s ease-in-out infinite; }
.tile s { position: absolute; bottom: 11%; left: 50%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #d5c6a3 70%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); }
.tile.red { color: var(--red); }
.tile.blue { color: var(--blue); }
.tile.black { color: var(--black); }
.tile.orange { color: var(--orange); }
.tile.joker { padding: 6%; background: linear-gradient(165deg, #fffaf0, var(--ivory)); }
.tile.joker img { width: 100%; height: auto; border-radius: 8px; }
.t1 { left: 14%; top: 30%; --r: -8deg; --z: 40px; animation-delay: -0.4s; }
.t2 { left: 27%; top: 27%; --r: -3deg; --z: 60px; animation-delay: -1.1s; }
.t3 { left: 40%; top: 25%; --r: 2deg; --z: 80px; animation-delay: -1.9s; }
.t4 { left: 54%; top: 21%; --r: 9deg; --z: 140px; animation-delay: -2.6s; width: clamp(64px, 8.4vw, 110px); }
.t5 { left: 20%; top: 58%; --r: 6deg; --z: 30px; animation-delay: -3.2s; }
.t6 { left: 33%; top: 60%; --r: 1deg; --z: 50px; animation-delay: -0.8s; }
.t7 { left: 46%; top: 61%; --r: -4deg; --z: 70px; animation-delay: -2.1s; }
.t8 { left: 72%; top: 52%; --r: 16deg; --z: 110px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateZ(var(--z)) rotate(var(--r)) translateY(0); } 50% { transform: translateZ(var(--z)) rotate(var(--r)) translateY(-14px); } }
.coins { position: absolute; right: 2%; top: 8%; width: clamp(80px, 10vw, 140px); height: auto; transform: translateZ(160px); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateZ(160px) translateY(-18px) rotate(-6deg); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); padding-block: 16px; }
.marquee div { display: flex; gap: 34px; width: max-content; animation: slide 38s linear infinite; font: 700 clamp(16px, 2vw, 22px)/1 var(--display); color: var(--ivory-2); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.kicker { margin: 0 0 12px; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.section h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 900; }

/* Featured game */
.feature { position: relative; margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 52px); border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); isolation: isolate; }
.feature-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 18, 14, 0.96) 30%, rgba(6, 18, 14, 0.6)), url("img/ra-art.webp") center / cover; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ra-logo { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--soft); font-size: 13px; font-weight: 700; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #ff5e57; box-shadow: 0 0 12px #ff5e57; animation: pulse 2s infinite; }
.feature h3 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; color: var(--ivory); }
.feature p { color: var(--soft); margin: 12px 0 0; max-width: 36em; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ivory-2); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; color: var(--muted); font-size: 14px; font-weight: 700; border: 1px dashed rgba(255, 255, 255, 0.18); }
.soon svg { width: 18px; height: 18px; }
.device { perspective: 1400px; min-width: 0; }
.device-frame { padding: 10px; border-radius: 30px; background: linear-gradient(145deg, #2a2a2a, #0d0d0d); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 70px rgba(0, 0, 0, 0.6); transform: rotateY(-12deg) rotateX(6deg); transition: transform 0.5s; }
.device-frame img { border-radius: 21px; width: 100%; height: auto; }
.feature:hover .device-frame { transform: rotateY(-4deg) rotateX(2deg) translateY(-4px); }

.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.next.one { grid-template-columns: minmax(0, 1fr); }
.next.one .next-card { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.next.one .next-card h3 { margin-top: 0; }

/* Hamster Express: a sunny card of its own (sky, teal and parcel yellow from the game's art) */
.feature.hx { margin-top: 26px; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); border-color: rgba(255, 214, 92, 0.35); }
.hx .feature-bg { background: linear-gradient(90deg, rgba(4, 44, 52, 0) 30%, rgba(4, 44, 52, 0.75) 52%, rgba(4, 44, 52, 0.96) 62%), url("img/hx-art.webp") left center / auto 100% no-repeat, #0b3a44; }
.hx-window { position: relative; align-self: stretch; min-height: 440px; }
.hx-window .device-frame { position: absolute; left: 0; bottom: 0; width: 46%; padding: 6px; border-radius: 18px; transform: rotate(-4deg); }
.hx-window .device-frame img { border-radius: 13px; }
.hx:hover .hx-window .device-frame { transform: rotate(-1deg) translateY(-4px); }
.hx-logo { width: 150px; height: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45)); animation: bob2 5s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(-8px) rotate(-2deg); } }
.hx h3 { color: #fff3c4; }
.hx-tagline { margin: 6px 0 0 !important; font: 700 clamp(17px, 1.6vw, 21px)/1.3 var(--display); color: #ffd65c !important; }
.hx .chips li { background: rgba(255, 214, 92, 0.1); border-color: rgba(255, 214, 92, 0.22); color: #fff1cc; }
.soon-dot { background: #ffd65c; box-shadow: 0 0 12px #ffd65c; }
.hx-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.hx-fact { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; background: linear-gradient(135deg, rgba(31, 168, 160, 0.16), rgba(255, 214, 92, 0.06)); border: 1px solid rgba(255, 214, 92, 0.18); }
.hx-fact b { font: 900 clamp(30px, 3.4vw, 42px)/1 var(--display); color: #ffd65c; flex: none; }
.hx-fact span { color: var(--soft); font-size: 14px; font-weight: 600; }
.hamster { position: absolute; right: 5%; bottom: -2%; width: clamp(110px, 13vw, 180px); height: auto; transform: translateZ(180px); filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.55)); animation: hop 5.5s ease-in-out infinite; }
@keyframes hop { 50% { transform: translateZ(180px) translateY(-16px) rotate(3deg); } }
.next-card { padding: 28px; border-radius: 24px; border: 1px dashed rgba(231, 191, 98, 0.28); background: rgba(255, 255, 255, 0.02); }
.next-card h3 { font-size: 20px; font-weight: 700; margin-top: 18px; }
.next-card p { margin: 8px 0 0; color: var(--muted); }
.mystery { display: flex; gap: 8px; }
.mystery span { width: 40px; height: 54px; border-radius: 8px; display: grid; place-items: center; font: 900 22px/1 var(--display); color: rgba(246, 239, 223, 0.5); background: linear-gradient(110deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0.05) 70%); background-size: 250% 100%; animation: shimmer 2.6s linear infinite; border: 1px solid rgba(255, 255, 255, 0.08); }
.mystery span:nth-child(2) { animation-delay: 0.2s; }
.mystery span:nth-child(3) { animation-delay: 0.4s; }
@keyframes shimmer { to { background-position: -250% 0; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.value { padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(255, 255, 255, 0.07); transition: border-color 0.25s, transform 0.25s; }
.value:hover { border-color: var(--line); transform: translateY(-4px); }
.v-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; color: var(--gold-2); background: rgba(231, 191, 98, 0.1); border: 1px solid var(--line); }
.value h3 { font-size: 17px; font-weight: 700; margin-top: 18px; }
.value p { margin: 10px 0 0; color: var(--soft); font-size: 15px; }

/* Contact */
.contact { padding-bottom: clamp(64px, 9vw, 110px); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; padding: clamp(28px, 4vw, 52px); border-radius: 32px; background: radial-gradient(120% 140% at 0% 0%, rgba(31, 174, 122, 0.18), transparent 60%), var(--card); border: 1px solid var(--line); }
.contact-card p { color: var(--soft); margin: 14px 0 0; }
.mails { margin: 26px 0 0; display: grid; gap: 14px; }
.mails dt { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mails dd { margin: 4px 0 0; font: 700 clamp(17px, 2vw, 22px)/1.3 var(--display); overflow-wrap: anywhere; }
.mails a { text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size 0.3s; }
.mails a:hover { background-size: 100% 2px; }
.legal { font-style: normal; display: flex; flex-direction: column; gap: 4px; color: var(--soft); font-size: 14px; padding: 22px; border-radius: 18px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.06); font-variant-numeric: tabular-nums; }
.legal b { color: var(--ivory); font: 700 16px/1.4 var(--display); margin-bottom: 4px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-2); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hx-strip { grid-template-columns: minmax(0, 1fr); }
  .hx .feature-bg { background: #0b3a44; }
  .hx-window { min-height: 0; aspect-ratio: 16 / 9; margin: calc(-1 * clamp(24px, 4vw, 52px)) calc(-1 * clamp(24px, 4vw, 52px)) 0; background: url("img/hx-art.webp") center / cover; border-radius: 32px 32px 0 0; }
  .hx-window .device-frame { left: auto; right: 12px; bottom: -28px; width: 46%; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stage { height: clamp(300px, 70vw, 440px); order: -1; }
  .feature, .feature.hx, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .device-frame { transform: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .next, .values { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 15px; }
  /* Phones: text and buttons first, then a flatter, smaller table under them */
  .hero { padding-top: 26px; gap: 8px; }
  .stage { order: 0; height: 250px; margin-top: 6px; }
  .scene { transform: rotateX(24deg) rotateY(0deg); }
  .felt { inset: 10% 2% 4%; border-radius: 22px; box-shadow: inset 0 0 0 7px #5b3a17, inset 0 0 0 9px #c79a4b, inset 0 0 50px rgba(0, 0, 0, 0.5), 0 24px 50px rgba(0, 0, 0, 0.55); }
  .tile { width: 44px; font-size: 22px; border-radius: 8px; }
  .t4 { width: 52px; }
  .t1 { left: 8%; top: 24%; } .t2 { left: 21%; top: 22%; } .t3 { left: 34%; top: 20%; } .t4 { left: 48%; top: 16%; }
  .t5 { left: 12%; top: 56%; } .t6 { left: 25%; top: 57%; } .t7 { left: 38%; top: 58%; } .t8 { left: 63%; top: 30%; }
  .coins { width: 58px; right: 6%; top: 4%; transform: translateZ(40px); animation: none; }
  .hamster { width: 100px; right: 7%; bottom: 6%; transform: translateZ(50px); animation: none; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px; letter-spacing: 0.02em; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .lead { font-size: 16px; margin-top: 16px; }
  .cta { margin-top: 22px; }
  .cta .btn { width: 100%; justify-content: center; }
  .facts { margin-top: 28px; gap: 22px; }
  .facts b { font-size: 24px; }
  .facts span { font-size: 11px; }
  .marquee { padding-block: 12px; }
  .marquee div { font-size: 15px; gap: 24px; }
  /* Cards: the text never sits on a busy picture */
  .feature { padding: 22px; border-radius: 24px; gap: 22px; }
  .feature-bg { background: linear-gradient(180deg, rgba(6, 18, 14, 0.82), rgba(6, 18, 14, 0.97) 40%), url("img/ra-art.webp") center top / cover; }
  .hx-window { margin: -22px -22px 0; border-radius: 24px 24px 0 0; }
  .hx-window .device-frame { width: 50%; right: 10px; bottom: -22px; }
  .ra-logo { width: 72px; height: 72px; border-radius: 18px; }
  .hx-logo { width: 116px; }
  .chips { gap: 6px; }
  .chips li { font-size: 12px; padding: 6px 10px; }
  .soon { width: 100%; justify-content: center; }
  .hx-fact { padding: 16px 18px; }
  .hx-fact b { font-size: 28px; }
  .value { padding: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .value h3 { margin-top: 2px; font-size: 16px; }
  .value p { grid-column: 2; margin-top: 6px; font-size: 14px; }
  .v-ico { width: 44px; height: 44px; grid-row: span 2; }
  .contact-card { padding: 24px; border-radius: 24px; }
}
/* Phones held sideways (e.g. 844×390): keep the two columns and a smaller table. */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding-top: 28px; }
  .stage { order: 0; height: 280px; }
  .hero h1 { font-size: clamp(34px, 5.4vw, 54px); }
  .tile { width: clamp(40px, 5.4vw, 60px); font-size: clamp(20px, 2.8vw, 30px); }
  .t4 { width: clamp(48px, 6.4vw, 72px); }
  .coins { width: 70px; }
  .facts { margin-top: 26px; }
  .feature, .feature.hx, .contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hamster { width: 90px; }
  .hx .feature-bg { background: linear-gradient(90deg, rgba(4, 44, 52, 0) 25%, rgba(4, 44, 52, 0.8) 50%, rgba(4, 44, 52, 0.96) 58%), url("img/hx-art.webp") 30% center / auto 100% no-repeat, #0b3a44; }
  .hx-window { aspect-ratio: auto; min-height: 280px; margin: 0; background: none; border-radius: 0; }
  .hx-window .device-frame { left: 0; right: auto; bottom: 0; width: 60%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
