:root {
  --green: #8cff00;
  --green-dark: #13951a;
  --ink: #061522;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #061008;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

.landing {
  min-height: 100vh;
}

.navbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 88px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  background: linear-gradient(
    180deg,
    rgba(3, 10, 18, .76) 0%,
    rgba(3, 10, 18, .48) 42%,
    rgba(3, 10, 18, .18) 72%,
    rgba(3, 10, 18, 0) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.logo-link {
  perspective: 900px;
  display: flex;
  align-items: center;
  width: 190px;
  filter: drop-shadow(0 5px 14px rgba(0,0,0,.45));
}

.logo-link img {
  transform-style: preserve-3d;
  display: block;
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  transition: filter 0.4s ease;
  transform-origin: center center;
}

.logo-link:hover img {
  filter: drop-shadow(0 0 14px rgba(91, 255, 188, 0.65));
}

@media (prefers-reduced-motion: reduce) {
  .logo-link img { animation: none; }
}

.nav-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2.4vw, 38px);
}

.nav-tabs a {
  position: relative;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .6px;
  text-shadow:
    0 2px 4px rgba(0,0,0,.9),
    0 0 8px rgba(0,0,0,.55);
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.nav-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--green);
  transition: right .2s ease;
}

.nav-tabs a:hover {
  color: var(--green);
  transform: translateY(-1px);
  text-shadow: 0 2px 6px rgba(0,0,0,.95);
}

.nav-tabs a:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login,
.nav-join {
  min-width: 90px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 800;
}

.nav-login {
  color: #061522;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 5px 16px rgba(0,0,0,.2);
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.nav-login:hover {
  transform: translateY(-2px);
  color: #07120a;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 9px 25px rgba(140,255,0,.30), 0 0 18px rgba(140,255,0,.18);
}

.nav-join {
  min-width: 123px;
  color: #081207;
  background: var(--green);
  box-shadow: 0 9px 25px rgba(83,255,0,.25);
}


.topbar::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30px;
  left: -5%;
  right: -5%;
  height: 210px;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(3, 10, 18, .42) 0%,
    rgba(3, 10, 18, .22) 38%,
    rgba(3, 10, 18, .08) 62%,
    rgba(3, 10, 18, 0) 100%
  );
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background-image: url("../assets/hero-background.png");
  background-size: cover;
  background-position: center center;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.20), transparent 28%, transparent 72%, rgba(0,0,0,.16)),
    linear-gradient(180deg, rgba(0,0,0,.12), transparent 35%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 17.5%;
  left: 50%;
  width: min(680px, 49vw);
  transform: translateX(-50%);
  text-align: center;
  padding: 18px 24px 22px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -14px -26px -18px;
  border-radius: 24px;
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: 0 20px 55px rgba(0,0,0,.14);
  backdrop-filter: blur(3px);
}

.eyebrow {
  color: #092038;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 13px;
}

.eyebrow span {
  color: #18a51b;
  padding: 0 5px;
}

h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(46px, 5.2vw, 84px);
  line-height: .87;
  font-weight: 900;
  font-style: italic;
  color: #061522;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255,255,255,.95), 0 5px 13px rgba(255,255,255,.4);
}

h1 span {
  display: block;
  color: #119b18;
  text-shadow:
    0 2px 0 rgba(255,255,255,.9),
    0 4px 10px rgba(255,255,255,.35),
    0 1px 8px rgba(255,255,255,.25);
}

.hero-copy > p {
  margin: 15px auto 19px;
  max-width: 570px;
  color: #071522;
  font-size: 14px;
  line-height: 1.43;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 11px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  min-width: 200px;
  color: #081207;
  background: var(--green);
  box-shadow: 0 10px 26px rgba(70,255,0,.25);
}

.btn-primary span {
  margin-left: 9px;
  font-size: 19px;
}

.btn-secondary {
  min-width: 170px;
  color: #071522;
  background: rgba(255,255,255,.86);
  border: 1.5px solid #071522;
}

