:root {
  color-scheme: light;
  font-size: 16px;
  --bg-dark: #1d1725;
  --bg-light: #f7f1df;
  --bg-highlight: #f7d167;
  --bg-parchment: #f8e8c8;
  --bg-moss: #8bc4a8;
  --bg-sage: #d9efe4;
  --bg-slate: #3d2f4c;
  --primary: #da4f3c;
  --primary-dark: #9f2f28;
  --accent: #f2b544;
  --accent-deep: #d18a12;
  --primary-rgb: 218, 79, 60;
  --accent-rgb: 242, 181, 68;
  --highlight-rgb: 139, 196, 168;
  --text-main: #23182b;
  --text-muted: #4a3859;
  --white: #ffffff;
  --border: rgba(218, 79, 60, 0.2);
  --shadow-soft: 0 22px 45px rgba(35, 24, 43, 0.14);
  --shadow-card: 0 16px 36px rgba(35, 24, 43, 0.18);
  /* Faction colors */
  --faction-pollo: #e8b820;
  --faction-tacchino: #9b5520;
  --faction-anatra: #3a9860;
  --faction-coniglio: #7848a8;
  --faction-volpe: #c84820;
  --faction-topo: #8878a0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  background-image:
      radial-gradient(circle at 10% 10%, rgba(var(--highlight-rgb), 0.26), transparent 45%),
      radial-gradient(circle at 90% 20%, rgba(var(--accent-rgb), 0.23), transparent 55%),
      linear-gradient(140deg, var(--bg-light) 0%, var(--bg-parchment) 45%, #f6e095 100%),
      url("Assets/Arena-cards/back.png");
  background-size: auto, auto, auto, 200px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: 10% 10%, 90% 20%, center, center;
  background-blend-mode: normal, normal, normal, soft-light;
  background-attachment: fixed, fixed, fixed, fixed;
}

.debug-panel {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(14, 11, 15, 0.95);
  border-bottom: 1px solid rgba(245, 241, 236, 0.2);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.debug-panel__content {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.debug-panel__title {
  margin: 0 0 0.5rem;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: 1.5rem;
  color: #f5f1ec;
}

.debug-panel__description {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(245, 241, 236, 0.9);
}

.debug-panel__controls {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.debug-panel__rerun {
  background-color: #f5f1ec;
  color: #0a0609;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.debug-panel__rerun:hover,
.debug-panel__rerun:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.debug-panel__results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.debug-panel__item {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(245, 241, 236, 0.1);
  background: rgba(20, 16, 23, 0.7);
}

.debug-panel__item-title {
  margin: 0;
  font-weight: 600;
  color: #f5f1ec;
}

.debug-panel__item-details {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(245, 241, 236, 0.85);
}

.debug-panel__item--pass {
  border-color: rgba(76, 175, 80, 0.6);
}

.debug-panel__item--fail {
  border-color: rgba(244, 67, 54, 0.6);
}

.debug-panel__item--info {
  border-color: rgba(255, 235, 59, 0.6);
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
      linear-gradient(180deg, rgba(29, 23, 37, 0.94), rgba(29, 23, 37, 0.76)),
      radial-gradient(circle at 20% 20%, rgba(242, 181, 68, 0.4), transparent 55%),
      radial-gradient(circle at 85% 15%, rgba(218, 79, 60, 0.32), transparent 60%);
  filter: saturate(1.1);
  z-index: -2;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(242, 181, 68, 0.45), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(218, 79, 60, 0.4), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0 1.25rem;
  position: relative;
  z-index: 1;
}

.brand {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-accent {
  color: var(--white);
}

.brand-logo {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.3rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.language-option {
  border: none;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.language-option.is-active {
  background: var(--white);
  color: var(--bg-dark);
}

.language-option:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.nav-cta {
  background: rgba(var(--accent-rgb), 0.18);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 999px;
  color: var(--white);
  padding: 0.6rem 1.6rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.nav-cta:hover {
  background: rgba(var(--accent-rgb), 0.35);
  border-color: rgba(var(--accent-rgb), 0.65);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6rem -10vw auto;
  height: 480px;
  background: radial-gradient(circle at 30% 30%, rgba(208, 144, 32, 0.45), transparent 65%),
    radial-gradient(circle at 80% 10%, rgba(120, 72, 168, 0.35), transparent 60%);
  filter: blur(60px);
  z-index: -2;
  pointer-events: none;
}

.hero-copy h1 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(2.3rem, 5.5vw, 3.2rem);
  margin: 0.75rem 0;
  line-height: 1.1;
}

.hero-copy p {
  max-width: 36rem;
}

.hero-ribbon {
  width: min(420px, 80%);
  margin: 0;
  filter: drop-shadow(0 16px 24px rgba(18, 8, 2, 0.45));
}

.hero-copy p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  font-size: 1rem;
  opacity: 0.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

button.primary,
button.secondary {
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.45);
}

button.primary:focus-visible,
button.secondary:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.85);
  outline-offset: 3px;
}

button.secondary {
  background: rgba(var(--primary-rgb), 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.85rem 1.75rem;
}

button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.availability {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-media {
  justify-self: center;
}

.card-stack {
  position: relative;
  width: clamp(220px, 24vw, 280px);
  aspect-ratio: 63 / 88;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  filter: drop-shadow(0 36px 55px rgba(5, 4, 3, 0.45));
  perspective: 1200px;
}

.card-stack:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.75);
  outline-offset: 6px;
}

.card-stack__card {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  --stack-tilt: rotate(0deg);
  transform: var(--stack-tilt);
  transition: transform 0.65s ease;
}

.card-stack__card-inner {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: center;
  --front-rotation: 180deg;
  --back-rotation: 0deg;
  transition: transform 0.65s ease;
  transition-delay: var(--flip-delay, 0ms);
}

.card-stack__card:nth-child(1) {
  --stack-tilt: rotate(-16deg) translate(-11%, -7%);
  z-index: 1;
}

.card-stack__card:nth-child(2) {
  --stack-tilt: rotate(-6deg) translate(-4%, -3%);
  z-index: 2;
}

.card-stack__card:nth-child(3) {
  --stack-tilt: rotate(5deg) translate(3%, 2%);
  z-index: 3;
}

.card-stack__card:nth-child(4) {
  --stack-tilt: rotate(16deg) translate(10%, 8%);
  z-index: 4;
}

.card-stack.is-revealed .card-stack__card-inner,
.card-stack[data-face="front"] .card-stack__card-inner,
.card-stack__card[data-face="front"] .card-stack__card-inner,
.card-stack__card.is-revealed .card-stack__card-inner {
  --front-rotation: 0deg;
  --back-rotation: 180deg;
}

.card-stack[data-face="back"] .card-stack__card-inner,
.card-stack__card[data-face="back"] .card-stack__card-inner {
  --front-rotation: 180deg;
  --back-rotation: 0deg;
}

.card-stack__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  border-radius: 14px;
  opacity: 1;
  visibility: visible;
  transition: transform 0.65s ease, opacity 0.3s ease;
}

.card-stack__face--front {
  transform: rotateY(var(--front-rotation)) translateZ(0.1px);
  opacity: 0;
  visibility: hidden;
}

.card-stack__face--back {
  transform: rotateY(var(--back-rotation)) translateZ(0.1px);
}

.card-stack__card.is-revealed .card-stack__face--front,
.card-stack.is-revealed .card-stack__face--front,
.card-stack[data-face="front"] .card-stack__face--front,
.card-stack__card[data-face="front"] .card-stack__face--front {
  opacity: 1;
  visibility: visible;
}

.card-stack__card.is-revealed .card-stack__face--back,
.card-stack.is-revealed .card-stack__face--back,
.card-stack[data-face="front"] .card-stack__face--back,
.card-stack__card[data-face="front"] .card-stack__face--back {
  opacity: 0;
  visibility: hidden;
}

.card-stack:hover .card-stack__card:nth-child(1),
.card-stack.is-revealed .card-stack__card:nth-child(1) {
  --stack-tilt: rotate(-21deg) translate(-15%, -11%);
}

.card-stack:hover .card-stack__card:nth-child(2),
.card-stack.is-revealed .card-stack__card:nth-child(2) {
  --stack-tilt: rotate(-9deg) translate(-7%, -6%);
}

.card-stack:hover .card-stack__card:nth-child(3),
.card-stack.is-revealed .card-stack__card:nth-child(3) {
  --stack-tilt: rotate(5deg) translate(5%, 3%);
}

.card-stack:hover .card-stack__card:nth-child(4),
.card-stack.is-revealed .card-stack__card:nth-child(4) {
  --stack-tilt: rotate(20deg) translate(14%, 11%);
}

@media (prefers-reduced-motion: reduce) {
  .card-stack__card {
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }
  .card-stack__card-inner {
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }
  .card-stack__face {
    transition-duration: 0.01ms;
  }
}

.hero-sigil {
  position: absolute;
  bottom: -80px;
  right: -20px;
  width: clamp(160px, 20vw, 220px);
  filter: drop-shadow(0 18px 38px rgba(8, 5, 2, 0.45));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) 0;
}

.section-light {
  background: linear-gradient(180deg, var(--bg-light), var(--bg-parchment));
  color: var(--text-main);
}

.section-world {
  background: linear-gradient(180deg, var(--bg-light), var(--bg-sage));
  color: var(--text-main);
}

.section-world .copy p {
  color: var(--text-main);
  font-weight: 400;
}

.section-world .feature-list li {
  color: var(--text-main);
  font-weight: 600;
}

.section-world .feature-list li::before {
  color: var(--primary-dark);
}

.section-dark {
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(var(--highlight-rgb), 0.18), transparent 60%),
    radial-gradient(circle at 70% 10%, rgba(var(--primary-rgb), 0.2), transparent 55%),
    var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 40%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-highlight {
  background: linear-gradient(140deg, rgba(248, 248, 248, 0.94), rgba(var(--highlight-rgb), 0.26));
  color: var(--text-main);
  position: relative;
}

.section-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(var(--accent-rgb), 0.2), transparent 60%);
  pointer-events: none;
}

.section-intro {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(var(--accent-rgb), 0.2));
}

