:root {
  --bg-main: #f8efd8;
  --paper: #fff8ea;
  --paper-strong: #fffaf1;
  --brown-dark: #4f341f;
  --brown-mid: #735033;
  --gold: #f6c45c;
  --gold-deep: #e7a93b;
  --text-dark: #4a321f;
  --text-light: #fff8eb;
  --line-soft: rgba(79, 52, 31, 0.08);
  --shadow-soft: 0 14px 30px rgba(75, 50, 30, 0.12);
  --shadow-big: 0 25px 60px rgba(75, 50, 30, 0.18);
  --shadow-gold: 0 18px 40px rgba(231, 169, 59, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --nav-height: 84px;
  --container: 1180px;
  --green-text: #25663b;
  --red-text: #944228;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(255, 212, 122, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(176, 214, 126, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf3e2 0%, #f5e7ca 55%, #f8efd8 100%);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 225, 163, 0.75), transparent 34%),
    linear-gradient(180deg, #f7e8c8 0%, #efd09a 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  width: min(440px, calc(100% - 36px));
  text-align: center;
  padding: 34px 28px;
  border-radius: 30px;
  background: rgba(255, 248, 234, 0.78);
  border: 1px solid rgba(79, 52, 31, 0.08);
  box-shadow: 0 24px 60px rgba(75, 50, 30, 0.16);
  backdrop-filter: blur(10px);
}

.site-loader-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 18px;
  animation: loaderFloat 1.8s ease-in-out infinite;
}

.site-loader h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--brown-dark);
}

.site-loader p {
  margin: 10px 0 0;
  color: rgba(74, 50, 31, 0.84);
  line-height: 1.7;
}

.site-loader-bar {
  width: 100%;
  height: 14px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(79, 52, 31, 0.08);
  overflow: hidden;
}

.site-loader-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  animation: loaderFill 2.2s ease-in-out infinite;
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes loaderFill {
  0% { width: 0%; }
  70% { width: 88%; }
  100% { width: 100%; }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-height);
  background: rgba(255, 248, 234, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-container {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brown-dark);
}

.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  font-weight: 700;
  color: var(--brown-mid);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--brown-mid);
  color: var(--text-light);
  font-size: 22px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 14px 14px;
  background: rgba(255, 248, 234, 0.96);
  border-top: 1px solid var(--line-soft);
}

.mobile-menu.open {
  display: grid;
  gap: 12px;
}

.mobile-menu a {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown-mid);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 76px 0 88px;
  background: radial-gradient(circle at 50% 20%, #f8deb1 0%, #efd09a 34%, #d7b178 68%, #c79f66 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
}

.hero-glow-one {
  width: 380px;
  height: 380px;
  background: #ffd873;
  top: 6%;
  left: 4%;
}

.hero-glow-two {
  width: 320px;
  height: 320px;
  background: #fff1c7;
  right: 8%;
  bottom: 8%;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: 52px;
  align-items: center;
}

.hero-kicker,
.section-label,
.status-pill,
.note-badge,
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 248, 234, 0.56);
  color: rgba(74, 50, 31, 0.84);
  border: 1px solid rgba(79, 52, 31, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
  max-width: 680px;
  color: var(--brown-dark);
}

.hero-text {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  max-width: 600px;
  color: rgba(74, 50, 31, 0.92);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-mini-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-stat,
.status-card,
.benefit-card,
.tier-card,
.step-card,
.notice-card,
.form-card,
.panel-card,
.applicant-card,
.faq-item,
.discord-join-box {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 248, 235, 0.98));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.hero-stat,
.status-card,
.benefit-card,
.tier-card,
.step-card,
.notice-card,
.form-card,
.panel-card,
.applicant-card {
  padding: 28px;
}

.hero-stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brown-dark);
}

.hero-stat span {
  color: rgba(74, 50, 31, 0.84);
  line-height: 1.6;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-art-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art {
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
  box-shadow: var(--shadow-big);
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating-stack {
  position: relative;
  margin-top: 20px;
  width: 100%;
  display: grid;
  gap: 12px;
}

.floating-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 248, 234, 0.82);
  border: 1px solid rgba(79, 52, 31, 0.08);
  box-shadow: var(--shadow-soft);
}

.floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brown-dark);
}

.floating-card span {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(74, 50, 31, 0.84);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #583715;
  box-shadow: var(--shadow-gold);
}

