:root {
  color-scheme: dark;
  --ink: #f7ffe9;
  --muted: #b7c7b2;
  --acid: #8dfc3d;
  --moss: #23b153;
  --gold: #ffc84b;
  --ember: #ff7438;
  --violet: #7f5cff;
  --panel: rgba(12, 22, 18, 0.78);
  --panel-strong: rgba(20, 35, 26, 0.94);
  --line: rgba(212, 255, 169, 0.18);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Sora", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(141, 252, 61, 0.17), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(255, 200, 75, 0.13), transparent 24rem),
    linear-gradient(135deg, #06100d 0%, #162016 42%, #28180f 100%);
}

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

.scene-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(141, 252, 61, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 252, 61, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(700px) rotateX(64deg) translateY(-20%);
  transform-origin: top;
  animation: gridDrift 18s linear infinite;
}

.orbital {
  position: fixed;
  z-index: -2;
  width: 18rem;
  aspect-ratio: 1;
  border: 1px solid rgba(141, 252, 61, 0.24);
  border-radius: 50%;
  filter: blur(0.2px);
  animation: slowSpin 18s linear infinite;
}

.orbital-a {
  top: 10%;
  left: -5rem;
  box-shadow: inset 0 0 40px rgba(141, 252, 61, 0.1), 0 0 60px rgba(35, 177, 83, 0.16);
}

.orbital-b {
  right: -6rem;
  bottom: 8%;
  border-color: rgba(255, 200, 75, 0.26);
  animation-duration: 23s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(141, 252, 61, 0.46);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(141, 252, 61, 0.26);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 13, 10, 0.54);
  box-shadow: var(--shadow);
}

.nav-links a {
  padding: 0.68rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #07100b;
  background: linear-gradient(135deg, var(--acid), var(--gold));
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 88px);
  padding: 4rem 0 5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--acid);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 12px;
  font: 800 0.92rem "Sora", sans-serif;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

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

.button.primary {
  color: #07100b;
  background: linear-gradient(135deg, var(--acid), var(--gold));
  box-shadow: 0 18px 36px rgba(141, 252, 61, 0.22);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  perspective: 1000px;
}

.slime-card {
  position: relative;
  width: min(92vw, 420px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(141, 252, 61, 0.32);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 80px rgba(141, 252, 61, 0.18);
  transform-style: preserve-3d;
  animation: floatCard 5.8s ease-in-out infinite;
}

.slime-card img,
.submission-card img,
.relic-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.26), transparent 48%);
  transform: translateX(-120%);
  animation: shineSweep 3.8s ease-in-out infinite;
}

.floating-token {
  position: absolute;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: #07100b;
  background: linear-gradient(135deg, var(--gold), var(--acid));
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  animation: tokenBob 4s ease-in-out infinite;
}

.token-one {
  top: 12%;
  right: 6%;
}

.token-two {
  left: 5%;
  bottom: 20%;
  animation-delay: -1.2s;
}

.token-three {
  right: 16%;
  bottom: 10%;
  animation-delay: -2.1s;
}

.feature-band {
  padding: 4.5rem 0 6rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.feature-grid,
.jewelry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature,
.jewel-card,
.task-card,
.submission-card,
.progress-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature,
.jewel-card {
  min-height: 230px;
  padding: 1.35rem;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature:hover,
.jewel-card:hover {
  border-color: rgba(141, 252, 61, 0.46);
  transform: translateY(-8px) rotateX(3deg);
}

.feature span {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
}

.application-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  padding: 4rem 0 6rem;
}

.application-intro {
  position: sticky;
  top: 96px;
  align-self: start;
}

.application-intro h1,
.jewelry-hero h1 {
  font-size: clamp(2.5rem, 5vw, 5.4rem);
}

.progress-panel {
  margin-top: 1.5rem;
  padding: 1rem;
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.progress-copy strong {
  color: var(--acid);
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--acid), var(--gold));
  transition: width 0.42s ease;
}

.checklist-shell {
  display: grid;
  gap: 1rem;
}

.task-list {
  display: grid;
  gap: 1rem;
}

.task-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.task-card.locked {
  opacity: 0.42;
  pointer-events: none;
  transform: scale(0.985);
}

.task-card.complete {
  border-color: rgba(141, 252, 61, 0.56);
}

.task-card.complete::after {
  content: "Complete";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  color: #07100b;
  background: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
}

.task-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.task-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #07100b;
  background: linear-gradient(135deg, var(--acid), var(--gold));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
}

label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.task-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(141, 252, 61, 0.28);
  border-radius: 12px;
  color: var(--acid);
  background: rgba(141, 252, 61, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.task-link:hover {
  border-color: rgba(141, 252, 61, 0.72);
  transform: translateY(-2px);
}

input[type="text"],
input[type="url"] {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.26);
  font: 600 1rem "Sora", sans-serif;
}