.section-values {
  background: linear-gradient(180deg, var(--bg-light), rgba(var(--highlight-rgb), 0.35));
}

.section-values h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0;
  color: var(--text-main);
}

.section-facts {
  background: radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.22), transparent 60%),
    var(--bg-dark);
  color: var(--white);
}

.intro-copy h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  color: var(--text-main);
}

.section-story {
  background: linear-gradient(120deg, rgba(253, 246, 227, 0.95), rgba(var(--highlight-rgb), 0.35));
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.intro-copy p {
  max-width: 38rem;
}

.intro-panel {
  display: flex;
  justify-content: center;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.highlight-eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.8rem;
  color: var(--primary-dark);
}

.highlight-card h3 {
  margin-top: 0;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: 1.6rem;
}

.value-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.75rem;
  border-radius: 18px;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  box-shadow: 0 14px 28px rgba(12, 8, 4, 0.12);
}

.value-card h3 {
  margin-top: 0;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
}

.facts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fact-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.fact-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0;
}

.fact-copy {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.story-steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.story-step {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  box-shadow: 0 16px 32px rgba(12, 8, 4, 0.15);
}

.story-step h3 {
  margin-top: 0;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
}

.story-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse .copy,
.split.reverse .media {
  direction: ltr;
}

.copy h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 0;
}

