:root {
  --ink: #040912;
  --ink-2: #071220;
  --ink-3: #0b1f33;
  --panel: rgba(8, 20, 34, 0.88);
  --panel-strong: rgba(5, 12, 22, 0.96);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-soft: #f2f8ff;
  --ice: #4cc8ff;
  --ice-2: #2098da;
  --gold: #ffcc1c;
  --gold-2: #ff9f1c;
  --ruby: #ff2f7a;
  --lava: #ff5b24;
  --line: rgba(255, 255, 255, 0.2);
  --shadow-blue: 0 1.5rem 4.5rem rgba(76, 200, 255, 0.25);
  --shadow-gold: 0 1.5rem 4.5rem rgba(255, 204, 28, 0.18);
  --shadow-dark: 0 2rem 5rem rgba(0, 0, 0, 0.46);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.85rem;
  --clip-card: polygon(
    0 0,
    calc(100% - 1.35rem) 0,
    100% 1.35rem,
    100% 100%,
    1.35rem 100%,
    0 calc(100% - 1.35rem)
  );
  --clip-soft: polygon(
    0 0,
    100% 0,
    100% calc(100% - 1.8rem),
    calc(100% - 1.8rem) 100%,
    0 100%
  );
  --max: 1180px;
  --header-offset: 9.75rem;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--ice) var(--ink);
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 18% 8%,
      rgba(76, 200, 255, 0.18),
      transparent 22rem
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(255, 204, 28, 0.14),
      transparent 20rem
    ),
    linear-gradient(180deg, #050811 0%, #06101f 38%, #03060d 100%);
  color: var(--text);
  font-family:
    'Nunito Sans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 0.85rem;
}

::-webkit-scrollbar-track {
  background: #03060d;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ice), var(--gold));
  border: 0.18rem solid #03060d;
  border-radius: 999rem;
}

a {
  color: var(--text);
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 0.22rem;
}

a:hover {
  color: var(--gold);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 0.18rem solid var(--gold);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  transform: translateY(-160%);
  padding: 0.85rem 1.1rem;
  border-radius: 999rem;
  background: var(--gold);
  color: #04101d;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  width: 100%;
  height: 0.28rem;
  border: 0;
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--ice), var(--gold), var(--ruby));
  box-shadow: 0 0 1.25rem rgba(76, 200, 255, 0.72);
}

.scroll-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--ice), var(--gold), var(--ruby));
  box-shadow: 0 0 1.25rem rgba(76, 200, 255, 0.72);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  padding: 0.9rem 1rem;
  transition:
    padding 180ms ease,
    background 180ms ease,
    backdrop-filter 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  padding: 0.55rem 0.8rem;
  background: rgba(3, 7, 14, 0.76);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(1.2rem);
}

.site-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0.55rem 0.7rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.22);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 11rem;
  min-height: 3rem;
  border-radius: 1rem;
}

.brand-mark img {
  width: 11rem;
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 3.25rem;
  min-width: 4.4rem;
  padding: 0.65rem 0.85rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 900;
}

.nav-toggle__line {
  width: 0.95rem;
  height: 0.16rem;
  border-radius: 999rem;
  background: var(--ice);
  box-shadow: 0 0 0.75rem rgba(76, 200, 255, 0.8);
}

.nav-toggle__label {
  font-size: 0.92rem;
}

.primary-nav {
  position: fixed;
  inset: 5.75rem 1rem auto 1rem;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  background: rgba(4, 9, 18, 0.94);
  box-shadow: var(--shadow-dark);
  transform: translateY(-1rem) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.primary-nav.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.primary-nav__link,
.primary-nav__cta {
  position: relative;
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 999rem;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
}

.primary-nav__link::before,
.primary-nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-105%) skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transition: transform 420ms ease;
}

.primary-nav__link:hover::before,
.primary-nav__cta:hover::before,
.primary-nav__link:focus-visible::before,
.primary-nav__cta:focus-visible::before {
  transform: translateX(105%) skewX(-18deg);
}

.primary-nav__link.is-active {
  color: #03101d;
  background: linear-gradient(135deg, var(--ice), var(--gold));
  box-shadow: 0 0.85rem 1.8rem rgba(76, 200, 255, 0.18);
}

.primary-nav__cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #03101d;
  border-color: rgba(255, 255, 255, 0.32);
}

.section,
.hero-section,
.subhero,
.legal-page {
  position: relative;
  overflow: hidden;
}

.hero-section {
  min-height: 100svh;
  padding: calc(var(--header-offset) + 2rem) 1rem 4rem;
}

