:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --surface: #121212;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text: #f5f5f5;
  --text-muted: #8a8a8a;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Space Grotesk", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* Atmosphere */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  transition: opacity 0.4s var(--ease);
}

body:has(#intro.is-active) .noise,
body:has(#intro.is-active) .vignette {
  opacity: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  background: radial-gradient(
    ellipse 70% 55% at 50% 40%,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* Screens */
.screen {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease),
    visibility 0.55s;
}

.screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.screen[hidden] {
  display: none;
}

.screen.is-active[hidden] {
  display: block;
}

/* ——— Intro video ——— */
.screen--intro {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #000;
  z-index: 5;
}

.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.intro__fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 75% 60% at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.screen--intro.is-ending .intro__fade {
  opacity: 1;
  background: #050505;
}

.intro__skip {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.6s var(--ease) 1.2s both;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.intro__skip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.intro__sound {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.6s var(--ease) 1.2s both;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.intro__sound:hover {
  color: var(--white);
  border-color: var(--border-strong);
}

.intro__sound[hidden] {
  display: none;
}

/* ——— Email / welcome ——— */
.screen--email {
  display: grid;
  place-items: center;
  padding: 2.5rem 1.5rem 3rem;
  overflow: hidden;
}

.welcome__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.welcome__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  filter: grayscale(1) contrast(1.15) brightness(0.55);
  transform: scale(1.04);
  animation: bg-drift 18s ease-in-out infinite alternate;
}

@keyframes bg-drift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

.welcome__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0.92) 78%, #050505 100%),
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.welcome__content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome__logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.15rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s var(--ease) both;
}

.welcome__brand {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  animation: rise 0.9s var(--ease) 0.08s both;
}

.welcome__title {
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.15rem;
  animation: rise 0.9s var(--ease) 0.16s both;
}

.welcome__title span {
  color: var(--white);
  position: relative;
}

.welcome__sub {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 2.25rem;
  animation: rise 0.9s var(--ease) 0.24s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-weight: 560;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn--primary {
  background: var(--white);
  color: #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px rgba(255, 255, 255, 0.08);
  animation: rise 0.9s var(--ease) 0.32s both;
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 48px rgba(255, 255, 255, 0.12);
}

.btn--primary:active {
  transform: translateY(0) scale(0.99);
}

.btn__arrow {
  transition: transform 0.35s var(--ease);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.email__content .welcome__sub {
  margin-bottom: 1.75rem;
}

.email-form {
  width: min(100%, 26rem);
  text-align: left;
  animation: rise 0.9s var(--ease) 0.32s both;
}

.email-form__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.email-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.email-form__input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: #ffffff;
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.email-form__input::placeholder {
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.email-form__input:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.email-field__display {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0.95rem 1.1rem;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  font: inherit;
  font-size: 0.98rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.email-field__display[data-empty="true"]::before {
  content: attr(data-placeholder);
  color: rgba(255, 255, 255, 0.28);
}

.email-field__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) scale(0.88);
  filter: blur(4px);
  will-change: transform, opacity, filter;
}

.email-field__char.is-in {
  animation: email-char-in 0.42s var(--ease) forwards;
}

.email-field__char.is-instant {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes email-char-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-field__char.is-in {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.email-form__submit {
  width: 100%;
  justify-content: center;
  animation: none;
}

.email-form__hint {
  min-height: 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
}

.email-form__hint.is-error {
  color: #d4d4d4;
}

.email-form__hint.is-error::before {
  content: "";
}

.email-form.is-invalid .email-form__input {
  border-color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 560px) {
  .email-form__row {
    flex-direction: row;
    align-items: stretch;
  }

  .email-field {
    flex: 1;
  }

  .email-form__submit {
    width: auto;
    flex-shrink: 0;
  }
}

/* ——— Products ——— */
.screen--products {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem 2.5rem;
}

.products__header {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 36rem;
  animation: rise 0.75s var(--ease) both;
}

.back-btn {
  position: absolute;
  left: -0.25rem;
  top: 0.15rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.back-btn:hover {
  border-color: var(--border-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.products__mark {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.12));
}

.products__title {
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.products__sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.product-grid {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 108px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  opacity: 0;
  transform: translateY(16px);
}

.screen--products.is-active .product-card {
  animation: card-in 0.65s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px) scale(1.015);
  border-color: var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.45);
  outline: none;
}

.product-card__art {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.product-card__art img,
.product-card__art .art-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.55s var(--ease),
    filter 0.55s var(--ease);
  filter: grayscale(1) contrast(1.05) brightness(0.9);
}

.product-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.product-card--bleed {
  grid-template-columns: 1fr;
  min-height: 0;
  aspect-ratio: 21 / 9;
}

.product-card--bleed .product-card__art {
  min-height: 100%;
}

.product-card--bleed .product-card__art img {
  object-fit: cover;
  object-position: center;
  filter: none;
}

.product-card--bleed .product-card__art::after {
  display: none;
}

.product-card--bleed:hover .product-card__art img,
.product-card--bleed:focus-visible .product-card__art img {
  filter: none;
  transform: scale(1.03);
}

.product-card:hover .product-card__art img,
.product-card:hover .product-card__art .art-fallback,
.product-card:focus-visible .product-card__art img,
.product-card:focus-visible .product-card__art .art-fallback {
  transform: scale(1.06);
  filter: grayscale(0.35) contrast(1.08) brightness(1.05);
}

.product-card:not(.product-card--bleed) .product-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, rgba(18, 18, 18, 0.92) 95%);
  pointer-events: none;
}

.art-fallback {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(145deg, #1a1a1a, #080808);
}

.art-fallback[data-tone="fortnite"] {
  background:
    radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(150deg, #222 0%, #0a0a0a 70%);
}

.art-fallback[data-tone="rust"] {
  background:
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(200deg, #1c1c1c, #050505);
}

.art-fallback[data-tone="apex"] {
  background:
    conic-gradient(from 210deg at 40% 50%, #2a2a2a, #0d0d0d, #1f1f1f, #2a2a2a);
}

.art-fallback[data-tone="cod"] {
  background:
    repeating-linear-gradient(
      -18deg,
      #111 0 8px,
      #161616 8px 16px
    ),
    linear-gradient(#0c0c0c, #050505);
}

.art-fallback[data-tone="valorant"] {
  background:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 41%, transparent 42%),
    linear-gradient(180deg, #1a1a1a, #080808);
}

.art-fallback[data-tone="perm"] {
  background:
    radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.14), transparent 55%),
    #0a0a0a;
}

.art-fallback[data-tone="temp"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(#101010, #070707);
  background-size: 14px 100%, auto;
}

.product-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.1rem 1rem 0.35rem;
  gap: 0.25rem;
}

.product-card__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-card__name {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
}

.products__footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  width: min(920px, 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  animation: rise 0.75s var(--ease) 0.45s both;
}

.products__footer .muted {
  color: var(--text-muted);
}

.products__footer .dot {
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .back-btn {
    left: 0;
    top: -0.2rem;
  }

  .product-card {
    min-height: 96px;
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.425rem);
    justify-self: center;
  }
}

/* ——— Guide layout ——— */
.screen--guide {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  z-index: 2;
}

.guide-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem 1rem;
  border-right: 1px solid var(--border);
  background: #080808;
  overflow: hidden;
}

.guide-side__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.25rem 0.4rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.guide-side__brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
}

.guide-side__brand span {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.guide-nav {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.guide-nav__group-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0.4rem 0.45rem;
}

.guide-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.guide-nav__btn {
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.guide-nav__btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.guide-nav__btn.is-active {
  color: var(--white);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.guide-side__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.guide-side__btn {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.guide-side__btn:hover:not(:disabled) {
  color: var(--white);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.guide-side__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.guide-side__btn--solid {
  text-align: center;
  background: var(--white);
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 600;
}

.guide-side__btn--solid:hover:not(:disabled) {
  background: #e8e8e8;
  color: #0a0a0a;
}

.guide-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(ellipse 70% 40% at 70% 0%, rgba(255, 255, 255, 0.04), transparent 55%),
    #070707;
}

.guide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.guide-top__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guide-top__title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.guide-top__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guide-top__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cfcfcf;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.guide-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: rise 0.45s var(--ease) both;
}

.guide-panel.is-active {
  display: flex;
}

.guide-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  padding: 1.15rem 1.25rem 1.25rem;
}

.guide-card--warn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 14px rgba(255, 255, 255, 0.28),
    0 0 32px rgba(255, 255, 255, 0.16),
    0 0 64px rgba(255, 255, 255, 0.08);
}

.guide-card__kicker {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.guide-card--warn .guide-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
}

.guide-warn-icon {
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.guide-card--warn .guide-card__text a,
.guide-card--warn .guide-card__text a:link,
.guide-card--warn .guide-card__text a:visited,
.guide-card--warn .guide-card__text a:hover,
.guide-card--warn .guide-card__text a:active {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.guide-card--warn .guide-card__text a:hover {
  text-decoration-color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.guide-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.guide-card__text {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 52rem;
}

.guide-card__text strong {
  color: var(--white);
  font-weight: 600;
}

.guide-placeholder {
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.guide-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
}

.guide-tile--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.guide-tile--link:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.guide-tile--link:link,
.guide-tile--link:visited,
.guide-tile--link:hover,
.guide-tile--link:active {
  color: inherit;
}

.guide-tile__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.guide-tile__name {
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.guide-tile__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.guide-list {
  margin: 0.95rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.guide-list li::marker {
  color: rgba(255, 255, 255, 0.45);
}

.guide-callout {
  margin-top: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.guide-callout--danger {
  border-color: rgba(255, 70, 70, 0.65);
  background: rgba(255, 40, 40, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 70, 70, 0.18),
    0 0 22px rgba(255, 50, 50, 0.22),
    0 0 48px rgba(255, 40, 40, 0.1);
}

.guide-callout--danger .guide-callout__title {
  color: #ff6b6b;
}

.guide-callout--danger .guide-callout__text {
  color: #f0b4b4;
}

.guide-callout--danger .guide-callout__text strong {
  color: #ff8f8f;
}

.guide-callout__title {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.guide-callout__text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.guide-callout__text strong {
  color: var(--white);
}

/* Coming soon modal */
.soon-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    visibility 0.3s;
}

.soon-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.soon-modal[hidden] {
  display: none;
}

.soon-modal.is-open[hidden] {
  display: grid;
}

.soon-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
}

.soon-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: #0c0c0c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.soon-modal.is-open .soon-modal__card {
  transform: translateY(0) scale(1);
}

.soon-modal__logo {
  width: 4rem;
  height: 4rem;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.soon-modal__eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.soon-modal__title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.soon-modal__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  max-width: 22rem;
}

.soon-modal__card .btn {
  animation: none;
}

.guide-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem 1.15rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.guide-nav-btn {
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.guide-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.guide-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.guide-nav-btn--next {
  background: var(--white);
  color: #0a0a0a;
  border-color: transparent;
  font-weight: 600;
}

.guide-nav-btn--next:hover:not(:disabled) {
  background: #e8e8e8;
}

body:has(#guide.is-active) .vignette {
  opacity: 0.35;
}

@media (max-width: 900px) {
  .screen--guide {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .guide-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .guide-nav {
    max-height: 220px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-top,
  .guide-body,
  .guide-foot {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