input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 4px rgba(141, 252, 61, 0.12);
}

.proof-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.18);
  font: 900 0.92rem "Sora", sans-serif;
  cursor: pointer;
  transition: 0.24s ease;
}

.proof-toggle[aria-pressed="true"] {
  border-color: rgba(141, 252, 61, 0.68);
  color: #07100b;
  background: linear-gradient(135deg, var(--acid), var(--gold));
}

.task-error {
  display: none;
  margin: -0.3rem 0 0;
  color: #ffb199;
  font-size: 0.82rem;
  font-weight: 700;
}

.task-error.visible {
  display: block;
}

.submission-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
}

.submission-card img {
  width: 86px;
  height: 86px;
  border-radius: 18px;
}

.submission-card h2,
.submission-card p {
  margin: 0;
}

.summary-line {
  overflow-wrap: anywhere;
  font-size: 0.86rem;
}



.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.75s ease forwards;
}

.delay-1 {
  animation-delay: 0.16s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridDrift {
  to {
    background-position: 0 72px, 72px 0;
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotateX(3deg) rotateY(-6deg);
  }
  50% {
    transform: translateY(-18px) rotateX(-2deg) rotateY(7deg);
  }
}

@keyframes shineSweep {
  45%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes tokenBob {
  0%,
  100% {
    transform: translateY(0) rotateZ(-7deg);
  }
  50% {
    transform: translateY(-18px) rotateZ(8deg);
  }
}

@keyframes orbitGem {
  0%,
  100% {
    transform: translate3d(0, 0, 40px) rotate(0deg);
  }
  50% {
    transform: translate3d(16px, -18px, 90px) rotate(16deg);
  }
}

@media (max-width: 900px) {
  .hero,
  .application-layout,
  .jewelry-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    padding-top: 2rem;
  }

  .hero-stage {
    min-height: 460px;
  }

  .application-intro {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    padding-inline: 0.5rem;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-stage {
    min-height: 390px;
  }

  .floating-token {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .task-head,
  .submission-card {
    grid-template-columns: 1fr;
  }
}

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

/* NEW LANDING PAGE SPECIFIC STYLES */
.slimez-landing {
  --bg-start: #0a1a0a;
  --bg-end: #1a2e1a;
  --accent: #c8f135;
  --text-primary: #f0f5e1;
  --text-muted: rgba(240, 245, 225, 0.7);
  --dark-pill: rgba(0, 0, 0, 0.6);
  --font-display: 'Syne', sans-serif;
  --font-main: 'Space Grotesk', sans-serif;
}

.slimez-landing body {
  background-color: var(--bg-start);
  color: var(--text-primary);
  font-family: var(--font-main);
}

.slimez-landing .bg-gradient {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
  z-index: -3;
}

.slimez-landing .grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(200, 241, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 241, 53, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

.slimez-landing .glow-circles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.slimez-landing .glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 241, 53, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: float-glow 20s infinite alternate ease-in-out;
}

.slimez-landing .glow-1 { top: -10%; left: -10%; }
.slimez-landing .glow-2 { bottom: -10%; right: -10%; animation-delay: -5s; }
.slimez-landing .glow-3 { top: 40%; left: 50%; width: 30vw; height: 30vw; animation-delay: -10s; }

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 50px) scale(1.1); }
}

.slimez-landing .hero {
  padding: 8rem 0;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

.slimez-landing .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.slimez-landing .eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.slimez-landing .headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.slimez-landing .btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-start);
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(200, 241, 53, 0.2);
  border: none;
}

.slimez-landing .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(200, 241, 53, 0.3);
}

.slimez-landing .hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}

.slimez-landing .image-container {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
}

.slimez-landing .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.slimez-landing .badge {
  position: absolute;
  background: var(--dark-pill);
  color: var(--accent);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-family: var(--font-display);
  border: 1px solid rgba(200, 241, 53, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: float-badge 4s infinite ease-in-out;
}

.slimez-landing .badge-wl { top: 1.5rem; right: 1.5rem; }
.slimez-landing .badge-evm { bottom: 1.5rem; left: 1.5rem; animation-delay: -1s; }
.slimez-landing .badge-rt { bottom: 1.5rem; right: 1.5rem; animation-delay: -2s; }

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* SUCCESS MODAL STYLES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(145deg, #1a2e1a, #0a1a0a);
  border: 1px solid #c8f135;
  border-radius: 32px;
  padding: 3rem;
  max-width: 500px;
  width: min(90vw, 100%);
  text-align: center;
  box-shadow: 0 0 100px rgba(200, 241, 53, 0.15);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-slime {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid #c8f135;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px rgba(200, 241, 53, 0.3);
}

.modal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  color: #c8f135;
  margin: 0;
}

.modal-content p {
  color: rgba(240, 245, 225, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions .button {
  width: 100%;
}
