: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.9rem;
  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.2rem;
  position: relative;
  z-index: 1;
}

.hero__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.05rem;
}

.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);
}

.topbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: -0.1rem;
  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::after {
  content: '';
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #f2c96b, #c56bff);
  transition: width 220ms ease;
  margin-top: 0.35rem;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(242, 201, 107, 0.25);
}

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

.nav-link:hover::after {
  width: 100%;
}

.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: 3rem 1.5rem;
}

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

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

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

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

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.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;
  font-family: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  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 img {
  width: 100%;
  display: block;
}

.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%, 1140px);
  padding: 1.6rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(18, 12, 22, 0.94), rgba(9, 8, 15, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.goal-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 198, 92, 0.06), transparent 35%, rgba(145, 95, 255, 0.08) 70%, transparent);
  pointer-events: none;
}

.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: 1rem;
}

.goal-card {
  position: relative;
  padding: 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.goal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 40%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 320ms ease;
  pointer-events: none;
}

.goal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.goal-card:hover::before {
  transform: translateX(100%);
}

.goal-card--gold {
  box-shadow: inset 0 0 0 1px rgba(255, 194, 100, 0.18), 0 10px 24px rgba(0,0,0,0.18);
}

.goal-card--purple {
  box-shadow: inset 0 0 0 1px rgba(162, 104, 255, 0.18), 0 10px 24px rgba(0,0,0,0.18);
}

.goal-card--blue {
  box-shadow: inset 0 0 0 1px rgba(92, 146, 255, 0.18), 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 h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.goal-card p {
  margin: 0 0 0.8rem;
  color: #c7b9d1;
  line-height: 1.7;
  text-align: center;
}

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

.goal-card li {
  margin-bottom: 0.4rem;
}

@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(260px, 420px) 1fr;
  gap: 2rem;
  padding: 2rem;
  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.75rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  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: 1.2rem 0 1.4rem;
  padding-left: 1.2rem;
  color: #d8cde3;
}

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

.whitelist-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #7a41d8, #b85df4);
  color: #fff9ee;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(124, 65, 216, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
  max-width: 100%;
}

.whitelist-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(124, 65, 216, 0.36);
}

.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;
  }
}
