:root {
  --bg: #fffdf7;
  --paper: #ffffff;
  --warm: #fff6df;
  --gold: #f6bd16;
  --gold-deep: #b98500;
  --gold-soft: #f6e4a5;
  --ink: #1f1f1f;
  --muted: #706a5d;
  --line: #f1dfaa;
  --shadow: 0 18px 45px rgba(165, 122, 0, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(246, 189, 22, 0.18), transparent 34rem),
    linear-gradient(180deg, #fff8e7 0%, var(--bg) 22rem, #fff 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(90deg, rgba(218, 172, 35, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(218, 172, 35, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 247, 0.86);
  border-bottom: 1px solid rgba(241, 223, 170, 0.7);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.stat-icon,
.reward-card span,
.card-title span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd748, #f5ad00);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(246, 189, 22, 0.32);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #3f382c;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  opacity: 0.78;
}

.desktop-nav a:hover {
  color: var(--gold-deep);
  opacity: 1;
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.connect-btn,
.primary-btn,
.secondary-btn,
.icon-btn,
.menu-btn,
.reward-card button,
.copy-row button,
.amount-row button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.connect-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd83f, #f4a800);
  color: #211800;
  box-shadow: 0 15px 28px rgba(246, 189, 22, 0.28);
}

.secondary-btn,
.disconnect-btn,
.icon-btn,
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5c4814;
}

.icon-btn,
.menu-btn {
  width: 46px;
  padding: 0;
}

.disconnect-btn {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.whitepaper-btn {
  width: auto;
  min-width: 78px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5c4814;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 6px;
  width: 210px;
  padding: 12px;
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(97, 69, 9, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.language-switcher.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #596171;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.language-menu button.active,
.language-menu button:hover {
  background: #fff5d8;
  color: #b17900;
}

.menu-btn {
  display: none;
  font-size: 20px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 82px 18px 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 220, 82, 0.33), transparent 22rem),
    linear-gradient(180deg, rgba(255, 247, 220, 0.78), rgba(255, 255, 255, 0.58));
}

.hero-glow {
  position: absolute;
  width: min(720px, 85vw);
  height: min(720px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 47, 0.26), transparent 65%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 36px));
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: 54px;
}

.hero-copy-block {
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: #c18b00;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 1.05;
  font-weight: 900;
}

.hero h2 {
  margin: 18px 0 0;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.2;
}

.hero-copy {
  max-width: 780px;
  margin: 26px 0 0;
  color: #4f473b;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions,
.hero-tags {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-tags {
  max-width: 680px;
}

.hero-socials {
  margin-top: 18px;
}

.hero-socials small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-social-btn {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(241, 223, 170, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #82620d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.hero-social-btn:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 26px rgba(176, 126, 0, 0.1);
  transform: translateY(-2px);
}

.hero-console {
  padding: 24px;
  border: 1px solid rgba(241, 223, 170, 0.92);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 234, 0.76)),
    radial-gradient(circle at 50% 0%, rgba(246, 189, 22, 0.26), transparent 16rem);
  box-shadow: 0 28px 70px rgba(150, 103, 0, 0.16);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f4e5b6;
}

.console-top small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 800;
}

.console-meter {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
}

.meter-ring {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 57%, transparent 58%),
    conic-gradient(#f5b400 0 50%, #f4e9c4 50% 100%);
}

.meter-ring span {
  font-size: 34px;
  font-weight: 900;
}

.meter-ring small {
  margin-top: -34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.meter-list p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: #5e5138;
  font-size: 13px;
  font-weight: 800;
}

.meter-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.info-inline-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5e5138;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.info-inline-btn:hover,
.info-card-btn:hover,
.info-heading-btn:hover {
  color: #8c6500;
}

.console-feed {
  display: grid;
  gap: 10px;
}

.console-feed div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #f3e3ae;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.console-feed span {
  color: var(--muted);
  font-weight: 700;
}

