:root {
  color-scheme: dark;
  --page-background: #0b0a0c;
  --page-color: #ede8ec;
  --text-muted: #b9acc0;
  --accent: #d28b2c;
  --accent-2: #8b51dc;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(14, 10, 16, 0.92);
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Source Sans 3', sans-serif;
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.28)), url('assets/site-background.png') center/cover fixed no-repeat;
  background-color: #070507;
  color: var(--page-color);
  line-height: 1.7;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.hero {
  min-height: 74vh;
  padding: 0.7rem 1.5rem 0.2rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero__content {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.1rem;
  position: relative;
  z-index: 1;
}

.hero__brand {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.1rem;
}

.hero__brand img {
  width: min(100%, 700px);
  max-width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero__brand .nav-link--cta {
  position: absolute;
  top: 72%;
  left: 51.1%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.topbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 0.05rem;
  position: relative;
  z-index: 1;
}

.topbar--centered {
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  border-radius: 0;
  transition: transform 180ms ease, color 180ms ease;
  position: relative;
  color: #f8f4fb;
}

.nav-link--cta {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.05rem 0.6rem 0.3rem;
  color: #fff6db;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.1;
  transform: translateY(-0.35rem);
  transition: transform 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

.nav-link__line {
  display: block;
  text-align: center;
}

.nav-link__line--top {
  font-size: 0.5rem;
  color: #f4c96d;
  margin-bottom: 0.2rem;
}

.nav-link__line--bottom {
  font-size: 0.56rem;
  color: #fff8e5;
}

.nav-link--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.6;
  pointer-events: none;
}

.nav-link--cta:hover {
  transform: translateY(-0.5rem);
  color: #ffe8a8;
  text-shadow: 0 0 12px rgba(244, 201, 109, 0.45);
}

.nav-link--cta:hover .nav-link__line--top,
.nav-link--cta:hover .nav-link__line--bottom {
  position: relative;
  animation: glitchText 420ms steps(2, end) infinite;
}

.nav-link--cta:hover .nav-link__line--top {
  color: #ffe8a8;
}

.nav-link--cta:hover .nav-link__line--bottom {
  color: #fffdf2;
}

.nav-link--cta:hover .nav-link__line--top::after,
.nav-link--cta:hover .nav-link__line--bottom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  mix-blend-mode: screen;
  animation: glitchSweep 480ms linear infinite;
  pointer-events: none;
}

@keyframes glitchText {
  0%, 100% {
    transform: translate(0, 0);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  20% {
    transform: translate(-1px, 1px);
    filter: drop-shadow(1px 0 0 rgba(255, 255, 255, 0.25));
  }
  40% {
    transform: translate(1px, -1px);
    filter: drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.2));
  }
  60% {
    transform: translate(-0.5px, 0.5px);
  }
  80% {
    transform: translate(0.5px, -0.5px);
  }
}

@keyframes glitchSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

.nav-link::after {
  content: none;
}

.nav-link:hover {
  transform: translateY(-2px);
  color: #fff0b8;
}

.nav-link--minecraft,
.nav-link--emberstone {
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  background: transparent;
  color: #f8f4fb;
}

.nav-link--minecraft {
  color: #f8f4fb;
}

.nav-link--emberstone {
  color: #f8f4fb;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0c66d;
  font-weight: 700;
  font-family: 'Press Start 2P', monospace;
}

h1,
h2,
h3 {
  font-family: 'Press Start 2P', monospace;
  line-height: 1.4;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
}

.hero__text,
.section__content p,
.card p,
.footer p {
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #111;
}

.button--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--page-color);
}

.section {
  padding: 2.2rem 1.2rem;
}

.section--about {
  padding-top: 0.4rem;
}

.section--whitelist {
  padding-top: 2.4rem;
}

.section--counter {
  padding-top: 0.35rem;
  padding-bottom: 1.4rem;
}

.section--alt {
  background: var(--surface-strong);
}

.section__content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0.2rem;
  margin-left: -7.8rem;
}

.about-copy p {
  max-width: 720px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f1fb;
  font-size: 0.8rem;
  line-height: 1.35;
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
}