.hero-section__shell,
.section-shell,
.footer-shell,
.footer-bottom,
.legal-page__shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-section__shell {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-aurora {
  position: absolute;
  width: 38rem;
  height: 38rem;
  inset: 5rem -14rem auto auto;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(76, 200, 255, 0.28),
    transparent 64%
  );
  filter: blur(0.4rem);
  animation: orbitGlow 12s ease-in-out infinite alternate;
}

.hero-eyebrow,
.section-kicker,
.wizard-step__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--text);
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-eyebrow span,
.section-kicker span {
  width: 1.5rem;
  height: 0.7rem;
  border-radius: 999rem;
  background: linear-gradient(90deg, var(--gold), var(--ice));
  box-shadow: 0 0 1rem rgba(76, 200, 255, 0.55);
}

h1,
h2,
h3 {
  color: var(--text);
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: 'Luckiest Guy', 'Nunito Sans', system-ui, sans-serif;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 10vw, 4.15rem);
  max-width: 12ch;
  text-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.48);
}

h2 {
  font-size: clamp(2rem, 7vw, 3.1rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.25rem;
  font-weight: 1000;
}

p {
  color: var(--text-soft);
}

.hero-lead,
.section-heading p,
.subhero__copy p,
.intro-ribbon__text p,
.levels-preview__copy p,
.premium-card p,
.studio-section__copy p,
.mechanic-section__copy p,
.atmosphere-section__copy p,
.purchase-panel p,
.player-tips__copy p,
.contact-section__intro p {
  font-size: 1.08rem;
}

.hero-actions,
.premium-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.9rem 1.25rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 999rem;
  color: var(--text);
  font-weight: 1000;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button::before {
  content: '';
  position: absolute;
  inset: -20% auto -20% -55%;
  width: 45%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.48),
    transparent
  );
  transform: skewX(-17deg);
  opacity: 0;
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-0.12rem);
  color: inherit;
}

.button:hover::before,
.button:focus-visible::before {
  animation: buttonGlint 620ms ease;
}

.button--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #06101f;
  box-shadow: var(--shadow-gold);
}

.button--ice {
  background: linear-gradient(135deg, var(--ice), var(--ice-2));
  color: #03101d;
  box-shadow: var(--shadow-blue);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  backdrop-filter: blur(0.8rem);
}

.button--glow {
  background: rgba(76, 200, 255, 0.14);
  color: var(--text);
  box-shadow: 0 0 2rem rgba(76, 200, 255, 0.18);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.6rem 0 0;
}

.hero-facts div {
  min-height: 7.25rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.04)
  );
  clip-path: var(--clip-soft);
}

.hero-facts dt {
  color: var(--gold);
  font-family: 'Luckiest Guy', 'Nunito Sans', system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-facts dd {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 26rem;
}

.hero-device,
.hero-phone,
.phone-frame,
.subhero__phone,
.mechanic-board,
.purchase-image,
.angled-media {
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.hero-device {
  position: relative;
  width: min(100%, 32rem);
  margin-inline: auto;
  padding: 0.55rem;
  border-radius: 2rem;
  clip-path: polygon(
    0 1.2rem,
    1.2rem 0,
    100% 0,
    100% calc(100% - 1.2rem),
    calc(100% - 1.2rem) 100%,
    0 100%
  );
}

.hero-device__image,
.purchase-image__img,
.subhero__wide-image {
  width: 100%;
  border-radius: 1.4rem;
}

.hero-device figcaption {
  padding: 0.75rem 0.75rem 0.45rem;
  color: var(--text);
  font-weight: 900;
  font-size: 0.95rem;
}

.hero-phone {
  position: absolute;
  width: 9.5rem;
  border-radius: 1.65rem;
  padding: 0.35rem;
}

.hero-phone__image,
.phone-frame__image,
.subhero__image,
.mechanic-board__image,
.angled-media__image {
  width: 100%;
  border-radius: 1.25rem;
}

.hero-phone--one {
  left: -0.35rem;
  bottom: 0.5rem;
  transform: rotate(-9deg);
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-phone--two {
  right: -0.2rem;
  top: 1.25rem;
  transform: rotate(7deg);
  animation: floatSlow 6s ease-in-out 800ms infinite;
}

.section {
  padding: 4.5rem 1rem;
}

.section-shell {
  position: relative;
  z-index: 2;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .section-kicker {
  justify-content: center;
}

.section-heading--center h2,
.section-heading--center p {
  margin-inline: auto;
}

.section-decorator {
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -8rem;
  top: 4rem;
  border: 0.0625rem solid rgba(76, 200, 255, 0.22);
  border-radius: 42% 58% 52% 48%;
  background: radial-gradient(
    circle,
    rgba(76, 200, 255, 0.14),
    transparent 62%
  );
  pointer-events: none;
  animation: crystalTurn 14s linear infinite;
}

.section-decorator::after {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: inherit;
  border: 0.0625rem solid rgba(255, 204, 28, 0.28);
}

.section-decorator--left {
  left: -8rem;
  right: auto;
}

.section-decorator--right {
  right: -9rem;
}

.section-decorator--top {
  top: -6rem;
  left: 50%;
  right: auto;
}

.section-bg-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.17;
  pointer-events: none;
  overflow: hidden;
}

.section-bg-frame__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

.intro-ribbon__shell,
.levels-preview__shell,
.premium-section__shell,
.studio-section__shell,
.mechanic-section__shell,
.atmosphere-section__shell,
.purchase-section__shell,
.player-tips__shell,
.contact-section__shell,
.subhero__shell,
.level-map-section__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.intro-ribbon__cards,
.pillar-grid,
.timeline-cards,
.visual-library__grid {
  display: grid;
  gap: 1rem;
}

.micro-card,
.pillar-card,
.world-card,
.timeline-card,
.atmosphere-card,
.purchase-panel,
.premium-card,
.contact-wizard,
.contact-direct-card,
.status-card,
.legal-page__shell,
.visual-library__item {
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.045)
  );
  box-shadow: var(--shadow-dark);
  clip-path: var(--clip-card);
}

.micro-card,
.pillar-card,
.timeline-card,
.visual-library__item {
  padding: 0.75rem;
}

.micro-card__image,
.pillar-card__image,
.timeline-card__image,
.visual-library__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.1rem;
}