.hero-tags span,
.live-pill,
.node-badge {
  padding: 10px 20px;
  border: 1px solid rgba(241, 223, 170, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #82620d;
  font-size: 13px;
  font-weight: 800;
}

.hero-tag-btn {
  padding: 10px 20px;
  border: 1px solid rgba(241, 223, 170, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: #82620d;
  font-size: 13px;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.hero-tag-btn:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(176, 126, 0, 0.12);
  transform: translateY(-2px);
}

.stats-grid,
.reward-grid {
  width: min(1180px, calc(100% - 36px));
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.donate-card,
.rules-card,
.story-panel,
.rank-table-wrap,
.reward-card,
.referral-card,
.node-card,
.fomo-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 176px;
  padding: 24px;
}

.stat-card p,
.reward-card p {
  margin: 14px 0 8px;
  color: var(--muted);
  font-weight: 700;
}

.info-card-btn {
  margin: 14px 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.info-card-btn-small {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  font-size: 28px;
}

.stat-card small {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 96px auto 0;
  scroll-margin-top: 96px;
}

.personal-page-main {
  padding-top: 24px;
}

.personal-page-main .personal-center {
  margin-top: 44px;
}

.command-center {
  margin-top: 78px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.dash-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,249,232,.74));
  box-shadow: var(--shadow);
}

.dash-card.large {
  grid-row: span 2;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.dash-head span {
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff2c5;
  color: #8b6300;
  font-size: 12px;
  font-weight: 900;
}

.dash-card small {
  color: var(--muted);
  font-weight: 900;
}

.dash-card strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
}

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

.stack-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 170px;
  margin: 28px 0 16px;
  padding: 18px;
  border-radius: 22px;
  background: #fff8e4;
}

.stack-bars i {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #ffd84a, #f3a900);
  box-shadow: 0 12px 20px rgba(246, 189, 22, .2);
}

.mini-progress {
  height: 12px;
  margin: 28px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff0c0;
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2a800, #ffda54);
}

.timeline-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #544735;
  font-weight: 800;
}

.timeline-card li span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.tax-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.tax-visual,
.tax-list div,
.faq-grid details {
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 232, 0.76)),
    radial-gradient(circle at top right, rgba(246, 189, 22, 0.14), transparent 13rem);
  box-shadow: var(--shadow);
}

.tax-visual {
  display: grid;
  place-items: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}

.tax-ring {
  display: grid;
  place-items: center;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 55%, transparent 56%),
    conic-gradient(
      #f2b300 0 50%,
      #ffd45c 50% 60%,
      #e6a200 60% 70%,
      #c98a00 70% 80%,
      #a77800 80% 85%,
      #d9b24c 85% 90%,
      #edd58a 90% 95%,
      #bda05a 95% 100%
    );
  box-shadow: inset 0 0 0 1px rgba(214, 177, 82, 0.2), 0 26px 60px rgba(171, 123, 0, 0.14);
}

.tax-ring span {
  color: #30240a;
  font-size: 48px;
  font-weight: 900;
}

.tax-ring small {
  margin-top: -68px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.tax-visual p {
  max-width: 380px;
  margin: 0;
  color: #5a503f;
  line-height: 1.85;
}

.tax-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tax-list div {
  position: relative;
  min-width: 0;
  padding: 20px 20px 20px 50px;
}

.tax-list b {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 6px rgba(246, 189, 22, 0.12);
}

.tax-list strong {
  display: block;
  color: #a87900;
  font-size: 26px;
}

.tax-list span {
  display: block;
  margin-top: 4px;
  color: #372d1e;
  font-weight: 900;
}

.tax-list small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
}

.info-heading-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
}

.story-panel {
  padding: clamp(26px, 5vw, 48px);
  color: #393226;
  font-size: 17px;
  line-height: 2;
}

.story-quote {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff6dc, #fff);
  color: #a87900;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card,
.transparency-card {
  padding: 26px;
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 232, 0.78)),
    radial-gradient(circle at top right, rgba(246, 189, 22, 0.16), transparent 12rem);
  box-shadow: var(--shadow);
}

.roadmap-card span,
.transparency-points strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff2c6;
  color: #8b6500;
  font-size: 12px;
  font-weight: 900;
}

.roadmap-card h3,
.transparency-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.roadmap-card p,
.transparency-card p {
  margin: 0;
  color: #544a3d;
  line-height: 1.82;
}

.roadmap-card ul,
.transparency-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #5c513f;
  line-height: 1.85;
}

.transparency-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.transparency-lead {
  display: grid;
  gap: 18px;
}

.transparency-points {
  display: grid;
  gap: 12px;
}

.transparency-points div {
  padding: 16px 18px;
  border: 1px solid #f2e2ad;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.transparency-points strong {
  margin-bottom: 10px;
}

.transparency-points small {
  display: block;
  color: var(--muted);
  line-height: 1.75;
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.faq-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.faq-grid details {
  align-self: start;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.faq-grid summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #372d1e;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  color: #a87900;
  font-size: 22px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 0;
  padding: 0 22px 22px;
  color: #5a503f;
  line-height: 1.85;
}

.donate-layout,
.referral-layout,
.node-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 22px;
}

.donate-layout > *,
.referral-layout > *,
.node-layout > *,
.dashboard-grid > *,
.reward-grid > *,
.stats-grid > *,
.tax-layout > *,
.tax-list > *,
.faq-grid > * {
  min-width: 0;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.process-strip div {
  padding: 20px;
  border: 1px solid #f0dfaa;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(159, 115, 0, .08);
}

.process-strip span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #fff0bd;
  color: #9d7100;
  font-weight: 900;
}

