@import url("https://fonts.googleapis.com/css2?family=Russo+One&family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --deep: #062916;
  --deep-2: #0b3b1f;
  --leaf: #1a6b34;
  --leaf-light: #7fc64c;
  --gold: #ffd556;
  --gold-2: #f1b329;
  --cream: #fff3c4;
  --ink: #12341d;
  --line: rgba(180, 242, 108, 0.32);
  --panel: rgba(9, 45, 24, 0.82);
  --panel-soft: rgba(15, 66, 36, 0.72);
  --shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--cream);
  background: linear-gradient(180deg, #0b3b1e 0%, #072814 65%, #04170c 100%);
  overflow-x: hidden;
  position: relative;
}

.jungle-bg {
  position: fixed;
  inset: -20vh -12vw;
  pointer-events: none;
  z-index: -2;
}

.layer-a {
  background:
    radial-gradient(circle at 12% 24%, rgba(201, 255, 111, 0.2), transparent 38%),
    radial-gradient(circle at 86% 14%, rgba(255, 214, 86, 0.16), transparent 36%);
}

.layer-b {
  background:
    radial-gradient(circle at 78% 80%, rgba(133, 224, 86, 0.24), transparent 42%),
    radial-gradient(circle at 24% 76%, rgba(35, 124, 68, 0.35), transparent 48%);
  filter: blur(10px);
}

.layer-c {
  background:
    linear-gradient(to bottom, rgba(125, 220, 73, 0.2), rgba(10, 31, 16, 0.85)),
    repeating-linear-gradient(
      90deg,
      rgba(145, 216, 98, 0.05) 0,
      rgba(145, 216, 98, 0.05) 2px,
      transparent 2px,
      transparent 52px
    );
  z-index: -1;
}

.page {
  width: min(1500px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}

.hero {
  padding: 1rem 1.1rem 1.2rem;
  text-align: center;
}

.hero-topline {
  margin: 0;
  padding: 0.6rem;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  letter-spacing: 0.04em;
  color: #ffe581;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.hero-art-placeholder {
  margin: 0.5rem 0 0.9rem;
  border-radius: 1rem;
  min-height: 470px;
  border: 1px solid rgba(255, 232, 136, 0.45);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 248, 170, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(62, 142, 72, 0.5), rgba(9, 53, 29, 0.75));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-art-placeholder span {
  border: 1px solid rgba(255, 231, 132, 0.5);
  border-radius: 999px;
  background: rgba(17, 69, 36, 0.75);
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffe99a;
}

.hero-art-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Russo One", sans-serif;
  color: #ffe07a;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.02;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  margin: 0.5rem auto 0;
  max-width: 58ch;
  font-weight: 600;
  color: #def6c7;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, filter 0.18s ease;
}

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

.btn-primary {
  margin-top: 0.95rem;
  color: #315100;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.34),
    0 0 20px rgba(255, 220, 96, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  color: #eaffd4;
  border: 1px solid rgba(197, 255, 129, 0.42);
  background: rgba(24, 89, 47, 0.8);
}

.stats {
  margin-top: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.hero-meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.stat-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(184, 247, 117, 0.36);
  background: rgba(15, 70, 37, 0.76);
  padding: 0.75rem;
  text-align: center;
}

.stat-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d7f7b8;
}

.stat-value {
  margin: 0.25rem 0 0;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #ffe58d;
}

.participants-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reward-card {
  border-radius: 0.85rem;
  border: none;
  background: transparent;
  padding: 0.75rem;
  text-align: left;
}

.reward-title {
  margin: 0;
  font-family: "Russo One", sans-serif;
  color: #ffe58d;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.reward-grid {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.reward-grid p {
  margin: 0;
  border-radius: 0.65rem;
  border: none;
  background: transparent;
  padding: 0.5rem 0.55rem;
  color: #fff1ba;
  font-size: 0.84rem;
}

.reward-grid strong {
  color: #ffe484;
}

h2 {
  margin-top: 0.2rem;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: #fff0b1;
}

.community-head {
  display: block;
  margin-top: 0;
}

.community-head h2 {
  margin: 0;
}

.community-note {
  margin: 0.35rem 0 0;
  color: #d7f5b9;
  font-size: 0.82rem;
}

.community-board {
  margin-top: 0.8rem;
  border-radius: 0.85rem;
  border: none;
  background: transparent;
  padding: 0.72rem;
}