.micro-card h3,
.pillar-card h3,
.timeline-card h3,
.world-card h3,
.atmosphere-card figcaption,
.visual-library__item figcaption {
  margin-top: 1rem;
}

.micro-card p,
.pillar-card p,
.timeline-card p,
.world-card p,
.visual-library__item figcaption {
  margin-bottom: 0.2rem;
}

.micro-card--gold {
  transform: translateY(0.55rem);
}

.micro-card--blue,
.pillar-card--raised {
  box-shadow: var(--shadow-blue);
}

.micro-card--lava {
  box-shadow: 0 1.5rem 4.5rem rgba(255, 91, 36, 0.18);
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.world-card {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  transform: translateZ(0);
}

.world-card__image {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  transition: transform 420ms ease;
}

.world-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 14, 0.94));
}

.world-card:hover .world-card__image,
.world-card:focus-within .world-card__image {
  transform: scale(1.07) rotate(1deg);
}

.phone-frame,
.subhero__phone,
.mechanic-board,
.angled-media {
  padding: 0.45rem;
  border-radius: 2rem;
}

.phone-frame {
  width: min(100%, 20rem);
  margin-inline: auto;
}

.phone-frame--tilted {
  transform: rotate(-3deg);
}

.levels-preview__media,
.premium-stack,
.player-tips__media,
.studio-mosaic {
  position: relative;
  min-height: 24rem;
}

.levels-preview__badge {
  position: absolute;
  right: 0.6rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #06101f;
  font-weight: 1000;
  box-shadow: var(--shadow-gold);
  transform: rotate(7deg);
}

.feature-list,
.steps-list,
.error-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.steps-list li,
.error-list li {
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.feature-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  margin-right: 0.55rem;
  color: var(--gold);
  font-weight: 1000;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  min-height: 17rem;
  padding: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  clip-path: var(--clip-card);
}

.gallery-tile__image {
  width: 100%;
  height: 100%;
  min-height: 17rem;
  object-fit: cover;
  transition:
    transform 420ms ease,
    filter 420ms ease;
}

.gallery-tile::after {
  content: 'Otwórz';
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999rem;
  background: rgba(255, 204, 28, 0.95);
  color: #06101f;
  font-size: 0.82rem;
  font-weight: 1000;
  transform: translateY(-0.6rem);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-tile__content {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 14, 0.97));
}

.gallery-tile__content strong {
  font-size: 1.1rem;
}