.play {
  margin-right: 8px;
  font-size: 12px;
}

 .game-ticker {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  bottom: 30%;
  height: 34px;
  overflow: hidden;
  display: block;
  background: rgba(4, 13, 9, .64);
  border-top: 1px solid rgba(140,255,0,.25);
  border-bottom: 1px solid rgba(140,255,0,.25);
  backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  flex-wrap: nowrap;
  gap: 0;
  will-change: transform;
}

.ticker-group {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  height: 100%;
  white-space: nowrap;
}

.ticker-group span {
  color: rgba(255,255,255,.96);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 0 17px;
  text-shadow: 0 1px 5px rgba(0,0,0,.55);
}

.ticker-group i {
  color: var(--green);
  font-style: normal;
  font-size: 15px;
  text-shadow: 0 0 9px rgba(140,255,0,.55);
}

.feature-cards {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 8%;
  width: min(1120px, 78vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
}

.feature-card {
  min-height: 172px;
  padding: 17px 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(6,15,12,.86), rgba(7,13,13,.64));
  backdrop-filter: blur(7px);
  box-shadow: 0 12px 32px rgba(0,0,0,.34);
  transition: transform .22s ease, border-color .22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(140,255,0,.75);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.feature-card h2 {
  margin: 0 0 5px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-style: italic;
  letter-spacing: .2px;
}

.feature-card p {
  margin: 0;
  color: rgba(255,255,255,.96);
  font-size: 12px;
  line-height: 1.4;
}

.bottom-bar {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 15px;
  padding: 0 clamp(22px, 3.5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trust {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 31px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
}

.social-row a:hover {
  color: var(--green);
}

.social {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.social:hover {
  transform: translateY(-2px);
  color: var(--green);
}

.social .fa-tiktok {
  font-size: 17px;
}

.social .fa-discord {
  font-size: 17px;
}

.social .fa-youtube {
  font-size: 18px;
}

.social-divider {
  width: 1px;
  height: 23px;
  background: rgba(255,255,255,.7);
}

.domain {
  font-weight: 700;
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .13;
  pointer-events: none;
  animation: floatGlow 7s ease-in-out infinite;
}

.hero-glow-left {
  left: 8%;
  top: 30%;
  background: #ff00d4;
}

.hero-glow-right {
  right: 9%;
  top: 24%;
  background: #8cff00;
  animation-delay: -3s;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.07); }
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 27px;
  cursor: pointer;
  text-shadow: 0 2px 5px rgba(0,0,0,.9);
}

.mobile-menu {
  display: none;
}

.dummy-section {
  min-height: 45vh;
  display: grid;
  place-items: center;
  background: #07100a;
  text-align: center;
}

.dummy-section span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 800;
}

.dummy-section h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 56px;
  margin: 8px 0 0;
}