.copy p {
  line-height: 1.6;
  color: var(--text-muted);
}

.copy h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.8), rgba(var(--primary-rgb), 0.8));
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-list li::before {
  content: "\25C6";
  color: var(--primary);
  font-size: 0.75rem;
}

.section-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 36px rgba(12, 8, 4, 0.12);
}

.section-cta h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.section-cta p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.card-column {
  --card-overlap: clamp(120px, 16vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(240px, 55vw);
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.25rem) 0;
}

.card-column__card {
  position: relative;
  width: clamp(180px, 48vw, 220px);
  aspect-ratio: 63 / 88;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: none;
  cursor: pointer;
  --card-offset: 0%;
  --card-shift: 0%;
  --card-tilt: 0deg;
  --card-scale: 1;
  transform: translateX(calc(var(--card-offset) + var(--card-shift)))
    rotate(var(--card-tilt)) scale(var(--card-scale));
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  z-index: var(--card-layer, 1);
}

.card-column__card:nth-child(1) {
  --card-offset: -4%;
  --card-tilt: -2deg;
}

.card-column__card:nth-child(2) {
  --card-offset: 3%;
  --card-tilt: 1.5deg;
}

.card-column__card:nth-child(3) {
  --card-offset: -2%;
  --card-tilt: -1.5deg;
}

.card-column__card:nth-child(4) {
  --card-offset: 4%;
  --card-tilt: 2deg;
}

.card-column__card + .card-column__card {
  margin-top: calc(var(--card-overlap) * -1);
}

.card-column__card:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.65);
  outline-offset: 6px;
}

.card-column__card:is(:hover, :focus-visible) {
  filter: brightness(1.02);
  --card-scale: 1.03;
}

.card-column__card.is-active {
  --card-shift: 6%;
  --card-scale: 1.04;
  box-shadow: 0 20px 45px rgba(12, 8, 4, 0.45);
  z-index: 20;
}

.card-column__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 720px) {
  .card-column {
    --card-overlap: clamp(90px, 18vw, 120px);
  }

  .card-column__card {
    width: clamp(200px, 70vw, 240px);
  }
}

