:root {
  --ink: #2c2140;
  --muted: #766d82;
  --line: #e7dfef;
  --soft: #faf7fc;
  --panel: #ffffff;
  --blue: #7448d6;
  --blue-dark: #4b278f;
  --green: #e4aa35;
  --gold: #f2c75d;
  --danger: #e34256;
  --shadow: 0 20px 60px rgba(64, 34, 105, 0.14);
  --deep: #25113f;
  --aqua: #f4e3b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #faf8fc;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  min-width: 1120px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  height: 84px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(150, 170, 185, 0.18);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.header-inner {
  width: 1160px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 230px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  width: 210px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.main-nav a {
  font-size: 16px;
  color: #2f3a45;
  padding: 29px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a.active {
  font-weight: 800;
  color: #111d26;
  border-bottom-color: var(--green);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.text-btn,
.link-btn {
  border: 0;
  background: transparent;
  color: #1e2b36;
  font-weight: 700;
}

.text-btn.strong {
  color: var(--blue-dark);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #8aa0ac;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logout-btn {
  height: 32px;
  border: 1px solid #d6e5ec;
  border-radius: 999px;
  background: #f7fafb;
  color: #38505d;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.logout-btn:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.app-shell {
  background: #ffffff;
}

.hero-band {
  background:
    linear-gradient(180deg, #f6f0fb 0%, #ffffff 78%);
  padding: 30px 0 40px;
}

.hero-frame {
  width: min(1180px, calc(100% - 72px));
  height: 430px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(160, 184, 198, 0.26);
  box-shadow: 0 22px 70px rgba(18, 75, 103, 0.12);
}

.ghost-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: hue-rotate(68deg) saturate(0.92) contrast(1.02);
}

.rate-circle {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 18px 40px rgba(116, 72, 214, 0.24);
}

.rate-circle-main {
  top: 54px;
  right: 200px;
  width: 92px;
  height: 92px;
  background: linear-gradient(145deg, #e4aa35, #7448d6);
  font-size: 34px;
}

.rate-circle-small {
  top: 118px;
  right: 80px;
  width: 48px;
  height: 48px;
  background: #25113f;
  font-size: 20px;
}

.trade-card {
  position: absolute;
  z-index: 4;
  width: 220px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(180, 198, 209, 0.46);
  box-shadow: 0 20px 45px rgba(16, 44, 61, 0.14);
}

.trade-card small,
.trade-card strong {
  display: block;
}

.trade-card small {
  color: var(--muted);
  margin-bottom: 8px;
}

.trade-card strong {
  font-size: 19px;
}

.card-a {
  left: 18px;
  top: 104px;
}

.card-b {
  right: 56px;
  bottom: 74px;
}

.mountain {
  position: absolute;
  bottom: 0;
  height: 235px;
  background: linear-gradient(180deg, #20a8d8 0%, #138fbd 100%);
}

.mountain-one {
  left: -4%;
  width: 70%;
  clip-path: polygon(0 58%, 35% 15%, 100% 96%, 100% 100%, 0 100%);
}

.mountain-two {
  right: -5%;
  width: 72%;
  background: linear-gradient(180deg, #1fc4a0 0%, #129fcf 70%);
  clip-path: polygon(0 100%, 0 92%, 58% 20%, 100% 74%, 100% 100%);
}

.narrow {
  width: 900px;
  margin: 0 auto;
}

.content-section,
.gift-section {
  width: 1040px;
  margin: 0 auto;
  padding: 70px 0 120px;
}

.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.withdrawal-grid { display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(280px, .75fr); gap:24px; align-items:start; margin-bottom:40px; }
.withdrawal-panel, .withdrawal-info { background:#fff; border:1px solid var(--line); padding:28px; box-shadow:var(--shadow); }
.withdrawal-info { background:var(--deep); color:#fff; }
.withdrawal-info h2 { margin:12px 0; font-size:28px; }
.withdrawal-info p { color:rgba(255,255,255,.75); }
.balance-line { display:flex; justify-content:space-between; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid var(--line); }
.withdrawal-panel > .field-block { margin:0 0 18px; }
.withdrawal-panel > .field-block + .field-block { margin-top:0; }
.field-block { display:flex; flex-direction:column; gap:8px; margin:18px 0; }
.field-block > span { font-weight:700; }
.field-block input, .field-block select { width:100%; border:1px solid var(--line); padding:14px 16px; background:#faf8fc; color:var(--ink); font:inherit; }
.bank-picker { position:relative; }
.bank-picker-toggle { width:100%; min-height:58px; display:flex; align-items:center; justify-content:space-between; padding:9px 14px; color:var(--ink); background:#faf8fc; border:1px solid var(--line); text-align:left; }
.bank-choice { min-width:0; display:flex; align-items:center; gap:12px; }
.bank-choice img, .bank-picker-option img, .bank-logo-fallback { width:38px; height:38px; flex:0 0 38px; object-fit:contain; background:#fff; border:1px solid var(--line); }
.bank-logo-fallback { display:grid; place-items:center; color:var(--blue); font-weight:800; }
.bank-choice strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bank-picker-arrow { width:9px; height:9px; margin:0 4px 5px 14px; border-right:2px solid var(--muted); border-bottom:2px solid var(--muted); transform:rotate(45deg); }
.bank-picker-menu { position:absolute; z-index:20; top:calc(100% + 6px); left:0; right:0; max-height:260px; overflow:auto; padding:6px; background:#fff; border:1px solid var(--line); box-shadow:0 18px 42px rgba(15,35,31,.16); }
.bank-picker-menu[hidden] { display:none; }
.bank-picker-option { width:100%; display:flex; align-items:center; gap:12px; padding:9px; color:var(--ink); background:#fff; border:0; text-align:left; }
.bank-picker-option:hover, .bank-picker-option.active { background:var(--soft); }
.withdraw-quote { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin:18px 0; background:var(--line); border:1px solid var(--line); }
.withdraw-quote div { display:flex; flex-direction:column; gap:8px; padding:18px; background:#fff; }
.withdraw-quote span { color:var(--muted); font-size:13px; }
.withdraw-quote strong { color:var(--blue); font-size:22px; }
.bank-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.bank-option { display:flex; flex-direction:column; gap:3px; text-align:left; background:#fff; border:1px solid var(--line); padding:15px; color:var(--ink); }
.bank-option.active { border-color:var(--blue); box-shadow:inset 0 0 0 2px var(--blue); }
.bank-option span, .bank-option small { color:var(--muted); }
.policy-note { background:var(--soft); border-left:3px solid var(--green); padding:16px; margin:18px 0; }
.policy-note p { margin:6px 0; color:var(--muted); }
.field-error { color:var(--danger); min-height:18px; }
@media (max-width: 900px) { .withdrawal-grid { grid-template-columns:1fr; } .bank-options, .withdraw-quote { grid-template-columns:1fr; } }

.section-heading h1 {
  margin: 0;
  font-size: 30px;
}

.section-heading p {
  width: 560px;
  margin: 34px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

.sell-overview {
  padding: 64px 0 78px;
  text-align: center;
}

.primary-pill,
.secondary-btn,
.submit-btn {
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 166, 223, 0.22);
}

.primary-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  margin-top: 0;
}

.steps-grid {
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.go-sell-btn {
  margin-top: 30px;
  height: 46px;
  padding: 0 34px;
}

.metric-row div {
  min-height: 112px;
  border: 1px solid #deedf2;
  border-radius: 8px;
  background: #f8fbfc;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.metric-row strong {
  color: var(--blue-dark);
  font-size: 34px;
}

.metric-row span {
  color: var(--muted);
}

.step-item {
  border: 1px solid #dfebf0;
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(34, 71, 91, 0.06);
}

.step-item span {
  display: block;
  color: #67737f;
  font-size: 15px;
  margin-bottom: 18px;
}

.step-item span::before {
  content: "";
  width: 6px;
  height: 18px;
  display: inline-block;
  margin-right: 8px;
  background: linear-gradient(180deg, var(--gold), #f2d373);
}

.step-item strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.split-section,
.service-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: center;
  padding: 34px 0;
}

.split-section h2,
.service-row h2,
.about-section h2 {
  font-size: 18px;
  margin: 0 0 32px;
}

.split-section p,
.service-row p,
.lead-copy {
  color: #4f5b65;
  line-height: 1.65;
}

.visual-tile {
  height: 210px;
  border: 1px solid #d9e8ee;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7fbfd, #ffffff);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 44px rgba(33, 71, 92, 0.1);
}

.visual-tile.compact {
  height: 230px;
}

.visual-tile img {
  width: 88%;
  max-height: 84%;
  object-fit: contain;
  filter: none;
}

.supported-section {
  position: relative;
  padding: 70px 90px 120px;
  text-align: center;
}

.supported-section h2 {
  font-size: 26px;
  margin: 0 0 44px;
}

.card-carousel {
  width: 100%;
  overflow: hidden;
}

.supported-loading {
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f7fafb;
  border: 1px dashed #c9dbe4;
  border-radius: 8px;
}

.card-strip {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.supported-card,
.value-grid article,
.reason-grid article,
.team-card {
  background: #f7fafb;
  border: 1px solid #e1ecf1;
  border-radius: 8px;
}

.supported-card {
  flex: 0 0 calc((100% - 54px) / 4);
  height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  color: #56616b;
  box-shadow: 0 12px 34px rgba(34, 71, 91, 0.06);
}

.supported-card img {
  width: 88%;
  max-height: 132px;
  object-fit: contain;
}

.carousel-arrow {
  position: absolute;
  top: 190px;
  width: 44px;
  height: 44px;
  border: 1px solid #d5e3e9;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(34, 71, 91, 0.1);
}

.carousel-arrow::before {
  content: "";
  width: 13px;
  height: 13px;
  border: solid #6d7a86;
  border-width: 0 3px 3px 0;
}

.carousel-arrow.left {
  left: 26px;
}

.carousel-arrow.left::before {
  transform: rotate(135deg);
  margin-left: 5px;
}

.carousel-arrow.right {
  right: 26px;
}

.carousel-arrow.right::before {
  transform: rotate(-45deg);
  margin-right: 5px;
}

.service-list {
  display: grid;
  gap: 36px;
}

.service-row {
  grid-template-columns: 1fr 360px;
}

.service-row.reverse {
  grid-template-columns: 360px 1fr;
}

.service-row.reverse .visual-tile {
  order: -1;
}

.about-section {
  text-align: center;
}

.lead-copy {
  width: 820px;
  margin: 0 auto 52px;
  text-align: left;
}

.about-feature,
.about-visual-band {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 54px;
  align-items: center;
  text-align: left;
  margin: 0 0 72px;
}

.about-feature {
  padding: 34px 38px;
  border: 1px solid #dce9ef;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f4fbfb);
  box-shadow: 0 20px 54px rgba(33, 71, 92, 0.08);
}

.about-feature span,
.about-visual-band span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #0b7c60;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-feature h2,
.about-visual-band h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
}

.about-feature p {
  margin: 0 0 14px;
  color: #4f5b65;
  line-height: 1.65;
}

.about-feature img,
.about-visual-band img {
  width: 100%;
  display: block;
  filter: none;
}

.about-visual-band {
  grid-template-columns: 310px 1fr;
  margin-bottom: 34px;
  padding: 22px 32px;
  border-radius: 8px;
  background: #f7fafb;
  border: 1px solid #e1ecf1;
}

.about-visual-band.reverse {
  grid-template-columns: 1fr 310px;
}

.about-visual-band.reverse img {
  order: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 48px 0 76px;
}

.value-grid article {
  min-height: 250px;
  padding: 28px 22px;
  box-shadow: 0 18px 44px rgba(36, 80, 98, 0.07);
  text-align: left;
}

.value-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  filter: none;
}

.value-grid h3,
.reason-grid h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.value-grid p,
.reason-grid p {
  color: #4f5b65;
  line-height: 1.45;
  margin: 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 48px 0 80px;
  text-align: left;
}

.reason-grid article {
  min-height: 154px;
  padding: 22px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 18px 44px rgba(36, 80, 98, 0.07);
}

.reason-grid article img {
  width: 104px;
  height: 82px;
  object-fit: contain;
}
.value-mark, .reason-mark { display:grid; place-items:center; width:48px; height:48px; margin-bottom:18px; color:#fff; background:var(--blue); font:800 12px/1 monospace; }
.reason-mark { flex:0 0 48px; margin-bottom:0; color:var(--deep); background:#73e0cc; }

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

.team-card {
  height: 260px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 38px rgba(34, 71, 91, 0.08);
  position: relative;
}

.team-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
}
.team-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(16, 44, 61, 0.88));
}

.team-card strong,
.team-card span {
  display: block;
}

.team-card strong {
  font-size: 16px;
  margin-bottom: 5px;
}

.team-card span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.gift-section {
  width: 1040px;
  position: relative;
}

.gift-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 42px;
}

.gift-title-row h1 {
  text-align: center;
  margin: 0 0 0 96px;
  font-size: 22px;
}

.secondary-btn {
  height: 36px;
  padding: 0 18px;
}

.gift-form {
  width: 900px;
  margin: 0 auto;
  padding: 34px 40px 48px;
  border-radius: 8px;
  border: 1px solid #dce9ef;
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 72, 99, 0.1);
}

.field-block {
  margin-bottom: 26px;
}

.field-block label {
  display: block;
  margin-bottom: 8px;
  color: #33414d;
}

.field-block label span {
  color: var(--danger);
}

.option-grid {
  display: grid;
  gap: 16px;
}

.option-grid.cards {
  grid-template-columns: repeat(6, 1fr);
}

.option-grid.currency {
  grid-template-columns: repeat(6, 1fr);
}

.option-tile {
  height: 68px;
  border: 1px solid transparent;
  background: #f2f7f9;
  color: #33414d;
  display: grid;
  place-items: center;
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  gap: 6px;
}

.option-grid.cards .option-tile {
  height: 82px;
  padding: 10px 8px;
  align-content: center;
}

.option-tile img {
  width: 30px;
  height: 22px;
  object-fit: contain;
}

.option-grid.cards .option-tile img {
  width: 38px;
  height: 28px;
}

.option-grid.cards .option-tile span {
  width: 100%;
  color: #33414d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-grid.currency .option-tile {
  height: 62px;
  font-weight: 800;
}

.option-tile.active {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 191, 141, 0.14);
  transform: translateY(-1px);
}

.rate-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-y: auto;
  max-height: 340px;
  padding: 10px 14px;
}

.inline-loading {
  height: 62px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f6fafb;
  border: 1px dashed #c9dbe4;
  border-radius: 8px;
}

.rate-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.rate-placeholder.empty {
  align-content: center;
  gap: 14px;
}

.rate-placeholder img {
  width: 120px;
  opacity: 0.72;
}

.rate-row {
  width: 100%;
  height: 72px;
  border: 1px solid transparent;
  display: grid;
  grid-template-columns: 48px 1fr 250px 48px;
  gap: 12px;
  align-items: center;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, transparent, transparent) border-box;
  color: #2c3944;
  text-align: left;
  border-radius: 8px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rate-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(34, 71, 91, 0.08);
}

.rate-row.active {
  background:
    linear-gradient(135deg, #f0fffb, #ffffff) padding-box,
    linear-gradient(135deg, var(--green), var(--blue)) border-box;
  box-shadow: 0 16px 36px rgba(31, 191, 141, 0.18);
}

.rate-row.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.seller-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 900;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rate-name strong,
.rate-name small {
  display: block;
}

.rate-name small {
  color: #697681;
  margin-top: 6px;
}

.rate-value {
  color: #31414c;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.rate-value strong,
.rate-value small {
  display: block;
}

.rate-value small {
  margin-top: 4px;
  color: #697681;
  font-size: 12px;
  font-weight: 700;
}

.check-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d5e3e9;
  background: #f7fafb;
  opacity: 1;
  justify-self: center;
}

.check-mark::before {
  content: "";
  width: 13px;
  height: 8px;
  border: solid #9aa8b2;
  border-width: 0 0 3px 3px;
  transform: rotate(-45deg) translate(1px, -1px);
}

.rate-row.active .check-mark {
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 8px 18px rgba(31, 191, 141, 0.28);
}

.rate-row.active .check-mark::before {
  border-color: #fff;
}

.field-block input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
}

.amount-line {
  position: relative;
}

.amount-line output {
  position: absolute;
  right: 0;
  top: 27px;
  width: 148px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  color: #4d5963;
  font-weight: 700;
}

.amount-line input {
  padding-right: 168px;
}

.field-error {
  height: 20px;
  margin: 6px 0 0;
  color: var(--danger);
}

.upload-box {
  width: 156px;
  height: 132px;
  border: 2px dashed #aeb8c1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  color: #485661;
  background: #f8fbfc;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.upload-box:hover {
  border-color: var(--green);
  background: #f2fcf9;
  box-shadow: 0 12px 28px rgba(31, 191, 141, 0.12);
}

.upload-box input {
  display: none;
}

.upload-box strong {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f7f3;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

.upload-box span {
  font-size: 13px;
  max-width: 126px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #485661 !important;
}

.upload-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.submit-btn {
  height: 42px;
  padding: 0 38px;
  display: block;
  margin: 36px auto 0;
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.submit-btn.loading {
  background: linear-gradient(135deg, #7ebdd7, #76cbb0);
}

.submit-btn.wide {
  width: 100%;
}

.site-footer {
  padding: 26px 0 24px;
  color: #3c4852;
  background: #f7f8fa;
  border-top: 1px solid rgba(157, 176, 190, 0.2);
}

.footer-inner {
  width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  justify-content: center;
  column-gap: 36px;
}

.footer-brand {
  justify-self: end;
  display: flex;
  align-items: center;
}

.footer-logo {
  width: 230px;
  height: auto;
  display: block;
}

.footer-content {
  min-width: 0;
  width: 520px;
}

.footer-content h2 {
  margin: 0 0 10px;
  color: #303741;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.footer-copy {
  margin: 0;
  color: #56636d;
  font-size: 12px;
  line-height: 1.4;
}

.modal-root {
  display: none;
}

.modal-root.open {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(35, 66, 63, 0.52);
}

.modal-card {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 540px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 34px 48px 42px;
  box-shadow: var(--shadow);
}

.modal-card.small {
  width: 460px;
}

.modal-card h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 20px;
}

.modal-intro {
  color: var(--muted);
  text-align: center;
  margin-top: -18px;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.secondary-action {
  height: 42px;
  border: 1px solid #d6e5ec;
  border-radius: 6px;
  background: #fff;
  color: #38505d;
  font-weight: 800;
}

.submit-btn.danger {
  width: 100%;
  margin: 0;
  background: linear-gradient(135deg, #e34256, #d17835);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 1px;
  width: 2px;
  height: 20px;
  background: #6d7a86;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.input-line {
  height: 50px;
  border: 1px solid #d6dde4;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 14px;
}

.input-line span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.input-line span img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.62;
}

.input-line input {
  border: 0;
  outline: 0;
  height: 100%;
}

.input-line.with-action {
  grid-template-columns: 28px 1fr 72px;
}

.input-line.with-action button {
  border: 0;
  color: #0075ff;
  background: transparent;
}

.input-line.with-action button:disabled {
  color: #8aa0ac;
  cursor: not-allowed;
}

.agree-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b9299;
  margin: 8px 0 18px;
  font-size: 13px;
}

.agree-line a,
.link-btn {
  color: #0075ff;
  text-decoration: underline;
}

.link-btn.right {
  display: block;
  margin: 18px 0 0 auto;
}

.orders-modal {
  width: 620px;
  padding: 28px 24px;
}

.orders-list {
  display: grid;
  gap: 12px;
}
.orders-section-title { margin: 22px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 800; color: var(--ink); }

.order-wrap {
  position: relative;
  background: #f1f1f1;
  border-radius: 5px;
  padding: 10px;
}

.order-head {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
}

.order-icon {
  width: 74px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce9ef;
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}

.order-icon img {
  width: 66px;
  height: 44px;
  object-fit: contain;
}

.order-head small,
.order-head strong,
.order-head span {
  display: block;
}

.order-head small {
  color: #4d5963;
}

.order-head strong {
  margin: 4px 0;
}

.order-head em {
  font-style: normal;
  font-size: 18px;
}

.details-toggle {
  position: absolute;
  right: 18px;
  top: 54px;
  border: 0;
  background: #fff;
  color: #0078b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(34, 71, 91, 0.08);
}

.toggle-icon {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.details-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.order-detail {
  display: none;
  background: #fff;
  border-radius: 6px;
  margin-top: 12px;
  padding: 18px 22px;
}

.order-item.expanded .order-detail {
  display: block;
}

.order-detail dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 60px;
}

.order-image-row {
  grid-column: 1 / -1;
}

.order-detail dt {
  color: #5f6b75;
  margin-bottom: 10px;
}

.order-detail dd {
  margin: 0;
}

.order-image-row dd {
  display: flex;
  align-items: center;
  gap: 14px;
}

.order-image {
  width: 132px;
  height: 92px;
  border-radius: 8px;
  border: 1px solid #dce9ef;
  object-fit: cover;
  background: #f7fafb;
  box-shadow: 0 10px 24px rgba(34, 71, 91, 0.08);
}

.empty-state {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 38px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 6px;
  color: #fff;
  background: rgba(26, 40, 52, 0.92);
  text-align: center;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: rgba(205, 55, 73, 0.96);
}

/* APEX visual system */
:root {
  --ink: #17211e;
  --muted: #62706b;
  --line: #dfe5e1;
  --soft: #f4f5f0;
  --panel: #ffffff;
  --blue: #f0523d;
  --blue-dark: #c63829;
  --green: #257d70;
  --gold: #f2b84b;
  --deep: #17211e;
  --aqua: #d9eee9;
  --shadow: 0 24px 70px rgba(23, 33, 30, 0.12);
}

body {
  min-width: 0;
  background: #f7f7f3;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

.site-header { height: 76px; background: rgba(250, 250, 246, 0.94); border-color: #dfe4df; }
.header-inner { width: min(1240px, calc(100% - 48px)); grid-template-columns: 260px 1fr 220px; }
.brand-logo { width: 226px; }
.main-nav { gap: 42px; }
.main-nav a { padding: 27px 0 24px; color: #53605b; font-size: 14px; font-weight: 700; }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--blue); }
.text-btn.strong { height: 38px; padding: 0 18px; color: #fff; background: var(--ink); }
.app-shell { background: #f7f7f3; }

.hero-band { padding: 22px 0 52px; background: #f7f7f3; }
.hero-frame {
  width: min(1240px, calc(100% - 48px));
  height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(52px, 7vw, 96px);
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #17211e;
  box-shadow: none;
}
.hero-frame::before { content: "APEX / 01"; position: absolute; top: 28px; left: 34px; color: #84908b; font: 700 11px/1 monospace; }
.hero-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.045) 25%); }
.hero-copy, .market-board { position: relative; z-index: 1; }
.hero-copy > span, .section-kicker { display: block; color: #77c7b8; font-size: 12px; font-weight: 900; letter-spacing: 1.6px; }
.hero-copy h1 { max-width: 650px; margin: 20px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 6vw, 86px); font-weight: 400; line-height: .96; letter-spacing: 0; }
.hero-copy p { max-width: 570px; margin: 0; color: #bcc6c2; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 38px; }
.hero-primary, .hero-secondary { display: inline-flex; align-items: center; justify-content: center; height: 48px; font-size: 14px; font-weight: 800; }
.hero-primary { gap: 28px; padding: 0 20px; color: #fff; background: var(--blue); }
.hero-primary b { font-size: 20px; }
.hero-secondary { border-bottom: 1px solid #70807a; color: #fff; }
.market-board { min-height: 330px; padding: 28px; color: var(--ink); background: #f6f5ee; }
.board-head { display: flex; justify-content: space-between; border-bottom: 1px solid #d7ddd9; padding-bottom: 18px; color: #65716d; font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.board-head i { color: var(--green); font-style: normal; }
.board-head i::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #42a794; }
.board-rate { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 26px; }
.board-rate small { grid-column: 1 / -1; color: #6f7b76; }
.board-rate strong { margin-top: 8px; font: 400 43px/1 Georgia, serif; }
.board-rate em { color: var(--green); font-size: 13px; font-style: normal; font-weight: 900; }
.chart { height: 96px; margin: 22px 0; overflow: hidden; border-bottom: 1px solid #ccd5d0; background: repeating-linear-gradient(0deg, transparent 0, transparent 23px, #e2e6e2 24px); }
.chart span { display: block; width: 110%; height: 85px; border-top: 3px solid var(--blue); transform: rotate(-7deg) translate(-8px, 44px); clip-path: polygon(0 48%, 10% 30%, 21% 66%, 32% 18%, 45% 44%, 59% 12%, 70% 58%, 82% 20%, 100% 2%, 100% 100%, 0 100%); background: rgba(240,82,61,.09); }
.board-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.board-stats div { display: flex; justify-content: space-between; padding: 13px; background: #e9ece6; }
.board-stats small { color: #78837f; }.board-stats b { font-size: 13px; }

.narrow, .content-section, .gift-section { width: min(1100px, calc(100% - 48px)); }
.sell-overview, .content-section, .gift-section { padding-top: 84px; }
.section-heading { margin-bottom: 46px; }
.section-heading h1 { font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 400; letter-spacing: 0; }
.section-heading p { margin-top: 18px; }
.primary-pill, .secondary-btn, .submit-btn { border-radius: 0; background: var(--blue); box-shadow: none; }
.steps-grid { gap: 0; border-top: 1px solid var(--line); margin-top: 60px; }
.step-item { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 28px 24px 34px; box-shadow: none; text-align: left; background: transparent; }
.step-item:last-child { border-right: 0; }
.step-item span { font: 800 11px/1 monospace; color: var(--blue); }.step-item span::before { display: none; }
.step-item strong { font-family: Georgia, serif; font-size: 22px; font-weight: 400; }
.split-section { grid-template-columns: 1fr 440px; gap: 80px; padding: 84px 0; border-top: 1px solid var(--line); }
.split-section h2, .service-row h2, .about-section h2 { margin: 14px 0 26px; font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.visual-tile, .visual-tile.compact { height:auto; aspect-ratio:16 / 10; overflow:hidden; border:0; border-radius:0; background:#e7ece7; box-shadow:none; }
.visual-tile img { width:100%; height:100%; max-height:none; object-fit:cover; filter:none; }
.split-section .visual-tile img { object-position:center 42%; }
.service-row:nth-child(2) .visual-tile img { object-position:center 58%; }
.service-row:nth-child(4) .visual-tile img { object-position:center 42%; }
.supported-section { background: #fff; border-top: 1px solid var(--line); }
.supported-section h2 { margin-top: 12px; font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.supported-card, .value-grid article, .reason-grid article, .team-card { border-radius: 0; background: #f3f4ef; box-shadow: none; }
.carousel-arrow { border-radius: 0; box-shadow: none; }
.service-list { gap: 0; }.service-row { grid-template-columns: 1fr 420px; padding: 54px 0; border-top: 1px solid var(--line); }.service-row.reverse { grid-template-columns: 420px 1fr; }
.about-feature, .about-visual-band { border-radius:0; box-shadow:none; }.about-feature { background:#fff; }.about-feature img, .about-visual-band img { width:100%; height:230px; object-fit:cover; filter:none; }.about-feature img { object-position:center 44%; }.about-visual-band img { object-position:center 48%; }.about-visual-band.reverse img { object-position:center 42%; }.value-grid { gap:1px; background:var(--line); }.value-grid article { border:0; background:#fff; }
.team-grid { gap:1px; }.team-card { border:0; height:340px; }.team-card img { width:100%; height:100%; object-fit:cover; object-position:center 20%; filter:none; }.team-card:nth-child(2) img { object-position:center 24%; }.team-card:nth-child(3) img { object-position:center 18%; }.team-card:nth-child(4) img { object-position:30% center; }
.gift-form { width: min(900px, 100%); border-radius: 0; box-shadow: none; }.option-tile, .rate-list, .rate-row, .field-block input, .upload-box { border-radius: 0; }.option-tile.active { border-color: var(--blue); box-shadow: inset 0 -3px var(--blue); transform: none; }.rate-row.active { background: #f3f8f6; box-shadow: none; }.seller-avatar, .check-mark, .upload-box strong { border-radius: 0; }
.site-footer { background: var(--ink); color: #fff; }.footer-inner { width: min(1100px, calc(100% - 48px)); }.footer-content h2 { color: #fff; }.footer-copy { color: #9eaaa5; }.footer-logo { filter: brightness(0) invert(1); }
.modal-card, .secondary-action, .toast { border-radius: 0; }

@media (max-width: 900px) {
  .site-header { height: auto; position: relative; }
  .header-inner { width: calc(100% - 32px); grid-template-columns: 1fr auto; min-height: 72px; }
  .brand-logo { width: 190px; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; gap: 26px; overflow-x: auto; border-top: 1px solid var(--line); }
  .main-nav a { flex: 0 0 auto; padding: 15px 0 12px; }
  .header-actions { gap: 10px; }.text-btn { font-size: 13px; }.text-btn.strong { padding: 0 12px; }
  .hero-frame { width: calc(100% - 24px); height: auto; min-height: 0; grid-template-columns: 1fr; gap: 44px; padding: 72px 28px 30px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 68px); }.hero-copy p { font-size: 15px; }
  .market-board { min-height: 300px; }.board-rate strong { font-size: 36px; }
  .narrow, .content-section, .gift-section { width: calc(100% - 32px); }
  .section-heading h1 { font-size: 34px; }.section-heading p, .lead-copy { width: 100%; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }.step-item:nth-child(2) { border-right: 0; }.step-item { border-bottom: 1px solid var(--line); }
  .split-section, .service-row, .service-row.reverse, .about-feature, .about-visual-band, .about-visual-band.reverse { grid-template-columns: 1fr; gap: 30px; }
  .service-row.reverse .visual-tile, .about-visual-band.reverse img { order: 0; }
  .value-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }.reason-grid { grid-template-columns: 1fr; }
  .option-grid.cards, .option-grid.currency { grid-template-columns: repeat(3, 1fr); }
  .gift-form { padding: 26px 20px 38px; }.rate-row { grid-template-columns: 42px 1fr auto; height: auto; min-height: 80px; padding: 8px; }.check-mark { display: none; }.rate-value { max-width: 150px; }
  .footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 22px; }.footer-brand { justify-self: start; }.footer-content { width: auto; }
}

@media (max-width: 520px) {
  .header-inner { grid-template-columns: 1fr; padding-top: 14px; }.header-actions { justify-content: flex-start; padding: 10px 0; }.main-nav { grid-column: 1; }
  .hero-copy h1 { font-size: 48px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .market-board { padding: 20px; }.board-rate strong { font-size: 31px; }.board-stats { grid-template-columns: 1fr; }
  .steps-grid, .value-grid, .team-grid { grid-template-columns: 1fr; }.step-item { border-right: 0; }
  .supported-section { padding-left: 52px; padding-right: 52px; }.supported-card { flex-basis: 100%; }
  .option-grid.cards, .option-grid.currency { grid-template-columns: repeat(2, 1fr); }.gift-title-row h1 { margin-left: 0; text-align: left; }
  .rate-row { grid-template-columns: 38px 1fr; }.rate-value { grid-column: 2; max-width: none; text-align: left; }.modal-card, .modal-card.small, .orders-modal { width: calc(100% - 24px); padding: 28px 20px; }
}

/* Distinct, high-contrast route banners */
.hero-frame { height: auto; min-height: 560px; isolation: isolate; }
.hero-frame::before { content: "APEX / 01"; color: rgba(255,255,255,.66); font-size: 12px; }
.hero-copy { z-index: 4; }
.hero-copy > span { color: #73e0cc; font-size: 13px; text-shadow: 0 1px 16px rgba(115,224,204,.25); }
.hero-copy h1 { color: #fff; text-wrap: balance; text-shadow: 0 3px 28px rgba(0,0,0,.22); }
.hero-copy p { color: #e0e8e4; font-size: 18px; font-weight: 500; }
.hero-primary { min-width: 174px; background: #ff5a45; box-shadow: 0 14px 34px rgba(255,90,69,.25); }
.hero-primary:hover { background: #ff705d; transform: translateY(-2px); }
.hero-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-visual { position: relative; z-index: 2; width: 100%; min-height: 350px; }

.hero-home .hero-frame {
  min-height: 620px;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 79% 43%, rgba(72,222,193,.16), transparent 26%),
    linear-gradient(105deg, #071310 0 48%, #0a2923 100%);
}
.hero-home .hero-frame::after {
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(109,231,208,.12) 50%, transparent 50.2%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), rgba(255,255,255,.035) 12.5%);
}
.hero-home .hero-copy::before { content: "TRADING NETWORK ONLINE"; display: inline-flex; margin-bottom: 20px; padding: 8px 10px; color: #b8fff1; border: 1px solid rgba(115,224,204,.32); background: rgba(36,105,91,.22); font: 800 9px/1 monospace; }
.hero-home .hero-copy::after { content: ""; position: absolute; left: -26px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, #73e0cc 28%, #73e0cc 70%, transparent); box-shadow: 0 0 18px rgba(115,224,204,.45); }
.hero-home .hero-copy h1 { max-width: 590px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; }
.gift-platform-visual { min-height: 410px; overflow: hidden; perspective: 1100px; }
.platform-grid { position: absolute; inset: -45px -70px; opacity: .66; transform: rotateX(62deg) rotateZ(-8deg) translateY(62px); transform-origin: center; background: linear-gradient(rgba(107,225,203,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(107,225,203,.16) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(circle, #000 12%, transparent 69%); animation: grid-drift 10s linear infinite; }
.platform-orbit { position: absolute; left: 50%; top: 47%; border: 1px solid rgba(126,239,216,.26); border-radius: 50%; transform: translate(-50%, -50%); }
.platform-orbit--outer { width: 340px; height: 340px; border-style: dashed; animation: orbit-spin 26s linear infinite; }
.platform-orbit--inner { width: 216px; height: 216px; border-color: rgba(126,239,216,.38); box-shadow: 0 0 56px rgba(83,223,194,.1); animation: orbit-spin 17s linear reverse infinite; }
.platform-card { position: absolute; z-index: 3; width: 142px; overflow: hidden; border: 1px solid rgba(255,255,255,.5); border-radius: 13px; box-shadow: 0 20px 45px rgba(0,0,0,.35); animation: platform-card-float 5.5s ease-in-out infinite; }
.platform-card img { width: 100%; height: auto; display: block; }
.platform-card--apple { left: 1%; top: 10%; transform: rotate(-10deg); }
.platform-card--steam { right: 2%; top: 6%; transform: rotate(8deg); animation-delay: -1.4s; }
.platform-card--google { left: 7%; bottom: 15%; transform: rotate(8deg); animation-delay: -2.8s; }
.platform-card--amazon { right: 4%; bottom: 11%; transform: rotate(-9deg); animation-delay: -4.2s; }
.platform-core { position: absolute; z-index: 4; left: 50%; top: 47%; width: 144px; height: 144px; display: grid; place-items: center; align-content: center; gap: 7px; color: #071713; border: 1px solid rgba(239,255,252,.78); border-radius: 50%; background: #73e0cc; box-shadow: 0 0 0 14px rgba(115,224,204,.1), 0 0 58px rgba(115,224,204,.4); transform: translate(-50%, -50%); }
.platform-core span { font: 400 28px/.85 Georgia, serif; letter-spacing: .04em; }
.platform-core strong { color: #17483f; font: 900 8px/1.25 monospace; letter-spacing: .12em; text-align: center; }
.platform-core small { padding-top: 5px; color: #276b5d; border-top: 1px solid rgba(7,23,19,.18); font: 800 7px/1 monospace; letter-spacing: .14em; }
.platform-status { position: absolute; z-index: 4; left: 50%; top: 6px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; color: #cafff4; border: 1px solid rgba(126,239,216,.25); background: rgba(3,23,18,.75); box-shadow: 0 9px 24px rgba(0,0,0,.18); transform: translateX(-50%); font: 800 8px/1 monospace; letter-spacing: .08em; white-space: nowrap; }
.platform-status i { width: 6px; height: 6px; border-radius: 50%; background: #73e0cc; box-shadow: 0 0 10px #73e0cc; animation: pulse-dot 1.6s ease-in-out infinite; }
.platform-settlement { position: absolute; z-index: 4; left: 50%; bottom: 3px; display: grid; gap: 6px; width: 220px; padding: 12px 14px; color: #fff; border-left: 3px solid #ff705d; background: rgba(4,24,20,.9); box-shadow: 0 14px 34px rgba(0,0,0,.25); transform: translateX(-50%); }
.platform-settlement span { color: #ffad9f; font: 800 8px/1 monospace; letter-spacing: .12em; }
.platform-settlement b { color: #e7f5f1; font: 800 9px/1.3 monospace; letter-spacing: .06em; }
@keyframes platform-card-float { 50% { margin-top: -11px; } }
.market-cockpit { min-height: 400px; perspective: 1000px; }
.cockpit-grid { position: absolute; inset: -60px -80px; opacity: .58; transform: rotateX(62deg) rotateZ(-7deg) translateY(45px); transform-origin: center; background: linear-gradient(rgba(107,225,203,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(107,225,203,.13) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle, #000 15%, transparent 68%); animation: grid-drift 10s linear infinite; }
.hero-home .market-board { position: absolute; left: 8%; top: 4%; width: 84%; min-height: 350px; overflow: hidden; padding: 30px; color: #101a17; background: rgba(255,254,246,.97); border: 1px solid rgba(255,255,255,.7); box-shadow: -16px -16px 0 -15px #73e0cc, 22px 26px 0 rgba(91,208,186,.13), 0 38px 90px rgba(0,0,0,.34); transform: rotateY(-5deg) rotateX(1deg); backdrop-filter: blur(12px); }
.hero-home .market-board::before { display: none; }
.hero-home .market-board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%); transform: translateX(-120%); animation: board-scan 6s ease-in-out infinite; }
.hero-home .board-rate strong { font-size: 48px; }.hero-home .board-rate em { padding: 6px 8px; color: #fff; background: #257d70; }
.hero-home .chart span { animation: chart-rise 5s ease-in-out infinite alternate; }
.hero-home .chart i { position: absolute; right: 22%; top: 40%; width: 9px; height: 9px; border: 3px solid #fffef6; border-radius: 50%; background: #f0523d; box-shadow: 0 0 0 8px rgba(240,82,61,.16); animation: pulse-dot 2s ease-in-out infinite; }
.hero-home .chart { position: relative; }
.hero-home .chart b { position: absolute; right: 0; top: 28%; padding: 4px 6px; color: #fff; background: #f0523d; font: 800 9px/1 monospace; }
.asset-chip { position: absolute; z-index: 4; min-width: 116px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 12px; border: 1px solid rgba(127,239,218,.34); color: #dffff8; background: rgba(6,28,24,.88); box-shadow: 0 12px 28px rgba(0,0,0,.25); backdrop-filter: blur(8px); font: 800 9px/1 monospace; animation: chip-float 4s ease-in-out infinite; }
.asset-chip b { color: #73e0cc; }.asset-apple { left: -1%; top: 23%; }.asset-steam { right: -3%; top: 14%; animation-delay: -1.2s; }.asset-amazon { right: -1%; bottom: 6%; animation-delay: -2.4s; }
.trade-signal { position: absolute; z-index: 5; left: -3%; bottom: 0; min-width: 190px; padding: 15px 17px; color: #fff; background: #f0523d; box-shadow: 0 18px 40px rgba(0,0,0,.32); animation: signal-pop 5s ease-in-out infinite; }
.trade-signal span, .trade-signal b, .trade-signal small { display: block; }.trade-signal span { color: #ffe6df; font: 800 9px/1 monospace; }.trade-signal span i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: #fff; animation: pulse-dot 1.5s ease infinite; }.trade-signal b { margin: 9px 0 4px; font: 400 25px/1 Georgia, serif; }.trade-signal small { color: #ffd0c7; font-size: 9px; }
.cockpit-axis { position: absolute; z-index: 1; opacity: .5; background: #75dfcc; }.axis-x { left: -8%; right: -7%; top: 51%; height: 1px; }.axis-y { top: -10%; bottom: -9%; left: 51%; width: 1px; }
.hero-ticker { position: absolute; z-index: 12; left: 0; right: 0; bottom: 0; height: 58px; display: grid; grid-template-columns: 150px 1fr; align-items: center; overflow: hidden; color: #d8e8e3; border-top: 1px solid rgba(126,222,204,.22); background: rgba(3,16,13,.96); font: 800 10px/1 monospace; isolation: isolate; }
.hero-ticker::before { content: ""; position: absolute; inset: -18px 0 0; z-index: -1; background: inherit; filter: blur(10px); }
.hero-home .hero-frame { padding-bottom: 132px; }
.hero-withdraw .hero-actions { display:none; }
.hero-ticker > span { position:relative; z-index:2; height:100%; display:grid; place-items:center; white-space:nowrap; color:#071612; background:#73e0cc; }
.ticker-window { width:100%; height:100%; min-width:0; overflow:hidden; display:flex; align-items:center; }
.ticker-track { width:max-content; flex:0 0 auto; display:flex; gap:20px; align-items:center; padding-left:28px; animation:ticker-move 18s linear infinite; }
.hero-ticker b { color:#fff; }.hero-ticker i { color:#73e0cc; font-style:normal; }.hero-ticker i::after { content:"/"; margin-left:20px; color:#52635e; }

.hero-gift-card .hero-frame {
  background:
    linear-gradient(112deg, #25130f 0 48%, rgba(86,25,17,.92) 100%),
    #371710;
}
.hero-gift-card .hero-copy h1, .hero-services .hero-copy h1, .hero-about .hero-copy h1 { font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.hero-gift-card .hero-copy p, .hero-services .hero-copy p, .hero-about .hero-copy p { max-width: 600px; }
.hero-gift-card .hero-frame::after { background: repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,.025) 25px 26px); }
.hero-gift-card .hero-frame::before { content: "TRADE / 02"; }
.trade-flow { overflow: hidden; display: grid; place-items: center; }
.trade-orbit { position: absolute; border: 1px solid rgba(255,184,167,.23); border-radius: 50%; animation: orbit-spin 18s linear infinite; }
.orbit-one { width: 330px; height: 330px; }.orbit-two { width: 240px; height: 240px; border-style: dashed; animation-direction: reverse; animation-duration: 12s; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: #ff735e; box-shadow: 0 0 18px #ff735e; }
.floating-card { position: absolute; width: 190px; min-height: 114px; padding: 20px; display: flex; flex-direction: column; color: #1c1816; background: #fff7ee; box-shadow: 0 22px 60px rgba(0,0,0,.32); animation: card-float 4s ease-in-out infinite; }
.floating-card small { color: #8c746e; font: 800 10px/1 monospace; }.floating-card b { margin: 12px 0; font: 400 28px/1 Georgia, serif; }.floating-card span { color: #e04b38; font-size: 9px; font-weight: 900; }
.card-source { left: 4px; top: 40px; transform: rotate(-7deg); }.card-result { right: 2px; bottom: 34px; color: #fff; background: #f0523d; transform: rotate(6deg); animation-delay: -2s; }.card-result small, .card-result span { color: #ffe0d8; }
.flow-core { width: 112px; height: 112px; display: grid; place-items: center; align-content: center; color: #fff; border: 1px solid rgba(255,255,255,.4); background: rgba(25,11,8,.74); backdrop-filter: blur(8px); transform: rotate(45deg); }
.flow-core span, .flow-core b, .flow-core small { transform: rotate(-45deg); }.flow-core span { color: #ff8b79; font-size: 11px; font-weight: 900; }.flow-core b { font-size: 25px; }.flow-core small { color: #e6c2ba; font-size: 8px; }
.flow-status { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; color: #ffd5cc; font: 800 10px/1 monospace; }.flow-status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: #ff735e; animation: pulse-dot 1.6s ease infinite; }

.hero-services .hero-frame {
  background:
    radial-gradient(circle at 81% 50%, rgba(76,225,196,.15), transparent 32%),
    linear-gradient(105deg, #071c1d 0 47%, #092d2b 100%);
}
.hero-services .hero-frame::before { content: "SYSTEM / 03"; }
.hero-services .hero-frame::after { background: linear-gradient(rgba(90,225,202,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(90,225,202,.06) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(90deg, transparent, #000); }
.service-system { display: grid; place-items: center; }
.system-ring { position: absolute; border: 1px solid rgba(96,228,204,.3); border-radius: 50%; }.ring-outer { width: 330px; height: 330px; animation: orbit-spin 24s linear infinite; }.ring-inner { width: 188px; height: 188px; border-style: dashed; animation: orbit-spin 12s linear reverse infinite; }
.system-core { width: 104px; height: 104px; display: grid; place-items: center; align-content: center; border-radius: 50%; color: #06231e; background: #76e0cd; box-shadow: 0 0 0 18px rgba(118,224,205,.07), 0 0 60px rgba(118,224,205,.22); }
.system-core span { font: 700 42px/1 Georgia, serif; }.system-core b { margin-top: 4px; font-size: 9px; }
.system-node { position: absolute; width: 145px; padding: 14px 16px; color: #fff; border-left: 3px solid #76e0cd; background: rgba(4,28,26,.88); box-shadow: 0 14px 35px rgba(0,0,0,.22); backdrop-filter: blur(5px); animation: node-breathe 3.8s ease-in-out infinite; }
.system-node i, .system-node b, .system-node small { display: block; }.system-node i { color: #76e0cd; font: 800 9px/1 monospace; }.system-node b { margin: 7px 0 4px; font-size: 12px; }.system-node small { color: #a9c9c2; font-size: 10px; }
.node-market { left: 0; top: 36px; }.node-verify { right: 0; top: 45px; animation-delay: -.9s; }.node-track { left: 7px; bottom: 26px; animation-delay: -1.8s; }.node-support { right: 3px; bottom: 24px; animation-delay: -2.7s; }

.hero-about .hero-frame { color: #171b19; background: #f0f23d; }
.hero-about .hero-frame::before { content: "STORY / 04"; color: rgba(23,27,25,.6); }
.hero-about .hero-frame::after { background: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(23,27,25,.1) 20%); }
.hero-about .hero-copy > span { color: #135d54; text-shadow: none; }.hero-about .hero-copy h1 { color: #171b19; text-shadow: none; }.hero-about .hero-copy p { color: #34413c; }.hero-about .hero-primary { color: #fff; background: #171b19; box-shadow: 0 14px 34px rgba(23,27,25,.16); }.hero-about .hero-secondary { color: #171b19; border-color: #171b19; }
.brand-story { min-height: 370px; overflow: hidden; color: #fff; background: #171b19; box-shadow: 22px 24px 0 rgba(23,27,25,.14); }
.apex-a { position: absolute; right: -28px; top: -34px; width: 230px; height: 240px; transform: rotate(7deg); }
.apex-a::before, .apex-a::after, .apex-a span { content: ""; position: absolute; background: #f0523d; }.apex-a::before { left: 38px; width: 54px; height: 230px; transform: skew(-24deg); }.apex-a::after { right: 40px; width: 54px; height: 230px; transform: skew(24deg); }.apex-a span { left: 58px; top: 128px; width: 120px; height: 38px; }
.story-statement { position: absolute; left: 32px; bottom: 36px; }.story-statement small { display: block; margin-bottom: 18px; color: #81dece; font: 800 10px/1 monospace; }.story-statement strong { font: 400 42px/.9 Georgia, serif; }
.story-index { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 15px; color: #82908b; font: 700 10px/1 monospace; }.story-index span:first-child { color: #fff; }
.story-line { position: absolute; left: 32px; right: 32px; top: 28px; height: 2px; background: linear-gradient(90deg, #81dece 0 32%, #3a4642 32%); animation: story-scan 4s ease-in-out infinite; }

@keyframes chart-rise { from { transform: rotate(-7deg) translate(-8px, 48px); } to { transform: rotate(-7deg) translate(-8px, 34px); } }
@keyframes pulse-dot { 50% { opacity: .45; transform: scale(.75); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes card-float { 50% { margin-top: -12px; } }
@keyframes node-breathe { 50% { transform: translateY(-5px); border-left-color: #fff; } }
@keyframes story-scan { 50% { background-position: 180px 0; } }
@keyframes grid-drift { to { background-position: 72px 36px; } }
@keyframes board-scan { 0%, 42% { transform: translateX(-130%); } 75%, 100% { transform: translateX(130%); } }
@keyframes chip-float { 50% { transform: translateY(-8px); } }
@keyframes signal-pop { 0%, 75%, 100% { transform: translateY(0); } 82% { transform: translateY(-8px); } }
@keyframes ticker-move { to { transform: translateX(-35%); } }

@media (max-width: 900px) {
  .hero-copy p { font-size: 16px; }
  .hero-visual { min-height: 340px; }
  .hero-home .hero-frame { padding-bottom: 112px; }
  .gift-platform-visual { min-height: 400px; max-width: 560px; justify-self: center; }
  .platform-card { width: 130px; }
  .hero-home .market-board { left: 5%; width: 90%; transform: none; }
  .market-cockpit { min-height: 420px; }
  .asset-apple { left: 0; }.asset-steam { right: 0; }.asset-amazon { right: 0; }
  .hero-ticker { height: 52px; grid-template-columns: 120px 1fr; }
  .trade-flow, .service-system, .brand-story { max-width: 560px; justify-self: center; }
}

@media (max-width: 520px) {
  .hero-frame { padding-left: 22px; padding-right: 22px; }
  .hero-copy h1 { font-size: 46px; line-height: .98; }
  .hero-home .hero-copy h1 { font-size: 40px; line-height: 1.04; }
  .hero-gift-card .hero-copy h1, .hero-services .hero-copy h1, .hero-about .hero-copy h1 { font-size: 40px; }
  .hero-copy p { color: #f0f4f2; font-size: 15px; line-height: 1.6; }
  .hero-about .hero-copy p { color: #26322e; }
  .hero-visual { min-height: 280px; }
  .hero-home .hero-frame { padding-bottom: 100px; }
  .hero-home .hero-copy::after { left: -12px; }
  .gift-platform-visual { min-height: 340px; }
  .platform-orbit--outer { width: 275px; height: 275px; }.platform-orbit--inner { width: 176px; height: 176px; }
  .platform-card { width: 104px; border-radius: 10px; }.platform-card--apple { left: 0; top: 9%; }.platform-card--steam { right: 0; top: 7%; }.platform-card--google { left: 3%; bottom: 18%; }.platform-card--amazon { right: 2%; bottom: 14%; }
  .platform-core { width: 118px; height: 118px; }.platform-core span { font-size: 23px; }.platform-status { top: 0; font-size: 7px; }.platform-settlement { bottom: 0; width: 198px; padding: 10px 12px; }
  .hero-home .market-board { left: 3%; top: 18px; width: 94%; min-height: 300px; padding: 21px; box-shadow: 10px 14px 0 rgba(91,208,186,.13), 0 28px 60px rgba(0,0,0,.3); }
  .market-cockpit { min-height: 365px; }
  .asset-chip { min-width: 96px; padding: 8px; }.asset-apple { top: 3px; left: -3px; }.asset-steam { top: auto; right: -2px; bottom: 7px; }.asset-amazon { display: none; }
  .trade-signal { left: -2px; bottom: 2px; min-width: 155px; padding: 11px 13px; }.trade-signal b { font-size: 21px; }
  .hero-home .board-rate strong { font-size: 34px; }.hero-home .board-stats { grid-template-columns: 1fr 1fr; }.hero-home .board-stats div { display: grid; gap: 5px; }
  .hero-ticker { grid-template-columns: 104px 1fr; font-size: 8px; }
  .trade-orbit.orbit-one { width: 280px; height: 280px; }.trade-orbit.orbit-two { width: 190px; height: 190px; }
  .floating-card { width: 150px; min-height: 102px; padding: 16px; }.floating-card b { font-size: 22px; }.card-source { left: 0; }.card-result { right: 0; }
  .system-ring.ring-outer { width: 240px; height: 240px; }.system-ring.ring-inner { width: 136px; height: 136px; }.system-core { width: 76px; height: 76px; }.system-node { width: 112px; padding: 10px; }.system-node small { display: none; }
  .brand-story { min-height: 320px; }.story-statement strong { font-size: 37px; }.apex-a { right: -70px; opacity: .75; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual *, .hero-primary { animation: none !important; transition: none !important; }
}