.btn-brown {
  background: linear-gradient(180deg, #7f5632 0%, #664227 100%);
  color: var(--text-light);
}

.btn-soft {
  background: rgba(255, 248, 234, 0.75);
  color: var(--brown-dark);
  border: 1px solid rgba(79, 52, 31, 0.08);
}

.btn-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: rgba(255, 249, 239, 0.42);
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  color: var(--brown-dark);
}

.section-copy {
  margin: 14px 0 0;
  line-height: 1.8;
  color: rgba(74, 50, 31, 0.84);
}

.status-grid,
.benefit-grid,
.steps-grid,
.applicant-grid {
  display: grid;
  gap: 18px;
}

.status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.applicant-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-card strong {
  display: block;
  font-size: 28px;
  margin-top: 14px;
  color: var(--brown-dark);
}

.status-card span {
  display: block;
  margin-top: 8px;
  line-height: 1.65;
  color: rgba(74, 50, 31, 0.84);
}

.benefit-card h3,
.tier-card h3,
.step-card h3,
.form-card h3,
.panel-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--brown-dark);
}

.benefit-card p,
.tier-card p,
.step-card p,
.notice-card p,
.discord-join-box p {
  margin: 0;
  line-height: 1.8;
  color: rgba(74, 50, 31, 0.86);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tier-card.genesis {
  border: 2px solid rgba(231, 169, 59, 0.38);
}

.tier-list,
.notice-list,
.panel-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tier-list li,
.notice-list li,
.panel-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 248, 234, 0.65);
  border: 1px solid rgba(79, 52, 31, 0.06);
  line-height: 1.65;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #5d3a16;
  font-weight: 900;
  margin-bottom: 16px;
}

.notice-card {
  background: linear-gradient(180deg, #8a5e38 0%, #694229 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-big);
}

.notice-card h3,
.notice-card p {
  color: var(--text-light);
}

.notice-list li {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 235, 0.94);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.discord-join-box {
  padding: 22px;
  margin-bottom: 18px;
}

.discord-join-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.discord-join-head h4 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--brown-dark);
}

.discord-role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(127, 86, 50, 0.12);
  color: var(--brown-mid);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label,
.check-row label {
  font-weight: 800;
  color: var(--brown-dark);
  font-size: 14px;
}

.field input,
.field-full input,
.field-full textarea {
  width: 100%;
  border: 1px solid rgba(79, 52, 31, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}

.field-full textarea {
  min-height: 132px;
  resize: vertical;
}

.check-wrap {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.check-row {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 248, 234, 0.62);
  border: 1px solid rgba(79, 52, 31, 0.06);
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.status-text {
  font-size: 14px;
  line-height: 1.6;
}

.panel-card {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
}

.panel-block + .panel-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(79, 52, 31, 0.08);
}

.panel-stats {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.panel-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 248, 234, 0.65);
}

.panel-stat strong {
  color: var(--brown-dark);
}

.applicant-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.applicant-name {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
  color: var(--brown-dark);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-applied {
  background: rgba(246, 196, 92, 0.24);
  color: #7b5218;
}

.status-selected {
  background: rgba(215, 241, 217, 0.9);
  color: #25663b;
}

.status-genesis {
  background: rgba(127, 86, 50, 0.14);
  color: var(--brown-dark);
}

.applicant-meta {
  display: grid;
  gap: 8px;
  color: rgba(74, 50, 31, 0.84);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 20px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--brown-dark);
}

.faq-item p {
  margin: 12px 0 0;
  line-height: 1.75;
  color: rgba(74, 50, 31, 0.84);
}

.final-cta {
  padding: 40px;
  border-radius: 34px;
  background: linear-gradient(180deg, #8a5c36 0%, #623d23 100%);
  color: var(--text-light);
  box-shadow: var(--shadow-big);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--text-light);
}

.final-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer {
  padding: 34px 0;
  background: #5a3923;
  color: var(--text-light);
}

.footer-container {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-container p {
  margin: 8px 0 0;
  max-width: 520px;
  line-height: 1.7;
  color: rgba(255, 248, 235, 0.84);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1120px) {
  .status-grid,
  .benefit-grid,
  .steps-grid,
  .applicant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout,
  .form-layout,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .panel-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-menu,
  .nav-actions .btn-small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-mini-stats,
  .status-grid,
  .benefit-grid,
  .steps-grid,
  .applicant-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}