:root {
  color-scheme: dark;
  --bg: #05070c;
  --bg-2: #0a1020;
  --panel: rgba(12, 18, 31, 0.78);
  --panel-strong: rgba(14, 21, 35, 0.94);
  --text: #edf7ff;
  --muted: #9fb1c7;
  --line: rgba(129, 225, 222, 0.18);
  --cyan: #61e5df;
  --green: #91ef78;
  --violet: #7d88ff;
  --copper: #d89b54;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(145deg, #05070c 0%, #0a1020 44%, #071615 100%),
    linear-gradient(90deg, rgba(97, 229, 223, 0.08), rgba(125, 136, 255, 0.07), rgba(145, 239, 120, 0.05));
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 76%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 68px);
  background: linear-gradient(to bottom, rgba(4, 6, 10, 0.78), rgba(4, 6, 10, 0.22));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 1.16rem;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(97, 229, 223, 0.55);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(6, 16, 22, 0.62);
  box-shadow: 0 0 20px rgba(97, 229, 223, 0.18);
}

.main-nav {
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  color: #d8e6f3;
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan);
}

.main-nav .nav-library {
  padding: 7px 11px;
  border: 1px solid rgba(97, 229, 223, 0.42);
  border-radius: 6px;
  color: #e8feff;
  background: rgba(97, 229, 223, 0.11);
  white-space: nowrap;
}

.main-nav .nav-library:hover,
.main-nav .nav-library:focus-visible {
  color: #031112;
  background: var(--cyan);
  border-color: var(--cyan);
}

.language-switch {
  gap: 6px;
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 9, 14, 0.58);
  color: #d3e0ee;
  cursor: pointer;
  font-weight: 800;
}

.language-switch button.active,
.language-switch button:hover {
  color: #031112;
  background: var(--cyan);
  border-color: var(--cyan);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: clamp(110px, 13vh, 180px) clamp(18px, 5vw, 82px) clamp(52px, 9vh, 118px);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.16) saturate(1.08) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(3, 5, 8, 0.2), rgba(3, 5, 8, 0.03) 42%, rgba(3, 5, 8, 0.34) 100%),
    linear-gradient(90deg, rgba(3, 5, 8, 0.34), rgba(3, 5, 8, 0.08) 45%, rgba(3, 5, 8, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--text);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: #e8fbff;
  font-size: clamp(1.35rem, 2.5vw, 2.55rem);
  line-height: 1.12;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 14px 0 0;
  color: #d3e3ef;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #031112;
  border-color: transparent;
  box-shadow: 0 0 28px rgba(97, 229, 223, 0.2);
  text-shadow: none;
}

.button.secondary {
  background: rgba(125, 136, 255, 0.14);
  border-color: rgba(125, 136, 255, 0.45);
  color: #dfe6ff;
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 78px);
}

.section[id] {
  scroll-margin-top: 106px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading-copy {
  max-width: 880px;
}

.section-heading-copy > p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.brand-categories {
  scroll-margin-top: 92px;
  background:
    radial-gradient(circle at 12% 20%, rgba(97, 229, 223, 0.1), transparent 26%),
    radial-gradient(circle at 88% 80%, rgba(125, 136, 255, 0.11), transparent 30%);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 55%),
    var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -22% -42% 28%;
  height: 72%;
  border-radius: 50%;
  background: rgba(97, 229, 223, 0.08);
  filter: blur(4px);
  pointer-events: none;
}

.category-games::after {
  background: rgba(125, 136, 255, 0.1);
}

.category-wallpapers::after {
  background: rgba(216, 155, 84, 0.11);
}

.category-index,
.category-label,
.category-card h3,
.category-card p,
.category-card .text-link {
  position: relative;
  z-index: 1;
}

.category-index {
  display: block;
  color: rgba(237, 247, 255, 0.32);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.category-label {
  margin: 62px 0 6px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.category-card > p:not(.category-label) {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--muted);
}

.apps-showcase {
  background:
    radial-gradient(circle at 15% 18%, rgba(125, 136, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(10, 12, 26, 0.64));
}

.app-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(125, 136, 255, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 136, 255, 0.13), transparent 46%),
    var(--panel);
  box-shadow: var(--shadow);
}

.app-identity {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(97, 229, 223, 0.2), transparent 32%),
    linear-gradient(145deg, #101429, #06141c 62%, #071017);
}

.app-monogram {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(128px, 16vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(97, 229, 223, 0.5);
  border-radius: 24%;
  color: #e9feff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  background: rgba(5, 12, 22, 0.74);
  box-shadow: 0 0 46px rgba(97, 229, 223, 0.17);
}

.app-orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(125, 136, 255, 0.24);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.44);
}