.gallery-tile__content span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.gallery-tile:hover .gallery-tile__image,
.gallery-tile:focus-visible .gallery-tile__image {
  transform: scale(1.07);
  filter: saturate(1.1);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.premium-section__ambient,
.worlds-section__ambient,
.mechanic-section__ambient,
.difficulty-section__ambient,
.visual-library__ambient,
.subhero__ambient,
.contact-section__bg {
  opacity: 0.12;
}

.premium-card,
.purchase-panel,
.status-card {
  padding: 1.4rem;
  background: linear-gradient(
    145deg,
    rgba(7, 18, 32, 0.96),
    rgba(14, 36, 58, 0.72)
  );
}

.premium-note {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 900;
}

.premium-stack__item {
  position: absolute;
  width: 13rem;
  margin: 0;
  padding: 0.38rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.premium-stack__item--one {
  left: 0;
  top: 0;
  transform: rotate(-7deg);
}

.premium-stack__item--two {
  right: 0;
  bottom: 0;
  transform: rotate(6deg);
}

.premium-stack__image {
  width: 100%;
  border-radius: 1.4rem;
}

.studio-mosaic__image {
  position: absolute;
  width: 12rem;
  aspect-ratio: 1;
  object-fit: cover;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-dark);
  clip-path: var(--clip-card);
}

.studio-mosaic__image--a {
  left: 0;
  top: 0;
}

.studio-mosaic__image--b {
  right: 0;
  top: 4rem;
}

.studio-mosaic__image--c {
  left: 26%;
  bottom: 0;
}

.subhero {
  padding: calc(var(--header-offset) + 2rem) 1rem 4rem;
}

.subhero__shell {
  min-height: 36rem;
}

.subhero h1 {
  max-width: 13ch;
}

.subhero__phone {
  width: min(100%, 20rem);
  margin-inline: auto;
}

.subhero__wide {
  margin: 0;
  padding: 0.45rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.pillar-grid,
.timeline-cards {
  grid-template-columns: 1fr;
}

.mechanic-board {
  position: relative;
  width: min(100%, 20rem);
  margin-inline: auto;
}

.mechanic-board__chip {
  position: absolute;
  padding: 0.45rem 0.75rem;
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.88);
  color: #06101f;
  font-weight: 1000;
}

.mechanic-board__chip--score {
  top: 4.8rem;
  left: 1rem;
}

.mechanic-board__chip--moves {
  top: 8rem;
  right: 1rem;
}

.atmosphere-carousel {
  display: grid;
  gap: 1rem;
}

.atmosphere-card {
  margin: 0;
  padding: 0.75rem;
}

.atmosphere-card__image {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 1.1rem;
}

.purchase-image {
  padding: 0.45rem;
  border-radius: 1.8rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.stat-strip div {
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.stat-strip strong {
  display: block;
  color: var(--gold);
  font-family: 'Luckiest Guy', 'Nunito Sans', system-ui, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stat-strip span,
.timeline-card span {
  color: var(--text);
  font-weight: 900;
}

.angled-media {
  position: absolute;
  width: 15rem;
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}

.angled-media--small {
  width: 12rem;
  right: 0;
  left: auto;
  top: 9rem;
  transform: rotate(7deg);
}

.contact-section__intro,
.contact-wizard {
  min-width: 0;
}

.contact-direct-card {
  display: grid;
  gap: 1rem;
  padding: 0.85rem;
  margin-top: 1.4rem;
}

.contact-direct-card__image {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 1.1rem;
}

.contact-direct-card p {
  margin: 0.25rem 0;
}

.contact-wizard {
  padding: 1rem;
  background: linear-gradient(
    145deg,
    rgba(7, 16, 30, 0.96),
    rgba(5, 10, 20, 0.88)
  );
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.wizard-progress__dot {
  display: block;
  min-height: 0.45rem;
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.wizard-progress__dot.is-active {
  background: linear-gradient(90deg, var(--ice), var(--gold));
  box-shadow: 0 0 1rem rgba(76, 200, 255, 0.42);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
  animation: stepIn 260ms ease;
}

.choice-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.choice-card,
.wizard-back {
  min-height: 3.4rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  text-align: left;
  font-weight: 1000;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.choice-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  clip-path: var(--clip-soft);
}

.choice-card span {
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.choice-card:hover,
.choice-card:focus-visible,
.choice-card.is-selected {
  transform: translateY(-0.1rem);
  border-color: rgba(255, 204, 28, 0.72);
  background: rgba(255, 204, 28, 0.12);
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
}

.wizard-summary {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.8rem;
  border: 0.0625rem solid rgba(76, 200, 255, 0.32);
  border-radius: 1rem;
  background: rgba(76, 200, 255, 0.1);
  color: var(--text);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 900;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.18rem rgba(255, 204, 28, 0.14);
}

.conditional-fields.is-hidden {
  display: none;
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-soft);
  font-weight: 800;
}

.consent-field input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.18rem;
  accent-color: var(--gold);
}

.form-alert {
  min-height: 0.1rem;
  color: var(--gold);
  font-weight: 900;
}

.form-alert.has-error {
  padding: 0.8rem;
  border: 0.0625rem solid rgba(255, 47, 122, 0.48);
  border-radius: 1rem;
  background: rgba(255, 47, 122, 0.12);
  color: var(--text);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(0.8rem);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 62rem);
  max-height: 92svh;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 1.6rem;
  background: rgba(5, 10, 20, 0.96);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.lightbox__figure {
  margin: 0;
  display: grid;
  gap: 0;
}

.lightbox__figure img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
  background: #02050a;
}

.lightbox__figure figcaption {
  padding: 1rem;
  color: var(--text);
  font-weight: 900;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 10, 20, 0.82);
  color: var(--text);
  box-shadow: var(--shadow-dark);
}

.lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  font-size: 2rem;
}

.lightbox__nav {
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999rem;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 0.75rem;
}

.lightbox__nav--next {
  right: 0.75rem;
}

.cookie-consent {
  position: fixed;
  z-index: 160;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 1.25rem;
  background: rgba(5, 10, 20, 0.96);
  box-shadow: var(--shadow-dark);
  clip-path: var(--clip-soft);
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent__gem {
  width: 3rem;
  height: 3rem;
  border-radius: 35% 65% 42% 58%;
  background: linear-gradient(135deg, var(--ice), var(--gold));
  box-shadow: 0 0 2rem rgba(76, 200, 255, 0.48);
  animation: crystalTurn 8s linear infinite;
}

.cookie-consent h2 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.cookie-consent p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem 1.5rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(3, 6, 13, 0.2), #02050a 38%);
}

.footer-orbit {
  position: absolute;
  width: 30rem;
  height: 30rem;
  right: -13rem;
  top: -13rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 204, 28, 0.16),
    transparent 68%
  );
}

.footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
}

.footer-brand,
.footer-nav,
.footer-contact,
.footer-legal {
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.055);
}

.footer-logo {
  display: block;
  width: 12rem;
}

.footer-logo img {
  width: 12rem;
}

.footer-nav,
.footer-legal {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-nav h2,
.footer-contact h2,
.footer-legal h2 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: var(--text);
  font-weight: 800;
}

.legal-page {
  padding: calc(var(--header-offset) + 2rem) 1rem 4rem;
}

.legal-page__shell {
  max-width: 58rem;
  padding: 1.25rem;
  background: rgba(8, 17, 31, 0.92);
}

.legal-page h1 {
  max-width: 12ch;
}

.legal-updated {
  font-weight: 900;
  color: var(--gold);
}

.legal-block {
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
}

.legal-block h2 {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.status-section {
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-offset) + 2rem);
}

.status-card {
  padding: 1.25rem;
}

.status-card--success {
  border-color: rgba(76, 200, 255, 0.42);
}

.status-card--error {
  border-color: rgba(255, 47, 122, 0.42);
}

.status-summary {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.status-summary p {
  margin: 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2rem, 1.2rem, 0) scale(1.08);
  }
}

@keyframes buttonGlint {
  0% {
    left: -55%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes floatSlow {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -0.8rem;
  }
}

@keyframes crystalTurn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ambientDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5rem, 1.1rem, 0);
  }
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 520px) {
  .worlds-grid,
  .gallery-grid,
  .visual-library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-phone {
    width: 11rem;
  }

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

@media (min-width: 720px) {
  .section {
    padding: 10rem 1.25rem;
  }

  .hero-section,
  .subhero,
  .legal-page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-section__shell,
  .intro-ribbon__shell,
  .levels-preview__shell,
  .premium-section__shell,
  .studio-section__shell,
  .mechanic-section__shell,
  .atmosphere-section__shell,
  .purchase-section__shell,
  .player-tips__shell,
  .contact-section__shell,
  .subhero__shell,
  .level-map-section__shell {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .intro-ribbon__cards,
  .pillar-grid,
  .timeline-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid--home {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-grid--home .gallery-tile:nth-child(1) {
    grid-column: span 6;
  }

  .gallery-grid--home .gallery-tile:nth-child(2),
  .gallery-grid--home .gallery-tile:nth-child(3) {
    grid-column: span 3;
  }

  .gallery-grid--home .gallery-tile:nth-child(n + 4) {
    grid-column: span 2;
  }

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

  .gallery-grid--page .gallery-tile:first-child {
    grid-column: span 2;
  }

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

  .cookie-consent {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    width: min(100% - 3rem, 42rem);
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .cookie-consent__actions {
    grid-column: 1 / -1;
  }

  .footer-shell {
    grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
  }
}

@media (min-width: 920px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav__link,
  .primary-nav__cta {
    min-height: 2.8rem;
    padding: 0.62rem 0.9rem;
    font-size: 0.95rem;
  }

  .brand-mark,
  .brand-mark img {
    width: 13rem;
  }

  .hero-section__shell {
    grid-template-columns: 0.88fr 1.12fr;
  }

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

  .world-card:nth-child(1),
  .world-card:nth-child(6) {
    grid-column: span 2;
    min-height: 22rem;
  }

  .world-card:nth-child(2),
  .world-card:nth-child(3),
  .world-card:nth-child(4),
  .world-card:nth-child(5) {
    grid-column: span 1;
    min-height: 22rem;
  }

  .world-card__image {
    min-height: 22rem;
  }

  .premium-stack__item {
    width: 16rem;
  }

  .studio-mosaic__image {
    width: 14rem;
  }

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

@media (min-width: 1120px) {
  .hero-phone--one {
    left: -1.5rem;
  }

  .hero-phone--two {
    right: -1.2rem;
  }

  .gallery-grid--page .gallery-tile:first-child {
    grid-column: span 3;
    min-height: 26rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEW SECTIONS — index.php
   ───────────────────────────────────────────────────────────────────────── */

/* Music section */
.music-section__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.music-feature-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.music-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
}

.music-feature-item p {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.music-feature-item strong {
  color: var(--text);
  font-weight: 900;
}

.music-feature-item__dot {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 1rem rgba(76, 200, 255, 0.72);
}

.music-feature-item__dot--gold {
  background: var(--gold);
  box-shadow: 0 0 1rem rgba(255, 204, 28, 0.72);
}

.music-feature-item__dot--ruby {
  background: var(--ruby);
  box-shadow: 0 0 1rem rgba(255, 47, 122, 0.72);
}

.music-phones {
  position: relative;
  min-height: 28rem;
}

.music-phone {
  position: absolute;
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  padding: 0.4rem;
}

.music-phone--back {
  left: 0;
  top: 0;
  width: min(100%, 16rem);
  transform: rotate(-5deg);
  z-index: 1;
}

.music-phone--front {
  right: 0;
  bottom: 0;
  width: min(100%, 15rem);
  transform: rotate(6deg);
  z-index: 2;
  animation: floatSlow 7s ease-in-out 500ms infinite;
}

.music-phone__image {
  width: 100%;
  border-radius: 1.5rem;
}

.music-badge {
  position: absolute;
  right: 2rem;
  top: 1rem;
  z-index: 3;
  padding: 0.6rem 1rem;
  border-radius: 999rem;
  background: linear-gradient(135deg, var(--ice), var(--ice-2));
  color: #03101d;
  font-weight: 1000;
  font-size: 0.88rem;
  box-shadow: var(--shadow-blue);
  transform: rotate(5deg);
}

/* For-whom section */
.for-whom-section__ambient {
  opacity: 0.1;
}

.profile-grid {
  display: grid;
  gap: 1rem;
}

.profile-card {
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 2.2rem) 0,
    100% 2.2rem,
    100% 100%,
    2.2rem 100%,
    0 calc(100% - 2.2rem)
  );
}

.profile-card__image {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
}

.profile-card__body {
  padding: 1rem 1.1rem 1.25rem;
}

.profile-card__body h3 {
  margin-bottom: 0.5rem;
}

.profile-card--ice {
  border-color: rgba(76, 200, 255, 0.3);
}

.profile-card--gold {
  border-color: rgba(255, 204, 28, 0.3);
}

.profile-card--lava {
  border-color: rgba(255, 91, 36, 0.3);
}

.profile-card--space {
  border-color: rgba(160, 120, 255, 0.3);
}

/* CTA band section */
.cta-band__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cta-band__frame {
  margin: 0;
  padding: 0.5rem;
  border: 0.0625rem solid rgba(255, 204, 28, 0.32);
  border-radius: 2rem;
  background: rgba(255, 204, 28, 0.07);
  box-shadow: var(--shadow-gold);
}

.cta-band__img {
  width: 100%;
  border-radius: 1.5rem;
}

.cta-band__note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEW SECTIONS — gra.php
   ───────────────────────────────────────────────────────────────────────── */

/* Crystal showcase section */
.crystal-showcase-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.crystal-env-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dark);
}

.crystal-env-card__image {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

.crystal-env-card:hover .crystal-env-card__image {
  transform: scale(1.06);
}

.crystal-env-card__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 14, 0.96));
}

.crystal-env-card__label h3 {
  margin-bottom: 0.4rem;
}

.crystal-env-card__label p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.crystal-env-card--space {
  border-color: rgba(76, 200, 255, 0.28);
}

.crystal-env-card--mountain {
  border-color: rgba(160, 120, 255, 0.28);
}

.crystal-env-card--lava {
  border-color: rgba(255, 91, 36, 0.28);
}

/* Design philosophy section */
.design-phil-section__ambient {
  opacity: 0.1;
}

.design-phil-section__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.design-phil__mosaic {
  position: relative;
  min-height: 26rem;
}

.design-mosaic-item {
  position: absolute;
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  clip-path: var(--clip-card);
}

.design-mosaic-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-mosaic-item--a {
  left: 0;
  top: 0;
  width: 13rem;
  height: 13rem;
  transform: rotate(-3deg);
}

.design-mosaic-item--b {
  right: 0;
  top: 1rem;
  width: 11rem;
  height: 19rem;
  border-radius: 2rem;
  clip-path: none;
}

.design-mosaic-item--c {
  left: 22%;
  bottom: 0;
  width: 13rem;
  height: 13rem;
  transform: rotate(4deg);
}

/* Play promise section */
.promise-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.promise-card {
  display: grid;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  transition: transform 240ms ease;
}

.promise-card:hover {
  transform: translateY(-0.2rem);
}

.promise-card__visual {
  margin: 0;
  aspect-ratio: 2;
  overflow: hidden;
}

.promise-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.promise-card:hover .promise-card__img {
  transform: scale(1.06);
}

.promise-card__body {
  padding: 1.1rem;
  position: relative;
}

.promise-card__number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gold);
  font-family: 'Luckiest Guy', 'Nunito Sans', system-ui, sans-serif;
  font-size: 2rem;
  opacity: 0.32;
  line-height: 1;
}