@media (max-width: 1200px) {
  .navbar {
    grid-template-columns: 205px 1fr auto;
  }

  .logo-link { width: 165px; }

  .nav-tabs { gap: 18px; }
  .nav-tabs a { font-size: 11px; }

  .feature-cards {
    width: 88vw;
    bottom: 11%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}


/* --- Mid-size desktop/tablet stability: 901px–1200px --- */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero {
    min-height: 760px;
  }

  .hero-copy {
    top: 13.5%;
    width: min(680px, 62vw);
    padding: 16px 20px 20px;
  }

  .hero-copy::before {
    inset: -10px -18px -14px;
  }

  h1 {
    font-size: clamp(44px, 5vw, 64px);
  }

  .hero-copy > p {
    max-width: 540px;
    font-size: 13px;
  }

  .game-ticker {
    bottom: 31%;
  }

  .feature-cards {
    width: min(960px, 92vw);
    bottom: 7%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card {
    min-height: 145px;
    padding: 14px 12px;
  }

  .feature-icon {
    font-size: 29px;
    margin-bottom: 5px;
  }

  .feature-card h2 {
    font-size: 19px;
  }

  .feature-card p {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .navbar {
    height: 72px;
    display: flex;
    padding: 0 18px;
  }

  .logo-link { width: 145px; }

  .nav-tabs,
  .nav-actions { display: none; }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    padding: 98px 16px 28px;
    background-position: center center;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    padding: 20px 17px;
  }

  .hero-copy::before {
    inset: -4px -2px;
    background: rgba(255,255,255,.78);
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 67px);
  }

  .hero-copy > p {
    font-size: 12px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .game-ticker {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
    height: 32px;
  }

  .ticker-track {
    animation-duration: 28s;
  }

  .feature-cards {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 30px;
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-bar {
    position: relative;
    bottom: auto;
    margin-top: 22px;
    padding: 0;
  }

  .trust,
  .scroll-indicator { display: none; }

  .social-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .mobile-menu {
    position: fixed;
    z-index: 40;
    top: 70px;
    right: 14px;
    width: min(300px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(5,12,9,.97);
    border: 1px solid rgba(140,255,0,.35);
    box-shadow: 0 18px 50px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: .2s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
  }

  .mobile-menu a:hover {
    background: rgba(140,255,0,.12);
  }
}

@media (max-width: 520px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 104px;
  }

  .domain {
    font-size: 12px;
  }
}


/* --- Interactive polish --- */
.hero {
  transition: background-position .12s ease-out;
}

.hero-copy {
  transition: transform .18s ease-out, box-shadow .25s ease;
  will-change: transform;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform .25s cubic-bezier(.2,.8,.2,1),
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(140,255,0,.16) 0%,
    rgba(140,255,0,.06) 28%,
    rgba(140,255,0,0) 70%
  );
  opacity: 0;
  transition: opacity .25s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: rgba(140,255,0,.72);
  box-shadow:
    0 18px 38px rgba(0,0,0,.36),
    0 0 22px rgba(140,255,0,.10);
}

.feature-icon {
  transition: transform .25s ease, filter .25s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(140,255,0,.45));
}

.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,.38) 50%,
    transparent 80%
  );
  transition: transform .45s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  transform: translateX(110%);
}