.app-content {
  align-self: center;
  padding: clamp(28px, 5vw, 64px);
}

.app-content h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.app-content > p:not(.product-type):not(.scene-subtitle) {
  max-width: 700px;
  color: var(--muted);
}

.app-content > .availability {
  max-width: 100%;
}

.app-tag-list {
  margin-top: 20px;
}

.app-details {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  gap: 18px;
  margin-top: 28px;
}

.app-features,
.app-companion {
  padding: 22px;
  border: 1px solid rgba(125, 136, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 12, 22, 0.46);
}

.app-details h4 {
  margin: 0;
  color: #e8f3f8;
  font-size: 1.05rem;
}

.app-features ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.app-features li {
  position: relative;
  padding-left: 19px;
  color: #cbd8e2;
}

.app-features li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(145, 239, 120, 0.3);
}

.app-companion .product-type {
  margin: 0 0 8px;
}

.app-companion p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.product-type {
  margin: 26px 0 0;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-note {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.games-showcase {
  background:
    radial-gradient(circle at 82% 26%, rgba(97, 229, 223, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(5, 18, 19, 0.48));
}

.games-state {
  position: relative;
  max-width: 980px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(97, 229, 223, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(97, 229, 223, 0.1), transparent 48%),
    var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.games-state::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(97, 229, 223, 0.035) 18px 19px);
  pointer-events: none;
}

.games-state h3,
.games-state p,
.games-state .availability {
  position: relative;
  z-index: 1;
}

.games-state h3 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
}

.games-state p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.wallpaper-collections {
  background:
    radial-gradient(circle at 86% 14%, rgba(216, 155, 84, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(18, 14, 18, 0.48));
}

.collection-grid,
.gallery-grid,
.steps {
  display: grid;
  gap: 18px;
}

.collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-card,
.scene-feature,
.gallery-card,
.step-card,
.download-panel,
.support-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.collection-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 360px;
}

.collection-visual {
  position: relative;
  height: clamp(190px, 13vw, 250px);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(97, 229, 223, 0.14), rgba(125, 136, 255, 0.13));
}

.collection-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-steampunk .collection-visual {
  background:
    linear-gradient(135deg, rgba(216, 155, 84, 0.16), rgba(97, 229, 223, 0.1)),
    #071018;
}

.collection-steampunk .collection-visual img {
  object-fit: contain;
}

.collection-fantasy .collection-visual {
  background:
    linear-gradient(135deg, rgba(125, 136, 255, 0.18), rgba(145, 239, 120, 0.1)),
    #05070c;
}

.collection-fantasy .collection-visual img {
  filter: saturate(1.08) contrast(1.04);
}

.collection-cyberpunk .collection-visual {
  background:
    linear-gradient(135deg, rgba(97, 229, 223, 0.18), rgba(255, 72, 217, 0.12)),
    #02050a;
}

.collection-cyberpunk .collection-visual img {
  filter: saturate(1.18) contrast(1.08);
}

.collection-cozy .collection-visual {
  background:
    linear-gradient(135deg, rgba(216, 155, 84, 0.2), rgba(145, 239, 120, 0.08) 48%, rgba(82, 117, 156, 0.16)),
    #07090d;
}

.collection-cozy .collection-visual img {
  object-fit: contain;
  filter: saturate(1.05) contrast(1.03);
}

.placeholder-visual::before {
  content: "";
  position: absolute;
  inset: 0;
}

.collection-fantasy .placeholder-visual::before {
  background: linear-gradient(135deg, rgba(88, 213, 133, 0.26), rgba(70, 38, 106, 0.35), rgba(5, 7, 12, 0.22));
}

.collection-cyberpunk .placeholder-visual::before {
  background: linear-gradient(135deg, rgba(97, 229, 223, 0.24), rgba(125, 136, 255, 0.3), rgba(5, 7, 12, 0.24));
}

.collection-cozy .placeholder-visual::before {
  background: linear-gradient(135deg, rgba(216, 155, 84, 0.24), rgba(145, 239, 120, 0.13), rgba(28, 43, 54, 0.34));
}

.collection-content,
.scene-content,
.step-card,
.download-panel,
.support-panel {
  padding: clamp(20px, 3vw, 34px);
}

.collection-content {
  flex: 1;
  padding: clamp(16px, 2vw, 24px);
}

.collection-content p,
.scene-content p,
.step-card p,
.download-note,
.support-panel p,
.site-footer p {
  color: var(--muted);
}