.card-experience {
  align-items: flex-start;
}

.card-experience__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.card-playground {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: flex-start;
  justify-content: center;
}

.card-deck {
  position: relative;
  width: clamp(120px, 18vw, 160px);
  aspect-ratio: 63 / 88;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 22px 38px rgba(8, 5, 2, 0.4));
  transition: transform 0.3s ease;
}

.card-deck:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.45);
  outline-offset: 6px;
}

.card-deck.is-open {
  transform: translateY(-6px);
}

.card-deck__stack {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.card-deck__stack img {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 2px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.card-deck__stack img:nth-child(1) {
  transform: translate(-6%, -5%) rotate(-6deg);
}

.card-deck__stack img:nth-child(2) {
  transform: translate(-2%, -2%) rotate(-2deg);
}

.card-deck__stack img:nth-child(3) {
  transform: translate(4%, 4%) rotate(5deg);
}

.card-deck.is-open .card-deck__stack img:nth-child(1) {
  transform: translate(-10%, -12%) rotate(-10deg);
}

.card-deck.is-open .card-deck__stack img:nth-child(2) {
  transform: translate(-2%, -6%) rotate(-4deg);
}

.card-deck.is-open .card-deck__stack img:nth-child(3) {
  transform: translate(8%, 10%) rotate(8deg);
}

.card-hand {
  --card-width: clamp(110px, 16vw, 150px);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2.5vw, 1.4rem);
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-hand.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.card-hand__card {
  position: relative;
  flex: 0 0 var(--card-width);
  max-width: var(--card-width);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: rgba(var(--highlight-rgb), 0.3);
  border: 2px solid rgba(var(--primary-rgb), 0.3);
}

.card-hand__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline-card {
  background: rgba(var(--primary-rgb), 0.22);
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 16px;
  padding: 1.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
}

.timeline-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  letter-spacing: 0.08rem;
}

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

.gallery img {
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  border: 3px solid rgba(var(--primary-rgb), 0.2);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pill {
  background: rgba(var(--accent-rgb), 0.28);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
}

.section-highlight .roadmap {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 3rem;
}

.roadmap-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.roadmap-item h3 {
  margin: 0 0 1rem;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
}

.roadmap-item p {
  color: var(--text-muted);
}

.register {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.form {
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  backdrop-filter: blur(4px);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field-group input,
.field-group select,
.field-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(var(--highlight-rgb), 0.2);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(var(--primary-rgb), 0.4);
  border-color: var(--accent);
}

.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox input {
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
}

.form-status.error {
  color: #b3261e;
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(16, 16, 16, 0.98));
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), 0.2), transparent 55%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid .brand {
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.copyright {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .hero-media {
    margin-bottom: 2rem;
  }

  .hero-sigil {
    position: static;
    margin: 2rem auto 0;
    display: block;
  }

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

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

/* ============================================
   HERO TITLE LOGO
   ============================================ */
.hero-title-logo {
  width: min(560px, 100%);
  margin: 0.5rem 0 1.25rem;
  filter: drop-shadow(0 12px 24px rgba(30, 20, 48, 0.5));
}

/* Image-based title (logo) */
.hero-title-img {
  margin: 0.25rem 0 0.4rem;
  line-height: 1;
  padding: 0;
}

.hero-logo-img {
  width: min(680px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(30, 20, 48, 0.5));
}

/* Multi-line text title (replaces hero-title-logo image) */
.hero-title-text {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 1.25rem;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(44, 16, 16, 0.6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-line {
  display: block;
}

.title-line--1 {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: var(--primary);
  -webkit-text-stroke: 2px rgba(229, 97, 26, 0.4);
}

.title-line--2 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--white);
  margin-left: 0.15em;
}

.title-line--3 {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  color: var(--accent);
  margin-left: 0.05em;
  font-style: italic;
}

/* ============================================
   SECTION LORE TEASER
   ============================================ */
.section-lore {
  background: linear-gradient(160deg, var(--bg-dark) 0%, #2a1a40 60%, #1e1a30 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-lore::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(var(--accent-rgb), 0.18), transparent 55%),
    radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.22), transparent 50%);
  pointer-events: none;
}

.section-lore .container {
  position: relative;
  z-index: 1;
}

.lore-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.lore-intro h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 0.5rem 0 1.25rem;
  color: var(--white);
}

.lore-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

.eyebrow-dark {
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  font-size: 0.85rem;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.5rem;
  display: block;
}

.lore-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.lore-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 14px;
  padding: 1rem 1.75rem;
  min-width: 100px;
}