.top-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.top-columns {
  display: none;
  margin-top: 0.6rem;
  padding: 0 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  color: #d7f5b9;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-columns span:last-child {
  text-align: right;
}

.top-columns span:nth-child(3) {
  justify-self: start;
}

.top-columns span:first-child {
  justify-self: start;
}

.top-columns span:nth-child(2) {
  justify-self: start;
}

.top-columns span:nth-child(4) {
  justify-self: end;
}

.top-item {
  display: table-row;
  border: none;
  background: transparent;
}

.top-item + .top-item {
  border-top: none;
}

.top-item > span,
.top-item > strong,
.top-item > .reward-slot {
  display: table-cell;
  padding: 0.6rem 0.65rem;
  border-top: 1px solid rgba(215, 245, 185, 0.35);
  vertical-align: middle;
  box-sizing: border-box;
}

.top-item > span:first-child {
  width: 14%;
}

.top-item > span:nth-child(2) {
  width: 36%;
}

.top-item > strong {
  width: 20%;
}

.top-item > .reward-slot {
  width: 30%;
}

.top-item strong {
  color: #ffe48e;
  text-align: right;
  white-space: normal;
}

.top-item span:first-child {
  text-align: left;
  white-space: normal;
}

.top-item span:nth-child(2) {
  text-align: left;
}

.top-item span:nth-child(2) {
  width: 25%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reward-slot {
  text-align: right;
}

.reward-slot .reward-image {
  margin-left: auto;
}

.reward-image {
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 78px;
  object-fit: contain;
  border-radius: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.reward-fallback {
  display: none !important;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.5rem;
  border-radius: 0.45rem;
  border: none;
  background: transparent;
  color: #ffeab0;
  font-size: 0.73rem;
  text-align: center;
}

.muted {
  color: #d8f5bd;
}

.footer {
  margin-top: 0.8rem;
  padding: 0.9rem;
  text-align: center;
}

.project {
  margin-top: 0.8rem;
  padding: 0.9rem;
}

.project-head {
  text-align: center;
}

.project-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c4f58f;
}

.project-head h2 {
  margin: 0.35rem 0 0;
}

.project-lead {
  margin: 0.5rem auto 0;
  max-width: 72ch;
  color: #dff8c8;
  font-weight: 600;
}

.project-scheme {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.scheme-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(192, 251, 134, 0.35);
  background: rgba(16, 72, 38, 0.75);
  padding: 0.72rem;
}

.scheme-step {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Russo One", sans-serif;
  font-size: 0.7rem;
  color: #315100;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}

.scheme-card h3 {
  margin: 0.48rem 0 0;
  font-size: 0.96rem;
  color: #ffe48a;
}

.scheme-card p {
  margin: 0.35rem 0 0;
  color: #e6ffd0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.project-details {
  margin-top: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(192, 251, 134, 0.35);
  background: rgba(12, 62, 34, 0.76);
  padding: 0.75rem;
}

.project-details h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffe48a;
}

.project-list {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #e6ffd0;
  font-size: 0.9rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 255, 132, 0.4);
  background: rgba(20, 78, 41, 0.75);
  color: #f5ffdf;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer p {
  margin: 0.55rem 0 0;
  color: #d4efba;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .page {
    width: min(1080px, calc(100% - 1.4rem));
  }

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

  .reward-grid {
    grid-template-columns: 1fr;
  }

  .project-scheme {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 0.8rem);
    padding: 0.55rem 0 1.2rem;
  }

  .panel,
  .hero-art-placeholder {
    border-radius: 0.95rem;
  }

  .hero {
    padding: 0.65rem 0.62rem 0.85rem;
  }

  .hero-art-placeholder {
    min-height: 220px;
    margin-bottom: 0.72rem;
  }

  .hero-topline {
    font-size: clamp(1rem, 6vw, 1.35rem);
  }

  h1 {
    font-size: clamp(1.34rem, 8vw, 1.95rem);
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .btn {
    width: 100%;
    min-height: 2.7rem;
  }

  .project-scheme {
    grid-template-columns: 1fr;
  }

  .top-item {
    font-size: 0.86rem;
  }

  .reward-slot {
    margin: 0;
  }

  .reward-image {
    max-width: 108px;
    max-height: 60px;
  }

  .reward-fallback {
    min-height: 48px;
    font-size: 0.7rem;
  }
}