.availability {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7e2ef;
  font-weight: 900;
  font-size: 0.78rem;
}

.availability.live {
  background: rgba(145, 239, 120, 0.14);
  color: var(--green);
}

.collection-content h3,
.scene-content h3 {
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 900;
  transition: transform 160ms ease;
}

.scene-feature {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(310px, 0.92fr);
  overflow: hidden;
}

.scene-media {
  min-height: 420px;
  background: linear-gradient(135deg, rgba(216, 155, 84, 0.2), rgba(97, 229, 223, 0.14));
}

.scene-media img,
.scene-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #02050a;
}

.scene-video {
  display: block;
}

.scene-subtitle {
  margin: 8px 0 0;
  color: #d9e7f5;
  font-weight: 800;
}

.fantasy-showcase {
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 136, 255, 0.16), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(145, 239, 120, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(13, 15, 30, 0.58));
}

.witchwood-feature {
  background:
    linear-gradient(135deg, rgba(61, 42, 98, 0.32), rgba(8, 16, 26, 0.94) 54%),
    var(--panel);
}

.witchwood-media {
  background:
    linear-gradient(135deg, rgba(125, 136, 255, 0.18), rgba(145, 239, 120, 0.1)),
    #02050a;
}

.witchwood-media .scene-video {
  object-fit: cover;
}

.cyberpunk-showcase {
  background:
    radial-gradient(circle at 16% 18%, rgba(97, 229, 223, 0.14), transparent 30%),
    radial-gradient(circle at 82% 30%, rgba(255, 72, 217, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(10, 18, 31, 0.72));
}

.cyberpunk-feature {
  border-color: rgba(97, 229, 223, 0.24);
  background:
    linear-gradient(135deg, rgba(97, 229, 223, 0.13), transparent 42%),
    linear-gradient(315deg, rgba(255, 72, 217, 0.12), rgba(6, 12, 22, 0.94) 58%),
    var(--panel);
}

.cyberpunk-media {
  min-height: clamp(260px, 23vw, 360px);
  background:
    linear-gradient(135deg, rgba(97, 229, 223, 0.18), rgba(255, 72, 217, 0.1)),
    #02050a;
}

.cyberpunk-preview {
  object-fit: cover;
}

.cyberpunk-gallery-grid .gallery-card {
  aspect-ratio: 3440 / 1310;
}

.cyberpunk-gallery-grid .gallery-card img {
  object-fit: cover;
}

.cyberpunk-tag-list span {
  border-color: rgba(97, 229, 223, 0.22);
  background: rgba(97, 229, 223, 0.08);
}

.cozy-showcase {
  scroll-margin-top: 110px;
  background:
    linear-gradient(135deg, rgba(216, 155, 84, 0.1), transparent 34%, rgba(75, 122, 153, 0.1) 78%, transparent),
    linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(22, 18, 22, 0.68));
}

.cozy-feature {
  border-color: rgba(216, 155, 84, 0.28);
  background:
    linear-gradient(135deg, rgba(216, 155, 84, 0.12), transparent 44%),
    linear-gradient(315deg, rgba(76, 123, 154, 0.11), rgba(12, 16, 24, 0.95) 60%),
    var(--panel);
}

.cozy-media {
  min-height: clamp(260px, 24vw, 390px);
  background:
    linear-gradient(135deg, rgba(216, 155, 84, 0.16), rgba(83, 128, 151, 0.12)),
    #05070b;
}

.cozy-preview {
  object-fit: contain;
}

.cozy-tag-list span {
  border-color: rgba(216, 155, 84, 0.24);
  background: rgba(216, 155, 84, 0.08);
}

.cozy-feature .card-actions .button.primary {
  margin-top: 0;
}

.cozy-details {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 76px);
  margin-top: clamp(34px, 5vw, 64px);
  padding: clamp(28px, 4vw, 50px) 0;
  border-top: 1px solid rgba(216, 155, 84, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 120px;
}

.cozy-description p {
  margin: 0;
  color: #c5d0dc;
}

.cozy-description p + p {
  margin-top: 14px;
}

.cozy-features h3 {
  color: #f4e3c4;
}

.cozy-features ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cozy-features li {
  position: relative;
  padding-left: 20px;
  color: #cbd8e2;
}

.cozy-features li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 12px rgba(216, 155, 84, 0.35);
}

#cozy-world-journey-gallery {
  scroll-margin-top: 120px;
}

.cozy-gallery-grid .gallery-card {
  aspect-ratio: 3440 / 1310;
  border-color: rgba(216, 155, 84, 0.2);
}

