:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: #151b2d;
  color: #fff8d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #49b7ff 0 21%, #7cdd56 21% 29%, #5d9d35 29% 35%, #7d512a 35% 100%);
}

main {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  border-bottom: 10px solid #2b1b12;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.85) 8% 15%, transparent 15% 100%) 8% 10% / 240px 56px repeat-x,
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.8) 12% 22%, transparent 22% 100%) 32% 18% / 310px 48px repeat-x,
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
  animation: drift-clouds 18s linear infinite;
}

.ticker {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 18px;
  width: max-content;
  min-width: 200%;
  padding: 10px 0;
  border-bottom: 4px solid #1d140e;
  background: #111827;
  color: #fff3b0;
  font-weight: 950;
  letter-spacing: 0;
  animation: ticker-scroll 20s linear infinite;
}

.ticker span {
  min-width: 190px;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 28px));
  min-height: 92vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: center;
  padding: 74px 0 46px;
}

.server-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 7px 14px 7px 7px;
  border: 4px solid #1d140e;
  background: #fff3b0;
  box-shadow: 7px 7px 0 #1d140e;
  color: #23150d;
  font-weight: 950;
}

.server-badge img {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}

h1 {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin: 34px 0 0;
  color: #fffef2;
  font-size: 7.4rem;
  line-height: 0.86;
  text-shadow: 6px 6px 0 #2b1b12, 10px 10px 0 #e0345f;
}

.rainbow-word {
  width: fit-content;
  color: #fff;
  background: linear-gradient(90deg, #ff4747, #ffc928, #69ef57, #4fe8ff, #b47cff, #ff4fbd, #ff4747);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-slide 2.6s linear infinite, vip-pop 1.8s ease-in-out infinite;
}

.hook {
  max-width: 690px;
  margin: 28px 0 0;
  color: #21150e;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 950;
}

.perk-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.perk-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 3px solid #1d140e;
  background: #fff3b0;
  box-shadow: 4px 4px 0 #1d140e;
  color: #1d140e;
  font-size: 0.95rem;
  font-weight: 950;
}

.price-card {
  width: fit-content;
  margin-top: 24px;
  padding: 12px 20px;
  border: 4px solid #1d140e;
  background: #ffc928;
  box-shadow: 7px 7px 0 #1d140e;
  color: #2a1708;
}

.join-card {
  width: fit-content;
  max-width: min(100%, 620px);
  margin-top: 22px;
  padding: 12px 16px;
  border: 4px solid #1d140e;
  background: #65f0ff;
  box-shadow: 6px 6px 0 #1d140e;
  color: #1d140e;
  font-size: 1.16rem;
  line-height: 1.25;
  font-weight: 950;
}

.join-card strong {
  white-space: nowrap;
}

.price-card strong,
.price-card span {
  display: block;
}

.price-card strong {
  font-size: 3.7rem;
  line-height: 0.95;
}

.price-card span {
  margin-top: 4px;
  font-size: 1.08rem;
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 4px solid #1d140e;
  box-shadow: 6px 6px 0 #1d140e;
  color: #1d140e;
  font-size: 1.08rem;
  font-weight: 950;
  text-decoration: none;
}

.button.primary {
  background: #ff4f7b;
  animation: buy-pulse 1.7s ease-in-out infinite;
}

.button.secondary {
  background: #65f0ff;
}

.showcase {
  display: grid;
  gap: 18px;
}

.chat-preview,
.alert-preview,
.brainrot-card {
  border: 4px solid #1d140e;
  box-shadow: 8px 8px 0 #1d140e;
  background: #192236;
}

.chat-preview {
  min-height: 86px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 18px;
  font-size: 1.08rem;
  font-weight: 900;
}

.vip-tag {
  padding: 4px 8px;
  background: #ffc928;
  color: #21150e;
  animation: vip-tag-flash 1.35s steps(2, end) infinite;
}

.player {
  color: #fffef2;
}

.message {
  color: #c5ffd0;
}

.alert-preview {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  background: #32152a;
}

.alert-preview strong {
  width: fit-content;
  padding: 5px 9px;
  border: 3px solid #1d140e;
  background: #ff4fbd;
  color: #fff8d6;
  font-size: 0.92rem;
  font-weight: 950;
  box-shadow: 4px 4px 0 #1d140e;
  animation: alert-flash 1.4s steps(2, end) infinite;
}

.alert-preview span {
  color: #fff8d6;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 900;
}

.brainrot-card {
  padding: 22px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.08) 50% 75%, transparent 75%) 0 0 / 34px 34px,
    #262f4b;
  animation: card-bob 3s ease-in-out infinite;
}