.about-card {
  position: relative;
  width: min(100%, 620px);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.about-card--image {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.about-counter {
  width: 100%;
  padding: 1.4rem 1.2rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.counter-banner {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.about-counter__eyebrow {
  display: block;
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: #f3cb70;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  font-family: 'Press Start 2P', monospace;
}

.about-counter__title {
  text-align: center;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  margin: 0 0 0.9rem;
  color: #fdf4e0;
  text-transform: uppercase;
  font-family: 'Press Start 2P', monospace;
}

.about-counter__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.about-counter__value {
  min-width: 3.6ch;
  text-align: center;
  padding: 0.82rem 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fdf4e0;
  box-shadow: inset 0 0 0 1px rgba(242, 201, 107, 0.08);
  font-family: 'Press Start 2P', monospace;
}

.about-counter__separator {
  color: #f3cb70;
  font-size: 1.3rem;
  font-family: 'Press Start 2P', monospace;
}

.about-card img {
  width: 100%;
  max-width: min(100%, 520px);
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.about-card__overlay {
  display: none;
}

.about-card__overlay span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.about-card__overlay strong {
  font-size: 1rem;
  margin-top: 0.35rem;
  letter-spacing: 0.12em;
}

.goal-shell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.goal-panel {
  width: min(100%, 1120px);
  padding: 1.1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
}


.goal-panel__header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
  text-align: center;
}

.goal-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: #f3c46c;
}

.goal-panel__header p {
  margin: 0;
  max-width: 720px;
  color: #d8cde3;
  font-size: 0.98rem;
}

.goal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.goal-card {
  position: relative;
  padding: 0.7rem 0.75rem 0.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 8px 22px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
  min-height: 205px;
}

.goal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}


.goal-card--gold,
.goal-card--purple,
.goal-card--blue {
  background: linear-gradient(135deg, rgba(18, 11, 24, 0.96), rgba(9, 8, 13, 0.98));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.goal-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  margin-left: auto;
  margin-right: auto;
}

.goal-card__icon-image {
  display: block;
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin: 0.05rem auto 0.08rem;
  object-fit: contain;
  opacity: 0.98;
  filter: drop-shadow(0 7px 20px rgba(0, 0, 0, 0.34));
}

.goal-card__description {
  margin: 0 0 0.08rem;
  color: #f0e7f8;
  line-height: 1.36;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.goal-card__support {
  margin: 0 0 0.2rem;
  color: #c7b2d3;
  line-height: 1.32;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.goal-card__divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  margin: 0.15rem auto 0.35rem;
}

.goal-card p {
  margin: 0 0 0.35rem;
  color: #c7b9d1;
  line-height: 1.5;
  text-align: center;
  font-size: 0.9rem;
}

.goal-card ul {
  margin: 0 0 0.2rem;
  padding-left: 0.95rem;
  color: #e4dced;
}

.goal-card li {
  margin-bottom: 0.25rem;
  font-size: 0.84rem;
  line-height: 1.42;
}

@media (max-width: 960px) {
  .goal-grid {
    grid-template-columns: 1fr;
  }
}

.whitelist-box {
  display: grid;
  place-items: center;
}

.whitelist-panel {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 1.3rem;
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(18, 11, 24, 0.96), rgba(9, 8, 13, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  width: min(100%, 1120px);
  max-width: 1120px;
  overflow: hidden;
}

.whitelist-media {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
}

.whitelist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whitelist-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.whitelist-list {
  margin: 0.8rem 0 1rem;
  padding-left: 1rem;
  color: #d8cde3;
}

.whitelist-list li {
  margin-bottom: 0.5rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whitelist-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 0;
  text-decoration: none;
  background: transparent;
  color: #fff9ee;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  transition: transform 180ms ease;
  max-width: 100%;
  width: fit-content;
  margin: 0.2rem auto 0;
  align-self: center;
}

.whitelist-button img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 290px;
  object-fit: contain;
  border-radius: 0.2rem;
}

.whitelist-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 420ms ease;
  pointer-events: none;
}

.whitelist-button:hover {
  transform: translateY(-1px);
}

.whitelist-button:hover::before {
  opacity: 0;
}

.panel,
.card,
.contact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.panel {
  padding: 1.5rem;
}

.panel ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem;
}

.media-grid__frame {
  min-height: 280px;
}

.frame-placeholder {
  height: 100%;
  min-height: 280px;
  border: 1px dashed var(--border);
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08));
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.contact-box {
  padding: 2rem;
  text-align: center;
}

.footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0.2rem 0;
  color: #e6dceb;
}

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

.footer-links a {
  color: #f8f4fb;
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #ffe7a8;
}

@media (max-width: 1100px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .whitelist-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .whitelist-icon {
    margin: 0 auto;
  }
}

@media (max-width: 1000px) {
  .goal-grid,
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero {
    min-height: auto;
  }
}