.process-strip strong,
.process-strip small {
  display: block;
}

.process-strip small {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.donate-card,
.rules-card,
.referral-card,
.node-card {
  padding: clamp(24px, 4vw, 36px);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.card-title h3,
.rules-card h3,
.referral-card h3,
.node-card h3 {
  margin: 0;
  font-size: 24px;
}

label {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}

.amount-row,
.copy-row {
  display: flex;
  gap: 10px;
}

.amount-row input,
.copy-row code {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffefa;
  color: var(--ink);
  font-weight: 800;
}

.copy-row code {
  display: flex;
  align-items: center;
  font-family: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amount-row button,
.copy-row button,
.reward-card button {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: #fff2c6;
  color: #8d6200;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  margin: 24px 0;
}

.calc-grid,
.level-grid,
.node-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.calc-grid div,
.level-grid div,
.node-stats div {
  padding: 18px;
  border-radius: 18px;
  background: #fff9e9;
  border: 1px solid #f5e5b4;
}

.calc-grid small,
.level-grid small,
.node-stats small,
.fomo-panel small {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.calc-grid strong,
.level-grid strong,
.node-stats strong {
  font-size: 20px;
}

.wide {
  width: 100%;
}

.rules-card {
  color: #4b4235;
  line-height: 1.9;
}

.rules-card ul {
  padding-left: 20px;
  margin: 16px 0 0;
}

.rank-table-wrap {
  overflow: auto;
}

.rank-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.rank-table th,
.rank-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #f3e7c0;
  text-align: left;
}

.rank-table th {
  color: #84610d;
  font-size: 13px;
  background: #fff8e5;
}

.rank-table td {
  font-weight: 700;
}

.rank-table tr:last-child td {
  border-bottom: 0;
}

.reward-grid {
  position: static;
  width: 100%;
  margin: 0;
}

.reward-card {
  padding: 24px;
}

.reward-card strong {
  display: block;
  font-size: 24px;
  margin-bottom: 20px;
}

.reward-card button {
  width: 100%;
}

.portfolio-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff7df);
  box-shadow: var(--shadow);
}

.portfolio-main small,
.portfolio-side small {
  color: var(--muted);
  font-weight: 900;
}

.portfolio-main strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 32px;
}

.portfolio-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.portfolio-side div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid #f2e2ad;
}

.portfolio-side strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.personal-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.personal-dashboard {
  display: grid;
  gap: 20px;
}

.account-summary {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(560px, 1.15fr) 156px;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 0%, rgba(246, 189, 22, .14), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 232, 0.78));
  box-shadow: var(--shadow);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.account-identity h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  overflow-wrap: anywhere;
}

.account-identity p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.summary-metrics div {
  min-width: 0;
  padding: 15px 14px;
  border: 1px solid #f2e2ad;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.summary-metrics small {
  display: block;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 6px;
}

.summary-metrics strong {
  display: block;
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.claim-all-btn {
  width: 100%;
  min-width: 142px;
  justify-content: center;
}

.account-card,
.claim-board,
.invite-panel,
.progress-panel {
  border: 1px solid rgba(241, 223, 170, 0.78);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 232, 0.78));
  box-shadow: var(--shadow);
}

.account-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffd748, #f5ad00);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(246, 189, 22, 0.32);
}

.account-card h3 {
  margin: 24px 0 10px;
  font-size: 26px;
}

.account-card p {
  flex: 1;
  color: var(--muted);
  line-height: 1.8;
}

.personal-main {
  display: grid;
  gap: 18px;
}

.claim-board {
  padding: 26px;
}

.claim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f1dfaa;
}

.claim-head small,
.claim-grid small,
.team-stats small,
.progress-panel .mini-list,
.progress-panel h3 {
  color: var(--muted);
  font-weight: 900;
}

.claim-head strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(32px, 5vw, 48px);
}

.claim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.claim-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid #f4e2ab;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 249, 232, .72));
  box-shadow: 0 12px 28px rgba(159, 115, 0, .08);
}

.claim-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #ffc21a;
  color: #fff;
  font-weight: 900;
}

.claim-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.claim-grid button {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #fff0bd;
  color: #8d6200;
  cursor: pointer;
  font-weight: 900;
}

.demo-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 80;
}

.demo-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(64, 43, 3, 0.28);
  backdrop-filter: blur(8px);
}

.demo-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 32px 28px 28px;
  border: 1px solid rgba(241, 223, 170, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(246, 189, 22, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 232, 0.95));
  box-shadow: 0 26px 70px rgba(97, 69, 9, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform .24s ease;
}

