:root {
  --bg: #f0f0f0;
  --band: #f7f7f7;
  --dark: #0c132c;
  --red: #d21818;
  --text: #000000;
  --gray-1: #404040;
  --gray-2: #787878;
  --gray-3: #d5d5d5;
  --line: #e9e9e9;
  --green: #39a349;
  --container: 1115px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.3;
  overflow-x: hidden;
}

img { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { scroll-margin-top: 112px; position: relative; }

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 46.8px;
  text-align: center;
}
.section-sub {
  margin-top: 25px;
  font-size: 16px;
  line-height: 20.8px;
  text-align: center;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 137px;
  height: 45px;
  padding: 0 30px;
  background: var(--red);
  color: #ffffff;
  border-radius: 25px;
  font-size: 16px;
  transition: filter .2s ease, transform .2s ease;
}
.btn-red:hover { filter: brightness(1.1); }
.btn-red:active { transform: scale(.97); }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  transition: background-color .3s ease;
}
.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 93px;
}
.header-logo { display: inline-flex; }
.logo-img { width: 199px; height: auto; }
.logo-b { display: none; }
.header-divider { height: 1px; background: #ffffff; transition: background-color .3s ease; }
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  height: 40px;
}
.header-link {
  font-family: 'Nord', 'Instrument Sans', sans-serif;
  font-size: 16px;
  line-height: 19.2px;
  text-transform: uppercase;
  color: #ffffff;
  transition: color .3s ease;
}
.header-link:hover { text-decoration: underline; }
.header.scrolled { background: var(--bg); }
.header.scrolled .logo-w { display: none; }
.header.scrolled .logo-b { display: block; }
.header.scrolled .header-link { color: #000000; }
.header.scrolled .header-divider { background: #000000; }
.header.scrolled .burger img { filter: brightness(0); }
.burger {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
}
.burger img { width: 100%; height: 100%; }
.burger-icon-b { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-top {
  position: relative;
  width: 100%;
  height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-logo { width: 199px; height: auto; }
.mobile-menu-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
}
.mobile-menu-close img { width: 100%; height: 100%; }
.mobile-menu-divider { width: calc(100% - 36px); height: 1px; background: #000000; margin-top: 21px; }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  margin-top: 35px;
}
.mobile-menu-nav a {
  font-family: 'Nord', 'Instrument Sans', sans-serif;
  font-size: 18px;
  line-height: 21.6px;
  text-transform: uppercase;
  color: #000000;
}
.mobile-menu-cta { width: 140px; margin-top: 45px; }

.hero { position: relative; }
.hero-dark {
  position: relative;
  height: 600px;
  background: var(--dark);
  z-index: 1;
}
.hero-trump {
  position: absolute;
  top: 161px;
  left: 50%;
  transform: translateX(-50%);
  width: 744px;
  height: auto;
}
.hero-title {
  position: absolute;
  top: 505px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-size: 54px;
  font-weight: 400;
  line-height: 70.2px;
  color: #ffffff;
}
.hero-cta {
  position: absolute;
  top: 665px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
}
.hero-tear {
  position: relative;
  height: 532px;
  overflow: hidden;
  margin-top: -35px;
  z-index: 0;
  background: url('assets/tear.webp') center top / auto no-repeat;
}

.timer {
  position: relative;
  z-index: 2;
  margin-top: -300px;
  padding-bottom: 164px;
  transform: translateY(100px);
  text-align: center;
}
.timer-title {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 46.8px;
  color: #000000;
}
.timer-digits {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 80px;
}
.timer-cell { min-width: 72px; text-align: center; }
.timer-cell span {
  font-size: 24px;
  line-height: 29.3px;
}
.timer-cell p {
  margin-top: 15px;
  font-size: 16px;
  line-height: 19.5px;
}

.quote {
  background: var(--band);
  padding: 75px 0 75px;
}
.quote-inner { max-width: 932px; }
.quote-head { margin-left: 0; text-align: center; }
.quote-name {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 46.8px;
}
.quote-divider { height: 1px; background: #000000; margin: 25px 0; }
.quote-role {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  line-height: 31.2px;

}
.quote-row {
  margin-top: 47px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.quote-portrait { width: 274px; height: auto; flex-shrink: 0; }
.quote-lead {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}
.quote-body {
  margin-top: 15px;
  font-size: 16px;
  line-height: 20.8px;
}

.instruction { margin-top: 100px; }
.instruction .section-title { margin-bottom: 40px; }
.instr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.instr-card {
  background: var(--band);
  min-height: 244px;
  display: flex;
  flex-direction: column;
}
.instr-body { padding: 20px 20px 0; flex: 1; }
.instr-step { font-size: 12px; line-height: 14.6px; }
.instr-step img { display: inline-block; vertical-align: -1px; width: 11px; height: 10px; }
.instr-body h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24.4px;
}
.instr-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 17.1px;
}
.instr-strip {
  width: calc(100% + 0px);
  height: 35px;
  margin-top: 15px;
  object-fit: cover;
}

.calc { margin-top: 100px; }
.calc-card {
  margin-top: 65px;
  display: flex;
}
.calc-left, .calc-right { width: 50%; }
.calc-left {
  background: var(--band);
  display: flex;
  justify-content: center;
  padding: 49px 20px;
}
.calc-left-inner { width: 487px; max-width: 100%; }
.calc-send-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}
.calc-coins { display: flex; gap: 5px; }
.calc-coin {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 19, 44, .15);
  transition: background .2s ease;
}
.calc-coin img { width: 24px; height: 24px; }
.calc-coin.active { background: var(--dark); }
.calc-coin.active img { filter: brightness(0) invert(1); }
.calc-input-row { margin-top: 30px; }
.calc-input-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  padding: 12px 16px;
}
.calc-input {
  min-width: 3ch;
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 48.4px;
  color: #ffffff;
  text-align: left;
}
.calc-input:focus { outline: none; }
.calc-input-sym {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  color: #ffffff;
}
.calc-input-box:has(.invalid) { outline: 2px solid var(--red); }
.calc-slider { margin-top: 25px; }
.calc-slider-track {
  position: relative;
  height: 2px;
  background: #000000;
  cursor: pointer;
}
.calc-slider-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  background: var(--band);
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: grab;
  z-index: 2;
}
.calc-slider-thumb:active { cursor: grabbing; }
.calc-presets {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  max-width: 100%;
}
.calc-preset {
  font-size: 16px;
  line-height: 19.5px;
  color: var(--gray-1);
  white-space: nowrap;
}
.calc-preset:hover { color: var(--red); }
.calc-minmax {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
.calc-min, .calc-max { font-size: 16px; line-height: 19.2px; color: var(--gray-2); }
.calc-right {
  position: relative;
  background: var(--dark);
  padding: 49px 20px 49px 50px;
  overflow: hidden;
}
.calc-bg-coin {
  position: absolute;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.bg-btc { background-image: url('assets/calc-btc-bg.svg'); left: 289px; top: 19px; width: 232px; height: 325px; }
.bg-eth { background-image: url('assets/calc-bg-eth.svg'); left: 304px; top: 19px; width: 200px; height: 325px; }
.bg-sol { background-image: url('assets/calc-bg-sol.svg'); left: 229px; top: 50px; width: 351px; height: 263px; }
.bg-xrp { background-image: url('assets/calc-bg-xrp.svg'); left: 244px; top: 43px; width: 322px; height: 278px; }
.calc-right-inner { position: relative; z-index: 1; }
.calc-label-light { color: #ffffff; }
.calc-received {
  margin-top: 48px;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
  color: #ffffff;
}
.calc-received-usd {
  margin-top: 5px;
  font-size: 32px;
  font-weight: 500;
  line-height: 38.4px;
  color: var(--gray-3);
}
.calc-rate {
  margin-top: 66px;
  font-size: 16px;
  line-height: 19.2px;
  color: var(--gray-3);
}

.participate { margin-top: 100px; }
.participate .section-sub { margin-bottom: 50px; }
.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wallet-grid:empty { display: none; }
.wallet-card {
  background: #ffffff;
  border: 1px solid var(--line);
  min-height: 240px;
  padding: 20px;
  display: flex;
  gap: 19px;
}
.wallet-qr-tile {
  width: 200px;
  align-self: stretch;
  flex-shrink: 0;
  background: var(--band);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-qr { width: 188px; height: 188px; }
.wallet-qr img, .wallet-qr canvas { width: 100%; height: 100%; }
.wallet-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wallet-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 26.6px;
}
.wallet-title span { color: var(--red); }
.wallet-addr-label {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.8px;
}
.wallet-addr-box {
  margin-top: 10px;
  width: 100%;
  height: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 11px;
  gap: 8px;
}
.wallet-addr {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet-addr-copy {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-addr-copy img { width: 20px; height: 20px; }
.wallet-copy-btn {
  margin-top: 10px;
  width: 128px;
  height: 40px;
  background: var(--red);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: filter .2s ease;
}
.wallet-copy-btn:hover { filter: brightness(1.1); }
.wallet-tag {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20.8px;
  cursor: pointer;
}
.wallet-tag img { width: 17px; height: 20px; }
.wallet-tag:hover { color: var(--red); }
.wallet-waiting {
  margin-top: auto;
  padding-top: 21px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gray-1);
}
.wallet-waiting img { width: 18px; height: 18px; animation: waitspin 1.2s linear infinite; }
@keyframes waitspin { to { transform: rotate(360deg); } }
.copied-feedback { color: var(--green) !important; }
.wallet-copy-btn.copied-feedback { color: #ffffff !important; }

.tx {
  margin-top: 100px;
  background: var(--band);
  padding: 75px 0 65px;
}
.tx .section-title { margin-bottom: 55px; }
.tx-table { border-collapse: collapse; }
.tx-row {
  display: grid;
  grid-template-columns: 292px 298px 173px 173px 1fr;
  align-items: center;
  height: 65px;
  padding: 0 20px;
  border: 1px solid var(--line);
  margin-top: -1px;
  font-size: 16px;
  line-height: 19.5px;
  color: var(--gray-1);
}
.tx-row:nth-child(odd) { background: #ffffff; }
.tx-row:nth-child(even) { background: var(--bg); }
.tx-head {
  background: var(--bg) !important;
  color: var(--gray-2);
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
}
#txTable { height: 455px; overflow: hidden; }
#txTable .tx-row { position: relative; }
.tx-c { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-c-hash { display: flex; align-items: center; gap: 5px; }
.tx-coin {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(12, 19, 44, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tx-coin img { width: 12px; height: 12px; filter: brightness(0); }
.tx-coin.dark { background: var(--dark); }
.tx-coin.dark img { filter: brightness(0) invert(1); }
.tx-c-value, .tx-c-receive { display: flex; align-items: center; gap: 5px; }
.tx-c-status .done { color: var(--green); }
.tx-c-status .pending { color: var(--gray-2); }
.tx-row.tx-new { transition: opacity .4s ease, transform .4s ease; }

.support { padding-top: 60px; text-align: center; }
.support-title {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 46.8px;
}
.support-sub {
  margin-top: 15px;
  font-size: 20px;
  line-height: 26px;
}
.support .btn-red { margin-top: 25px; }
.support-wh {
  margin: 45px auto 0;
  width: 894px;
  max-width: 100%;
  height: auto;
}
.footer {
  background: var(--dark);
  height: 80px;
}
.footer-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { width: 199px; height: auto; }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-social img { width: 24px; height: 24px; }

@media (max-width: 1200px) {
  .header-nav { font-size: 15px; }
  .hero-trump { width: 658px; top: 165px; }
  .hero-tear { margin-top: -69px; }
  .timer { margin-top: -182px; padding-bottom: 80px; }
  .instr-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .instr-card { min-height: 259px; }
  .instr-body { padding: 20px 15px 0; }
  .calc-left-inner { width: 420px; }
  .calc-input { font-size: 34px; }
  .bg-btc { left: 223px; }
  .bg-eth { left: 238px; }
  .bg-sol { left: 163px; }
  .bg-xrp { left: 178px; }
  .wallet-card { min-height: 220px; padding: 20px 15px; gap: 15px; }
  .wallet-qr-tile { width: 180px; height: auto; align-self: stretch; }
  .wallet-qr { width: 168px; height: 168px; }
  .tx-row { grid-template-columns: 250px 260px 155px 155px 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  section { scroll-margin-top: 73px; }
  .section-title { font-size: 32px; line-height: 41.6px; }

  .header-top { height: 72px; }
  .header-nav { display: none; }
  .burger { display: block; }

  .hero-dark { height: 515px; }
  .hero-trump { width: 580px; top: 112px; }
  .hero-title { font-size: 32px; line-height: 41.6px; top: 379px; }
  .hero-cta { top: 480px; }
  .hero-tear { margin-top: -147px; }
  .timer { margin-top: -271px; padding-bottom: 220px; }
  .timer-title { font-size: 32px; line-height: 41.6px; text-align: center; }
  .timer { padding-left: 25px; padding-right: 25px; text-align: center; }
  .timer-digits { gap: 45px; }

  .quote { padding: 75px 0 55px; }
  .quote-inner { max-width: none; }
  .quote-head { margin-left: 0; text-align: center; }
  .quote-name { font-size: 32px; line-height: 41.6px; }
  .quote-divider { margin-left: 0; }
  .quote-role { margin-left: 0; font-size: 18px; line-height: 25px; text-align: center; }
  .quote-row { flex-direction: column; align-items: center; margin-top: 35px; }
  .quote-portrait { width: 248px; }
  .quote-texts { text-align: center; }

  .instruction { margin-top: 75px; }
  .instr-grid { grid-template-columns: 1fr; gap: 20px; }
  .instr-card { min-height: 210px; text-align: center; }
  .instr-body { padding: 20px 45px 0; }
  .instr-step { text-transform: uppercase; }
  .instr-strip { margin-top: auto; }
  .instr-body { display: flex; flex-direction: column; }

  .calc { margin-top: 75px; }
  .calc-card { flex-direction: column; margin-top: 30px; }
  .calc-left, .calc-right { width: 100%; }
  .calc-left { padding: 20px 18px 30px; }
  .calc-left-inner { width: 100%; max-width: 324px; }
  .calc-send-head { flex-direction: column; gap: 35px; }
  .calc-coins { gap: 5px; }
  .calc-input-row { text-align: center; }
  .calc-input-box { margin: 0 auto; }
  .calc-presets { max-width: 324px; margin-left: auto; margin-right: auto; justify-content: center; flex-wrap: wrap; row-gap: 8px; }
  .calc-right { padding: 20px 18px 30px; text-align: center; }
  .calc-received { margin-top: 35px; }
  .calc-rate { margin-top: 20px; }
  .bg-btc { left: 64px; top: -16px; }
  .bg-eth { left: 79px; top: -16px; }
  .bg-sol { left: 4px; top: 15px; }
  .bg-xrp { left: 19px; top: 8px; }

  /* participate */
  .participate { margin-top: 75px; }
  .wallet-grid { grid-template-columns: 1fr; }
  .wallet-card { flex-direction: column; align-items: center; padding: 38px 20px 38px; min-height: 0; }
  .wallet-qr-tile { width: 248px; height: 248px; align-self: center; }
  .wallet-qr { width: 233px; height: 233px; }
  .wallet-info { align-items: center; text-align: center; width: 100%; }
  .wallet-title { font-size: 20px; line-height: 24.2px; margin-top: 15px; }
  .wallet-addr-box { max-width: 248px; margin-top: 15px; }
  .wallet-copy-btn { width: 248px; margin-top: 10px; }
  .wallet-tag { justify-content: center; }
  .wallet-waiting { margin-top: 15px; padding-top: 0; }

  /* transactions */
  .tx { margin-top: 75px; padding: 55px 0 45px; }
  .tx .section-title { margin-bottom: 40px; }
  .tx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tx-table { min-width: 912px; }

  /* support + footer */
  .support { padding-top: 45px; }
  .support-title { font-size: 32px; line-height: 41.6px; }
  .support-sub { font-size: 20px; }
  .support-wh { width: 324px; margin-top: 40px; }
  .footer, .footer-inner { height: 122px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 25px; }
}