.promise-card__body h3 {
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.promise-card--ice {
  border-color: rgba(76, 200, 255, 0.3);
}
.promise-card--gold {
  border-color: rgba(255, 204, 28, 0.3);
}
.promise-card--lava {
  border-color: rgba(255, 91, 36, 0.3);
}

.promise-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEW SECTIONS — poziomy.php
   ───────────────────────────────────────────────────────────────────────── */

/* Worlds compact */
.worlds-compact-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.world-mini {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dark);
  transition: transform 240ms ease;
}

.world-mini:hover {
  transform: translateY(-0.15rem);
}

.world-mini__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

.world-mini:hover .world-mini__image {
  transform: scale(1.08);
}

.world-mini__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(3, 7, 14, 0.94));
}

.world-mini__label strong {
  display: block;
  color: var(--text);
  font-weight: 900;
  font-size: 1rem;
}

.world-mini__label span {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* Strategy section */
.strategy-section__ambient {
  opacity: 0.1;
}

.strategy-section__shell {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.strategy-tips {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.strategy-tip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
}

.strategy-tip__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8rem;
  min-height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice), var(--gold));
  color: #03101d;
  font-family: 'Luckiest Guy', 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.2rem;
  box-shadow: var(--shadow-blue);
}

.strategy-tip h3 {
  margin-bottom: 0.4rem;
}

