:root {
  --sh-cyan: #00e5ff;
  --sh-pink: #ff3fb4;
  --sh-violet: #8b5cff;
  --sh-ink: #03050c;
  --sh-panel: rgba(8, 12, 25, .86);
}

@font-face {
  font-family: "Let's Go Digital Web";
  src: url("/assets/games/superhorizon-vr/fonts/lets-go-digital-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.sh-unified { background: #03050c; }
.sh-page { width: min(100% - 2rem, 1180px); margin: 0 auto; padding: 1rem 0 4rem; }
.sh-hero { position: relative; min-height: 650px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; border: 1px solid rgba(0, 229, 255, .24); border-radius: 26px; background: #070a15; box-shadow: 0 25px 90px rgba(0, 0, 0, .38); }
.sh-hero-media, .sh-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-hero-media img { object-fit: cover; object-position: center; transition: opacity .22s ease, transform .8s ease; }
.sh-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2, 4, 12, .98) 0%, rgba(2, 4, 12, .88) 30%, rgba(2, 4, 12, .35) 62%, rgba(2, 4, 12, .08) 100%), linear-gradient(0deg, rgba(2, 4, 12, .88), transparent 52%); }
.sh-unified[data-sh-platform="mobile"] .sh-hero::before,
.sh-unified[data-sh-platform="browser"] .sh-hero::before { background: linear-gradient(90deg, rgba(2, 4, 12, .99) 0%, rgba(2, 4, 12, .92) 30%, rgba(2, 4, 12, .28) 53%, transparent 72%), linear-gradient(0deg, rgba(2, 4, 12, .68), transparent 36%); }
.sh-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--sh-cyan), var(--sh-pink), transparent); opacity: .75; }
.sh-hero-copy { position: relative; z-index: 2; width: min(660px, 64%); padding: clamp(2rem, 5vw, 4.25rem); }
.sh-kicker, .sh-section-kicker { margin: 0 0 .7rem; color: var(--sh-cyan); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.sh-hero h1 { margin: 0; color: #fff; font-family: "Let's Go Digital Web", monospace; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 400; line-height: .88; letter-spacing: .025em; text-shadow: 0 0 30px rgba(0, 229, 255, .26); }
.sh-hero-lead { max-width: 610px; margin: 1.2rem 0 1.35rem; color: #d9e8f5; font-size: clamp(.98rem, 1.5vw, 1.12rem); line-height: 1.7; }
.sh-platform-label { margin: 0 0 .55rem; color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.sh-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.sh-tab { min-height: 46px; padding: .65rem 1rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #d7deea; background: rgba(6, 9, 20, .72); font: inherit; font-size: .86rem; font-weight: 750; cursor: pointer; backdrop-filter: blur(12px); transition: border-color .2s, color .2s, background .2s, transform .2s; }
.sh-tab:hover, .sh-tab:focus-visible { color: #fff; border-color: rgba(0, 229, 255, .7); outline: none; transform: translateY(-1px); }
.sh-tab[aria-selected="true"] { color: #04101a; border-color: var(--sh-cyan); background: linear-gradient(135deg, #d9fbff, var(--sh-cyan)); box-shadow: 0 0 20px rgba(0, 229, 255, .26); }
.sh-choice { padding: 1rem; border: 1px solid rgba(255, 255, 255, .13); border-radius: 16px; background: rgba(4, 8, 18, .76); backdrop-filter: blur(14px); }
.sh-choice-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.sh-choice-head strong { color: #fff; font-size: 1.08rem; }
.sh-status { color: #ffcdeb; font-size: .76rem; font-weight: 750; text-align: right; }
.sh-choice p { margin: 0 0 .85rem; color: #c5d0dc; font-size: .9rem; line-height: 1.55; }
.sh-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.sh-actions .btn { min-height: 44px; }
.sh-primary { border-color: transparent !important; color: #04101a !important; background: linear-gradient(135deg, var(--sh-cyan), #bdf8ff) !important; }
.sh-secondary { border-color: rgba(255, 63, 180, .55) !important; color: #ffd8ef !important; background: rgba(255, 63, 180, .09) !important; }

.sh-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; margin: 1.5rem 0; }
.sh-card { min-width: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: linear-gradient(145deg, rgba(16, 22, 42, .92), rgba(6, 9, 20, .94)); box-shadow: 0 18px 55px rgba(0, 0, 0, .25); }
.sh-story { padding: clamp(1.3rem, 3vw, 2rem); }
.sh-story h2, .sh-platform-panel h2, .sh-compare h2 { margin: 0; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.15; }
.sh-story > p:last-of-type { color: #aebcce; line-height: 1.7; }
.sh-features { display: grid; gap: .65rem; margin-top: 1.25rem; }
.sh-feature { display: grid; grid-template-columns: 52px 1fr; gap: .9rem; align-items: center; padding: .75rem; border: 1px solid rgba(0, 229, 255, .13); border-radius: 13px; background: rgba(0, 229, 255, .04); }
.sh-feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--sh-cyan); background: rgba(0, 229, 255, .12); font-family: system-ui, sans-serif; font-size: 1.9rem; font-weight: 750; line-height: 1; text-shadow: 0 0 12px rgba(0, 229, 255, .3); }
.sh-feature strong { display: block; color: #edf8ff; font-size: .88rem; }
.sh-feature > div > span { display: block; margin-top: .12rem; color: #8fa2b8; font-size: .76rem; line-height: 1.45; }
.sh-platform-map { display: grid; gap: .75rem; padding: 1rem; }
.sh-map-item { position: relative; overflow: hidden; min-height: 118px; padding: 1rem; border-radius: 14px; background: #0a1020 center / cover no-repeat; }
.sh-map-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 4, 10, .95), rgba(2, 4, 10, .38)); }
.sh-map-item > * { position: relative; }
.sh-map-item strong { display: block; color: #fff; }
.sh-map-item span { display: block; max-width: 230px; margin-top: .3rem; color: #c4cfdd; font-size: .78rem; line-height: 1.45; }

.sh-platform-panel { scroll-margin-top: 90px; padding: clamp(1rem, 3vw, 2rem); }
.sh-platform-panel[hidden] { display: none; }
.sh-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.sh-panel-head p { max-width: 650px; margin: .5rem 0 0; color: #9fb0c3; line-height: 1.6; }
.sh-mobile-grid, .sh-vr-grid { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 1.35rem; align-items: start; }
.sh-mobile-video { display: block; width: min(100%, 360px); max-height: 700px; margin: 0 auto; border: 1px solid rgba(0, 229, 255, .25); border-radius: 18px; background: #000; box-shadow: 0 18px 55px rgba(0, 0, 0, .45); }
.sh-detail-box { padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .025); }
.sh-detail-box + .sh-detail-box { margin-top: .8rem; }
.sh-detail-box h3 { margin: 0 0 .55rem; color: #fff; }
.sh-detail-box p { margin: 0; color: #9fb0c3; line-height: 1.65; }
.sh-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.sh-meta span { padding: .4rem .65rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; color: #d7e2ee; font-size: .76rem; }

.sh-gallery { min-width: 0; padding: .85rem; border: 1px solid rgba(0, 229, 255, .2); border-radius: 16px; background: rgba(0, 229, 255, .035); }
.sh-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .65rem; }
.sh-gallery-heading h3 { margin: 0; color: #fff; }
.sh-gallery-count { color: #92a4b8; font-size: .76rem; font-variant-numeric: tabular-nums; }
.sh-gallery-stage { position: relative; }
.sh-gallery-figure { position: relative; overflow: hidden; margin: 0; border-radius: 11px; background: #020409; }
.sh-gallery-image { display: block; width: 100%; height: clamp(300px, 52vw, 560px); object-fit: contain; }
.sh-gallery-caption { position: absolute; inset: auto 0 0; padding: 2rem .8rem .65rem; color: #fff; font-size: .78rem; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.sh-gallery-control { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(0, 229, 255, .45); border-radius: 50%; color: #fff; background: rgba(3, 7, 18, .78); font-size: 1.3rem; cursor: pointer; transform: translateY(-50%); }
.sh-gallery-control:hover, .sh-gallery-control:focus-visible { border-color: var(--sh-cyan); outline: none; background: rgba(0, 229, 255, .18); }
#sh-gallery-prev { left: .55rem; }
#sh-gallery-next { right: .55rem; }
.sh-gallery-thumbs { display: flex; gap: .45rem; overflow-x: auto; margin-top: .65rem; padding: .08rem .05rem .3rem; }
.sh-gallery-thumb { flex: 0 0 76px; width: 76px; height: 52px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-radius: 7px; background: #020409; opacity: .6; cursor: pointer; }
.sh-gallery-thumb[aria-current="true"] { border-color: var(--sh-cyan); opacity: 1; box-shadow: 0 0 12px rgba(0, 229, 255, .28); }
.sh-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-gallery-help { margin: .55rem 0 0; color: #8193a8; font-size: .74rem; }

.sh-browser-shell { padding: 1rem; border: 1px solid rgba(255, 63, 180, .25); border-radius: 16px; background: rgba(255, 63, 180, .035); }
.sh-browser-shell > p { color: #9fb0c3; line-height: 1.6; }
.game-wrap { position: relative; width: 100%; }
.sh-browser-frame { display: block; width: 100%; aspect-ratio: 16 / 10; border: 1px solid rgba(0, 229, 255, .25); border-radius: 12px; background: #020409; }
.sh-browser-link { display: inline-block; margin-top: .75rem; color: var(--sh-cyan); }
.game-fs-btn { position: absolute; top: 10px; right: 10px; z-index: 10; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 10px; color: #fff; background: rgba(0, 0, 0, .58); cursor: pointer; backdrop-filter: blur(8px); }
.game-wrap:fullscreen, .game-wrap:-webkit-full-screen, .game-wrap.pseudo-fs { background: #000; padding: 0; max-width: none; }
.game-wrap:fullscreen .sh-browser-frame, .game-wrap:-webkit-full-screen .sh-browser-frame, .game-wrap.pseudo-fs .sh-browser-frame { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; }
.game-wrap.pseudo-fs { position: fixed; inset: 0; z-index: 99999; margin: 0; }

.sh-compare { margin-top: 1.5rem; padding: clamp(1.2rem, 3vw, 2rem); }
.sh-compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.2rem; }
.sh-compare-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 15px; background: rgba(255, 255, 255, .025); }
.sh-compare-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sh-compare-card div { padding: 1rem; }
.sh-compare-card h3 { margin: 0 0 .35rem; color: #fff; font-size: 1rem; }
.sh-compare-card p { margin: 0; color: #8fa2b8; font-size: .78rem; line-height: 1.5; }
#game-social { margin-top: 1.5rem; }

@media (max-width: 850px) {
  .sh-hero { min-height: 720px; }
  .sh-hero::before { background: linear-gradient(0deg, rgba(2, 4, 12, .99) 0%, rgba(2, 4, 12, .86) 48%, rgba(2, 4, 12, .18) 78%, rgba(2, 4, 12, .05) 100%); }
  .sh-hero-media img { object-position: 62% center; }
  .sh-hero-copy { width: 100%; padding: 1.5rem; }
  .sh-intro { grid-template-columns: 1fr; }
  .sh-mobile-grid, .sh-vr-grid { grid-template-columns: 1fr; }
  .sh-compare-grid { grid-template-columns: 1fr; }
  .sh-compare-card { display: grid; grid-template-columns: 160px 1fr; }
  .sh-compare-card img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 560px) {
  .sh-page { width: min(100% - 1rem, 1180px); padding-top: .5rem; }
  .sh-hero { min-height: 760px; border-radius: 18px; }
  .sh-hero-copy { padding: 1rem; }
  .sh-hero h1 { font-size: clamp(2.7rem, 17vw, 4.4rem); }
  .sh-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; }
  .sh-tab { flex: 0 0 auto; }
  .sh-choice-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .sh-status { text-align: left; }
  .sh-actions { display: grid; }
  .sh-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .sh-feature { grid-template-columns: 56px 1fr; gap: .85rem; }
  .sh-feature-icon { width: 56px; height: 56px; font-size: 2.1rem; }
  .sh-panel-head { align-items: flex-start; flex-direction: column; }
  .sh-gallery-image { height: min(105vw, 430px); }
  .sh-browser-frame { aspect-ratio: 9 / 16; }
  .sh-compare-card { grid-template-columns: 116px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-hero-media img, .sh-tab { transition: none; }
}