.demo-modal.open .demo-modal-panel {
  transform: translateY(0) scale(1);
}

.demo-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  background: #fff3cd;
  color: #8e6300;
  font-weight: 900;
}

.demo-modal-tag {
  margin: 0 0 10px;
  color: #a87900;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.demo-modal-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
}

.demo-modal-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.info-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
  z-index: 80;
}

.info-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(64, 43, 3, 0.28);
  backdrop-filter: blur(8px);
}

.info-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 32px 28px 28px;
  border: 1px solid rgba(241, 223, 170, 0.9);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(246, 189, 22, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 232, 0.95));
  box-shadow: 0 26px 70px rgba(97, 69, 9, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform .24s ease;
}

.info-modal.open .info-modal-panel {
  transform: translateY(0) scale(1);
}

.info-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  background: #fff3cd;
  color: #8e6300;
  font-weight: 900;
}

.info-modal-tag {
  margin: 0 0 10px;
  color: #a87900;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.info-modal-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 36px);
}

.info-modal-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.personal-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.invite-panel,
.progress-panel {
  padding: 26px;
}

.invite-panel h3,
.progress-panel h3 {
  margin: 0;
  font-size: 24px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-title-row span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff2c5;
  color: #8b6300;
  font-size: 12px;
  font-weight: 900;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.team-stats div {
  padding: 16px;
  border: 1px solid #f2e2ad;
  border-radius: 18px;
  background: #fff8e7;
}

.team-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.progress-panel > strong {
  display: block;
  margin-bottom: 16px;
  font-size: 28px;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #5b4e38;
  font-weight: 800;
}

.mini-list span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.referral-card .copy-row {
  margin: 18px 0 22px;
}

.node-card p {
  color: var(--muted);
  line-height: 1.8;
}

.release-bar {
  height: 16px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #fff2c7;
}

.release-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f7b500, #ffd95d);
}

.fomo-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
  padding: 28px;
}

.fomo-panel strong {
  display: block;
  font-size: clamp(22px, 4vw, 36px);
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 110px auto 0;
  padding: 36px 0 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-note {
  max-width: 340px;
  margin: 0;
  color: #6b604c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  text-align: right;
}

.footer-socials {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.footer-socials small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-social-btn {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(241, 223, 170, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #82620d;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(176, 126, 0, 0.08);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-menu {
    position: sticky;
    top: 76px;
    z-index: 19;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 1px;
    padding: 8px 12px;
    background: rgba(255, 253, 247, 0.95);
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    padding: 12px 6px;
    border-radius: 14px;
    background: #fff8e5;
    color: #6d5008;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
  }

  .stats-grid,
  .reward-grid,
  .fomo-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-main,
  .dashboard-grid,
  .tax-layout,
  .portfolio-panel,
  .personal-shell,
  .profile-grid,
  .account-summary,
  .personal-bottom-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-block {
    text-align: center;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-socials small {
    text-align: center;
  }

  .hero-social-grid {
    justify-content: center;
  }

  .donate-layout,
  .referral-layout,
  .node-layout,
  .transparency-layout {
    grid-template-columns: 1fr;
  }

  .roadmap-grid,
  .tax-list,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-strip,
  .portfolio-side,
  .claim-grid,
  .team-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    padding-inline: 14px;
  }

  .section,
  .stats-grid {
    width: calc(100% - 28px);
  }

  .donate-card,
  .rules-card,
  .referral-card,
  .node-card,
  .story-panel,
  .portfolio-panel,
  .fomo-panel {
    padding: 22px;
  }

  .brand small,
  .icon-btn {
    display: none;
  }

  .connect-btn {
    min-height: 42px;
    padding-inline: 16px;
  }

  .language-toggle {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .language-menu {
    right: -54px;
    width: 190px;
  }

  .hero {
    min-height: 620px;
    padding-top: 58px;
  }

  .hero-copy {
    line-height: 1.75;
  }

  .stats-grid,
  .reward-grid,
  .calc-grid,
  .level-grid,
  .node-stats,
  .roadmap-grid,
  .tax-list,
  .faq-grid,
  .fomo-panel,
  .process-strip,
  .portfolio-side,
  .transparency-layout,
  .summary-metrics,
  .claim-grid,
  .team-stats {
    grid-template-columns: 1fr;
  }

  .claim-head {
    align-items: stretch;
    flex-direction: column;
  }

  .console-meter {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .section {
    margin-top: 72px;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    max-width: none;
    text-align: left;
  }

  .footer-socials {
    justify-items: start;
  }

  .footer-social-grid {
    justify-content: flex-start;
  }
}