.strategy-tip p {
  margin: 0;
  font-size: 0.96rem;
}

.strategy-visual {
  position: relative;
  min-height: 26rem;
}

.strategy-phone {
  position: absolute;
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  padding: 0.4rem;
}

.strategy-phone--main {
  left: 0;
  top: 0;
  width: min(100%, 17rem);
  z-index: 2;
  animation: floatSlow 7s ease-in-out infinite;
}

.strategy-phone--secondary {
  right: 0;
  bottom: 0;
  width: min(100%, 14rem);
  z-index: 1;
  transform: rotate(8deg);
}

.strategy-phone__image {
  width: 100%;
  border-radius: 1.5rem;
}

/* Replay section */
.replay-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.replay-card {
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.replay-card--accent {
  border-color: rgba(76, 200, 255, 0.3);
  box-shadow: var(--shadow-blue);
}

.replay-card__visual {
  margin: 0;
  aspect-ratio: 2.2;
  overflow: hidden;
}

.replay-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.replay-card:hover .replay-card__img {
  transform: scale(1.07);
}

.replay-card h3,
.replay-card p {
  padding: 0 1rem;
}

.replay-card h3 {
  margin: 1rem 0 0.5rem;
}

.replay-card p {
  margin: 0 0 1rem;
  font-size: 0.96rem;
}

.replay-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEW SECTIONS — galeria.php
   ───────────────────────────────────────────────────────────────────────── */

/* Design details mosaic */
.design-details-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.details-frame {
  margin: 0;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  clip-path: var(--clip-card);
}

.details-frame figcaption {
  padding: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 700;
}

.details-frame--tall .details-frame__image {
  width: 100%;
  aspect-ratio: 0.62;
  object-fit: cover;
}

.details-frame--square .details-frame__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Promo highlight section */
.promo-highlight-section__ambient {
  opacity: 0.09;
}

.promo-highlight-section__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.promo-highlight__frame {
  margin: 0;
  padding: 0.5rem;
  border: 0.0625rem solid rgba(255, 204, 28, 0.32);
  border-radius: 2rem;
  background: rgba(255, 204, 28, 0.06);
  box-shadow: var(--shadow-gold);
}

.promo-highlight__image {
  width: 100%;
  border-radius: 1.5rem;
}

/* Gallery download section */
.gallery-download-section__shell {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.gallery-dl-phone {
  margin: 0 auto;
  width: min(100%, 20rem);
  padding: 0.45rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
}

.gallery-dl-phone__image {
  width: 100%;
  border-radius: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   NEW SECTIONS — kontakt.php
   ───────────────────────────────────────────────────────────────────────── */

/* FAQ section */
.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.faq-item {
  padding: 1.1rem 1.25rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow-dark);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 1000;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.faq-a {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Response section */
.response-section__ambient {
  opacity: 0.09;
}

.response-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.response-card {
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.response-card--standard {
  border-color: rgba(255, 255, 255, 0.18);
}
.response-card--important {
  border-color: rgba(255, 204, 28, 0.32);
  box-shadow: var(--shadow-gold);
}
.response-card--urgent {
  border-color: rgba(255, 47, 122, 0.32);
}

.response-card__visual {
  margin: 0;
  aspect-ratio: 2;
  overflow: hidden;
}

.response-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.response-card:hover .response-card__img {
  transform: scale(1.07);
}

.response-card__body {
  padding: 1rem 1.1rem;
}

.response-card__label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.response-card--important .response-card__label {
  background: rgba(255, 204, 28, 0.18);
  color: var(--gold);
}

.response-card--urgent .response-card__label {
  background: rgba(255, 47, 122, 0.18);
  color: var(--ruby);
}

.response-card__body h3 {
  margin: 0 0 0.5rem;
}

.response-card__body p {
  margin: 0;
  font-size: 0.96rem;
}

/* Alt contact section */
.alt-contact-section__shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.alt-contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.alt-contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow-dark);
}

.alt-contact-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice), var(--ice-2));
  box-shadow: 0 0 1.2rem rgba(76, 200, 255, 0.45);
  flex-shrink: 0;
}