.cozy-gallery-grid .gallery-card img {
  object-fit: contain;
}

.sub-heading {
  margin-top: clamp(30px, 4vw, 54px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-list span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cfe5ef;
  font-size: 0.88rem;
}

.card-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #02050a;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.72);
  color: #f7fbff;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  color: var(--cyan);
  font-weight: 900;
}

.download-section {
  padding-bottom: 36px;
}

.download-panel,
.support-panel {
  background:
    linear-gradient(135deg, rgba(97, 229, 223, 0.12), transparent 46%),
    linear-gradient(315deg, rgba(125, 136, 255, 0.15), rgba(14, 21, 35, 0.92));
}

.download-panel h2,
.support-panel h2 {
  max-width: 900px;
}

.download-note {
  margin: 20px 0 0;
  white-space: pre-line;
}

.library-description {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.support-section {
  padding-top: 28px;
}

.support-panel {
  max-width: 980px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: start;
  padding: 34px clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 12, 0.86);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
  font-size: 1.15rem;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}

.footer-legal-link {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(97, 229, 223, 0.42);
  text-underline-offset: 4px;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--green);
  text-decoration-color: currentColor;
}

.legal-main {
  min-height: calc(100vh - 190px);
  padding: clamp(130px, 15vh, 190px) clamp(18px, 7vw, 120px) clamp(64px, 8vw, 110px);
}

.legal-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.legal-document {
  padding: clamp(28px, 5vw, 58px) 0;
  border-top: 1px solid rgba(97, 229, 223, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-document[hidden] {
  display: none;
}

.legal-document h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
}

.legal-kicker {
  margin: 24px 0 0;
  color: var(--green);
  font-weight: 800;
}

.legal-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(34px, 7vw, 92px);
  margin-top: clamp(34px, 5vw, 60px);
}

.legal-details h2 {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-address,
.legal-contact {
  min-width: 0;
}

.legal-address address,
.legal-contact p {
  margin: 0;
  color: #d7e4ef;
  font-style: normal;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.legal-email {
  display: inline-block;
  max-width: 100%;
  color: var(--cyan);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(97, 229, 223, 0.42);
  text-underline-offset: 4px;
}

.legal-email:hover,
.legal-email:focus-visible {
  color: var(--green);
}

.legal-authority-note {
  max-width: 720px;
  margin: clamp(30px, 4vw, 46px) 0 0;
  color: var(--muted);
}

.legal-back {
  margin-top: 30px;
}

.privacy-document {
  max-width: 900px;
}

.privacy-sections {
  display: grid;
  gap: clamp(34px, 5vw, 54px);
  margin-top: clamp(40px, 6vw, 70px);
}

.privacy-section {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section h2 {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.privacy-section p,
.privacy-section li,
.privacy-section address {
  color: #c8d6e2;
  font-style: normal;
}

.privacy-section p {
  margin: 0;
}

.privacy-section p + p,
.privacy-section ul + p,
.privacy-section p + ul {
  margin-top: 14px;
}

.privacy-section ul {
  display: grid;
  gap: 7px;
  margin-bottom: 0;
  padding-left: 22px;
}

.privacy-section strong {
  color: var(--text);
}

.privacy-section .legal-email,
.privacy-section .external-legal-link {
  color: var(--cyan);
}

.external-legal-link {
  text-decoration: underline;
  text-decoration-color: rgba(97, 229, 223, 0.42);
  text-underline-offset: 4px;
}

.external-legal-link:hover,
.external-legal-link:focus-visible {
  color: var(--green);
}

.privacy-date {
  margin-top: clamp(34px, 5vw, 52px);
  color: var(--muted);
  font-weight: 800;
}

.first-release {
  text-align: right;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 2200px) {
  .hero {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .hero-content {
    max-width: 860px;
  }

  .collection-visual {
    height: 280px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 250px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-feature {
    grid-template-columns: 1fr;
  }

  .app-feature {
    grid-template-columns: 1fr;
  }

  .cozy-media {
    min-height: 0;
    aspect-ratio: 3440 / 1308;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 1rem;
  }

  .main-nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .main-nav .nav-library {
    padding: 5px 8px;
  }

  .language-switch button {
    min-width: 34px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 110px;
  }

  .hero-image {
    object-position: center center;
  }

  .collection-grid,
  .category-grid,
  .steps,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }

  .cozy-details {
    grid-template-columns: 1fr;
  }

  .app-identity {
    min-height: 290px;
  }

  .apps-showcase .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-details {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .card-actions,
  .download-actions {
    flex-direction: column;
  }

  .first-release {
    text-align: left;
  }
}