.stat-value {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   SECTION FACTIONS
   ============================================ */
.section-factions {
  background: linear-gradient(160deg, var(--bg-light), var(--bg-highlight) 80%);
  position: relative;
}

.section-factions .eyebrow-dark {
  color: var(--primary-dark);
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-factions h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--text-main);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 3rem;
}

.factions-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.faction-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--faction-color, rgba(232, 97, 26, 0.2));
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.faction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(44, 16, 16, 0.2);
}

.faction-card__header {
  padding: 1.25rem 1.5rem 1rem;
  background: var(--faction-color, var(--primary));
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faction-card__emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.faction-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  flex-shrink: 0;
}

.faction-card__name {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.faction-card__body {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  align-items: flex-start;
  flex: 1;
}

.faction-card__image {
  width: clamp(70px, 14vw, 90px);
  aspect-ratio: 63 / 88;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(44, 16, 16, 0.18);
  flex-shrink: 0;
}

.faction-card__copy {
  flex: 1;
}

.faction-card__tagline {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin: 0 0 0.4rem;
}

.faction-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Faction-specific colors */
.faction-pollo { --faction-color: #e6b800; }
.faction-tacchino { --faction-color: #9b5520; }
.faction-anatra { --faction-color: #2fa8b5; }
.faction-coniglio { --faction-color: #8e44ad; }
.faction-volpe { --faction-color: #c94420; }
.faction-topo { --faction-color: #7f8c8d; }

/* ============================================
   SECTION GALLERY
   ============================================ */
.section-gallery {
  background: linear-gradient(160deg, var(--bg-dark) 0%, #3d1010 100%);
  color: var(--white);
  overflow: hidden;
}

.section-gallery h2 {
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.section-gallery .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 1.5rem 0 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent-rgb), 0.5) transparent;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  height: 6px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.5);
  border-radius: 999px;
}

.gallery-item {
  flex-shrink: 0;
  width: clamp(140px, 20vw, 185px);
  aspect-ratio: 63 / 88;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.gallery-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-btn:hover {
  background: rgba(var(--accent-rgb), 0.25);
  transform: scale(1.08);
}

/* ============================================
   STORY SECTION (gameplay) updates
   ============================================ */
.story-steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: steps;
}

.story-step {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 1.75rem;
  border: 2px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 16px 32px rgba(44, 16, 16, 0.12);
  border-top: 4px solid var(--primary);
}

.story-step h3 {
  margin-top: 0;
  font-family: "Luckiest Guy", "Baloo 2", cursive;
  color: var(--primary-dark);
}

/* ============================================
   FORM FIELD UPDATES
   ============================================ */
.field-group input,
.field-group select,
.field-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  font-family: inherit;
  font-size: 1rem;
  background: rgba(var(--highlight-rgb), 0.25);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(var(--primary-rgb), 0.45);
  border-color: var(--primary);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--primary);
  margin: 0;
}

/* Highlight card in intro */
.highlight-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.highlight-eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  font-size: 0.8rem;
  color: var(--primary-dark);
}

/* Pill style update */
.pill {
  background: rgba(var(--accent-rgb), 0.32);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
}

/* Footer update */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(44, 16, 16, 0.97), rgba(28, 8, 8, 0.99));
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), 0.15), transparent 55%);
  pointer-events: none;
}

/* ============================================
   GAMEPLAY TABS (lore section)
   ============================================ */
.gameplay-tabs {
  margin: 1.25rem 0 2rem;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.1rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  background: rgba(var(--accent-rgb), 0.25);
  color: var(--white);
}

.tab-btn.is-active,
.tab-btn[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.25s ease;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin: 0 auto;
  text-align: center;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Password Gate ─────────────────────────────────────────────────────────── */

#password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(var(--primary-rgb), 0.18), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(var(--accent-rgb), 0.15), transparent 50%);
}

.ntac-gate-pending #password-gate {
  display: flex;
}

.gate-card {
  background: var(--bg-slate);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  width: min(90vw, 360px);
}

.gate-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.gate-title {
  font-family: "Luckiest Guy", cursive;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin: 0;
  text-align: center;
}

.gate-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#gate-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.gate-input:focus {
  border-color: var(--accent);
}

.gate-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.gate-submit {
  width: 100%;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-family: "Luckiest Guy", cursive;
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.gate-submit:hover {
  background: var(--primary-dark);
}

.gate-submit:active {
  transform: scale(0.97);
}

.gate-error {
  font-size: 0.875rem;
  color: var(--primary);
  text-align: center;
  margin: 0;
}