.alt-contact-card__icon--phone {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 1.2rem rgba(255, 204, 28, 0.45);
}

.alt-contact-card__icon--legal {
  background: linear-gradient(135deg, var(--ruby), #c0205e);
  box-shadow: 0 0 1.2rem rgba(255, 47, 122, 0.45);
}

.alt-contact-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.alt-contact-card p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.alt-contact-card__link {
  color: var(--ice);
  font-weight: 900;
  font-size: 0.98rem;
  text-decoration-color: rgba(76, 200, 255, 0.5);
}

.alt-contact-card__link:hover {
  color: var(--gold);
}

.alt-contact-phone {
  margin: 0 auto;
  width: min(100%, 22rem);
  padding: 0.45rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-dark);
  animation: floatSlow 7s ease-in-out 400ms infinite;
}

.alt-contact-phone__image {
  width: 100%;
  border-radius: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Legal page additions
   ───────────────────────────────────────────────────────────────────────── */

.legal-address {
  display: block;
  margin: 0.85rem 0 1rem;
  padding: 1rem 1.25rem;
  border: 0.0625rem solid rgba(76, 200, 255, 0.22);
  border-radius: 1rem;
  background: rgba(76, 200, 255, 0.07);
  font-style: normal;
  line-height: 1.8;
  color: var(--text-soft);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 900;
}

.legal-table td:first-child {
  font-weight: 900;
  color: var(--text);
}

.legal-table code {
  font-family: monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.12em 0.4em;
  border-radius: 0.35rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   404 page additions
   ───────────────────────────────────────────────────────────────────────── */

.notfound-ambient {
  opacity: 0.12;
}

.notfound-card {
  padding: 1.6rem;
  text-align: center;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.status-info {
  margin: 0.8rem 0 1.4rem;
  font-size: 0.96rem;
  color: var(--text-soft);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE — new sections
   ───────────────────────────────────────────────────────────────────────── */

@media (min-width: 520px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

@media (min-width: 720px) {
  .music-section__shell,
  .cta-band__shell,
  .design-phil-section__shell,
  .promo-highlight-section__shell,
  .gallery-download-section__shell,
  .alt-contact-section__shell {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .strategy-section__shell {
    grid-template-columns: 1fr 0.85fr;
  }

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

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

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

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

@media (min-width: 920px) {
  .profile-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .worlds-compact-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .design-details-mosaic {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .details-frame--tall:first-child {
    grid-row: span 2;
  }

  .details-frame--tall:last-child {
    grid-row: span 2;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Reduced motion
   ───────────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