.rarity-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 3px solid #1d140e;
  background: #fff3b0;
  color: #1d140e;
  font-weight: 950;
  box-shadow: 4px 4px 0 #1d140e;
}

.brainrot-card p {
  margin: 18px 0 0;
  color: #fff6bd;
  font-size: 1.28rem;
  line-height: 1.35;
  font-weight: 900;
}

.cube-stack {
  display: grid;
  grid-template-columns: repeat(5, 54px);
  gap: 10px;
}

.cube {
  width: 54px;
  height: 54px;
  border: 4px solid #1d140e;
  box-shadow: 4px 4px 0 #1d140e;
  animation: cube-bounce 1.8s ease-in-out infinite;
}

.cube.gold { background: #ffc928; }
.cube.lime { background: #69ef57; animation-delay: 0.12s; }
.cube.pink { background: #ff4fbd; animation-delay: 0.24s; }
.cube.cyan { background: #4fe8ff; animation-delay: 0.36s; }
.cube.red { background: #ff5248; animation-delay: 0.48s; }

.feature-band,
.join-band,
.how-it-works {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.join-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0 0;
}

.join-band div {
  min-height: 112px;
  border: 4px solid #1d140e;
  box-shadow: 7px 7px 0 #1d140e;
  padding: 18px;
  background: #fff3b0;
  color: #1d140e;
}

.join-band strong,
.join-band span {
  display: block;
}

.join-band strong {
  font-size: 1.22rem;
  line-height: 1.1;
}

.join-band span {
  margin-top: 12px;
  overflow-wrap: anywhere;
  font-size: 1.08rem;
  line-height: 1.28;
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0;
}

.feature,
.steps div {
  min-height: 156px;
  border: 4px solid #1d140e;
  box-shadow: 7px 7px 0 #1d140e;
  padding: 18px;
  color: #1d140e;
}

.feature strong,
.feature span,
.steps strong,
.steps span {
  display: block;
}

.feature strong {
  font-size: 1.3rem;
  line-height: 1.05;
}

.feature span {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 850;
}

.feature.gold { background: #ffc928; }
.feature.emerald { background: #69ef57; }
.feature.violet { background: #b47cff; }
.feature.cyan { background: #65f0ff; }
.feature.red { background: #ff6b5f; }

.feature {
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.feature:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 #1d140e;
}

.how-it-works {
  padding: 10px 0 42px;
}

.how-it-works h2 {
  margin: 0 0 16px;
  color: #fffef2;
  font-size: 3.8rem;
  text-shadow: 4px 4px 0 #2b1b12;
}

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

.steps div {
  background: #fff3b0;
}

.steps strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #2b1b12;
  color: #fff3b0;
  font-size: 1.5rem;
}

.steps span {
  margin-top: 16px;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 900;
}

.parent-note {
  margin: 18px 0 0;
  max-width: 720px;
  border: 4px solid #1d140e;
  box-shadow: 6px 6px 0 #1d140e;
  padding: 14px 16px;
  background: #65f0ff;
  color: #1d140e;
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 950;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .join-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 66px;
  }

  .hook {
    font-size: 1.35rem;
  }

  .join-card {
    font-size: 1rem;
  }

  .price-card strong {
    font-size: 2.45rem;
  }

  .how-it-works h2 {
    font-size: 2.25rem;
  }

  h1 {
    font-size: 3.55rem;
    text-shadow: 4px 4px 0 #2b1b12, 7px 7px 0 #e0345f;
  }

  .button {
    width: 100%;
  }

  .cube-stack {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cube {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .feature-band,
  .steps {
    grid-template-columns: 1fr;
  }
}

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

@keyframes drift-clouds {
  from { background-position: 8% 10%, 32% 18%, 0 0; }
  to { background-position: 320px 10%, -280px 18%, 0 0; }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes rainbow-slide {
  from { background-position: 0% 50%; }
  to { background-position: 300% 50%; }
}

@keyframes vip-pop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.04); }
}

@keyframes buy-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes vip-tag-flash {
  0%, 100% { background: #ffc928; }
  50% { background: #fff3b0; }
}

@keyframes alert-flash {
  0%, 100% { background: #ff4fbd; }
  50% { background: #ff5248; }
}

@keyframes card-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes cube-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: #111827;
  border-bottom: 4px solid #1d140e;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #fff3b0;
  font-weight: 950;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-nav .brand img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}

.site-nav a.nav-link {
  padding: 8px 14px;
  border: 3px solid #1d140e;
  background: #fff3b0;
  color: #23150d;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 4px 4px 0 #1d140e;
}

.site-nav a.nav-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 #1d140e;
}

.site-nav a.nav-link.vip {
  background: linear-gradient(90deg, #ffc928, #ff8a3d);
}