.nav-join {
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-join:hover {
  transform: translateY(-2px);
  box-shadow:
    0 9px 25px rgba(83,255,0,.30),
    0 0 18px rgba(140,255,0,.20);
}

.game-ticker {
  transition: border-color .25s ease, background .25s ease;
}

.game-ticker:hover {
  border-top-color: rgba(140,255,0,.45);
  border-bottom-color: rgba(140,255,0,.45);
  background: rgba(4, 13, 9, .72);
}

.social {
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

.social:hover {
  transform: translateY(-3px) scale(1.08);
  color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-copy,
  .feature-card,
  .feature-icon,
  .btn-primary::after,
  .btn-secondary::after,
  .nav-join,
  .social {
    transition: none !important;
  }
}

/* Final desktop layout spacing: keep the ticker clearly between hero panel and cards. */
@media (min-width: 1201px) {
  .game-ticker {
    bottom: 31%;
  }

  .feature-cards {
    bottom: 5.5%;
  }
}

/* =========================================================
   MOBILE / TABLET RESPONSIVE OVERRIDE
   ========================================================= */

/* --- Mid-size desktop/tablet stability: 901px–1200px --- */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero {
    min-height: 760px;
  }

  .hero-copy {
    top: 13.5%;
    width: min(680px, 62vw);
    padding: 16px 20px 20px;
  }

  .hero-copy::before {
    inset: -10px -18px -14px;
  }

  h1 {
    font-size: clamp(44px, 5vw, 64px);
  }

  .hero-copy > p {
    max-width: 540px;
    font-size: 13px;
  }

  .game-ticker {
    bottom: 31%;
  }

  .feature-cards {
    width: min(960px, 92vw);
    bottom: 7%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card {
    min-height: 145px;
    padding: 14px 12px;
  }

  .feature-icon {
    font-size: 29px;
    margin-bottom: 5px;
  }

  .feature-card h2 {
    font-size: 19px;
  }

  .feature-card p {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background: #061008;
  }

  .landing,
  .hero {
    width: 100%;
    max-width: 100%;
  }

  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 68px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(3,10,18,.82), rgba(3,10,18,0));
  }

  .logo-link {
    width: 132px;
    max-width: 42vw;
  }

  .logo-link img {
    max-height: 48px;
  }

  .nav-tabs,
  .nav-actions {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    font-size: 25px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding: 82px 14px 28px;
    overflow: hidden;
    background-color: #061008;
    background-image: url("../assets/matchlock-mobile-hero.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
  }

  .hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    height: min(760px, 118vw);
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.02) 0%,
      rgba(0,0,0,.04) 28%,
      rgba(6,16,8,.20) 58%,
      rgba(6,16,8,.96) 100%
    );
  }

  .hero-shade {
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.04) 0%,
      rgba(0,0,0,.08) 38%,
      rgba(6,16,8,.18) 58%,
      rgba(6,16,8,.82) 100%
    );
  }

  .hero-copy {
    position: relative;
    z-index: 5;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    transform: none;
    padding: 20px 16px 18px;
    text-align: center;
  }

  .hero-copy::before {
    inset: 0;
    border-radius: 18px;
    /* Keep the original glass/light-opacity look so the mobile artwork remains visible */
    background: rgba(255,255,255,.20);
    border: 1px solid rgba(255,255,255,.32);
    box-shadow: 0 16px 45px rgba(0,0,0,.12);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .eyebrow {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: clamp(7px, 2.1vw, 10px);
    line-height: 1.4;
    letter-spacing: clamp(1.2px, .6vw, 2.5px);
  }

  h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(39px, 11.5vw, 62px);
    line-height: .88;
  }

  .hero-copy > p {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    margin: 13px auto 17px;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.42;
  }

  .hero-buttons {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 11px;
  }

  .game-ticker {
    position: relative;
    z-index: 7;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 28px);
    margin: 18px -14px 0;
    height: 34px;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .ticker-group span {
    font-size: 12px;
    padding: 0 12px;
  }

  .feature-cards {
    position: relative;
    z-index: 6;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 760px;
    margin: 20px auto 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card {
    min-width: 0;
    min-height: 0;
    padding: 14px 11px 15px;
    border-radius: 12px;
  }

  .feature-icon {
    font-size: 27px;
    margin-bottom: 6px;
  }

  .feature-card h2 {
    font-size: clamp(18px, 4.8vw, 24px);
    line-height: 1;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.38;
  }

  .bottom-bar {
    position: relative;
    z-index: 8;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 22px;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .trust,
  .scroll-indicator {
    display: none;
  }

  .social-row {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }

  .mobile-menu {
    top: 62px;
    right: 12px;
    width: min(310px, calc(100vw - 24px));
    max-height: calc(100svh - 76px);
    overflow-y: auto;
  }

  .dummy-section {
    min-height: 35vh;
    padding: 60px 18px;
  }

  .dummy-section h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .hero-glow {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 76px 11px 24px;
  }

  .navbar {
    height: 62px;
    padding: 0 13px;
  }

  .logo-link {
    width: 120px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-copy {
    padding: 17px 13px 15px;
  }

  .hero-copy::before {
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(37px, 12.5vw, 54px);
  }

  .hero-copy > p {
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    min-height: 42px;
  }

  .game-ticker {
    margin-top: 16px;
    height: 31px;
  }

  .ticker-group span {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 0 10px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 43px 1fr;
    grid-template-areas:
      "icon title"
      "icon text";
    column-gap: 9px;
    text-align: left;
    padding: 12px 13px;
    align-items: center;
  }

  .feature-icon {
    grid-area: icon;
    margin: 0;
    text-align: center;
    font-size: 27px;
  }

  .feature-card h2 {
    grid-area: title;
    margin: 0 0 3px;
    font-size: 20px;
  }

  .feature-card p {
    grid-area: text;
    margin: 0;
    font-size: 11px;
  }

  .social-row {
    gap: 7px;
  }

  .social-divider {
    height: 20px;
  }
}

@media (min-width: 901px) {
  .hero {
    background-image: url("../assets/hero-background.png");
  }
}

/* =========================================================
   FINAL MOBILE FIX — force true fluid layout on phones
   ========================================================= */
@media screen and (max-width: 900px) {
  html, body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .landing,
  .hero {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero {
    display: block !important;
    position: relative !important;
    height: auto !important;
    min-height: 100svh !important;
    padding: 78px 12px 26px !important;
    overflow: hidden !important;
    background-image: url("../assets/matchlock-mobile-hero.png") !important;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
    background-position: center top !important;
  }

  .navbar {
    width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  .logo-link {
    flex: 0 0 auto !important;
    width: 120px !important;
    max-width: 40vw !important;
  }

  .menu-toggle {
    flex: 0 0 42px !important;
    width: 42px !important;
    margin-left: auto !important;
  }

  .hero-copy {
    position: relative !important;
    display: block !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 17px 13px 15px !important;
    transform: none !important;
    text-align: center !important;
  }

  .hero-copy::before {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    inset: 0 !important;
  }

  .eyebrow,
  .hero-copy h1,
  .hero-copy > p,
  .hero-buttons {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .eyebrow {
    font-size: clamp(7px, 2.2vw, 10px) !important;
    letter-spacing: clamp(1px, .55vw, 2px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11.8vw, 56px) !important;
    line-height: .88 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-copy > p {
    font-size: clamp(10px, 3vw, 13px) !important;
    line-height: 1.42 !important;
    overflow-wrap: anywhere !important;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .game-ticker {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% + 24px) !important;
    max-width: none !important;
    margin: 16px -12px 0 !important;
    height: 31px !important;
  }

  .ticker-track,
  .ticker-group {
    min-width: max-content !important;
  }

  .feature-cards {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 16px 0 0 !important;
    transform: none !important;
    grid-template-columns: 1fr !important;
  }

  .feature-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .bottom-bar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 20px !important;
    padding: 0 !important;
  }
}

@media screen and (min-width: 561px) and (max-width: 900px) {
  .hero {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-buttons {
    grid-template-columns: 1fr 1fr !important;
  }

  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 560px) {
  .hero {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .hero-copy {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 11.5vw, 50px) !important;
  }
}

@media screen and (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(30px, 10.8vw, 44px) !important;
  }

  .hero-copy > p {
    font-size: 10px !important;
  }
}

/* =========================================================
   FINAL 901–1200px RESPONSIVE LAYOUT
   Keep desktop navigation, but switch the hero content to
   normal document flow so nothing overlaps at laptop widths.
   ========================================================= */
@media screen and (min-width: 901px) and (max-width: 1200px) {
  html, body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .landing {
    width: 100%;
    min-width: 0;
  }

  .hero {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    padding: 112px 24px 42px !important;
    overflow: hidden !important;
    display: block !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  .hero-copy {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: min(680px, 78vw) !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    transform: none !important;
    padding: 18px 22px 22px !important;
    text-align: center !important;
  }

  .hero-copy::before {
    inset: -10px -18px -14px !important;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 5vw, 64px) !important;
    line-height: .88 !important;
  }

  .hero-copy > p {
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 13px !important;
  }

  .hero-buttons {
    display: flex !important;
    justify-content: center !important;
  }

  .game-ticker {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% + 48px) !important;
    margin: 28px -24px 0 !important;
    height: 34px !important;
  }

  .feature-cards {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: min(960px, 100%) !important;
    max-width: 960px !important;
    margin: 22px auto 0 !important;
    transform: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .feature-card {
    min-width: 0 !important;
    min-height: 145px !important;
    padding: 14px 12px !important;
  }

  .feature-card h2 {
    font-size: 19px !important;
  }

  .feature-card p {
    font-size: 11px !important;
  }

  .bottom-bar {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 24px !important;
    padding: 0 !important;
  }
}
