* {
  box-sizing: border-box;
}

:root {
  --text: #1b1f24;
  --muted: #5b626c;
  --line: rgba(0, 0, 0, .10);
  --green: #20a33a;
  --green-dark: #16842c;
  --green-soft: #e9f7ec;
  --lime: #c9ed8d;
  --blue: #17214a;
  --sky: #d7e9f5;
  --purple: #7266a4;
  --card: #ffffff;
  --soft: #f6f7f8;
  --warning: #fff5d6;
  --danger: #8a5a00;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.top-warning {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 10px 16px;
  text-align: center;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 38px;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.logo strong,
.logo small {
  display: block;
}

.logo small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.heroHeader {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 163, 58, .18), transparent 23rem),
    linear-gradient(135deg, #f3f8f1 0%, #ffffff 48%, #dcecf7 100%);
}

.heroHeader::before {
  content: "JOKE ONLY SIMULATION";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  color: rgba(0, 0, 0, .045);
  font-size: clamp(54px, 10vw, 150px);
  font-weight: 950;
  white-space: nowrap;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 48px;
  align-items: center;
}

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

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.07em;
}

.hero-desc {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 900;
}

.primary-link,
button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px rgba(32, 163, 58, .22);
}

.primary-link:hover,
button:hover {
  background: var(--green-dark);
}

.secondary-link,
button.ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-note {
  margin: 18px 0 0;
  color: #39414d;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.promo-card {
  position: absolute;
  inset: 48px 34px auto auto;
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(360px, 100%);
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff, transparent 28%),
    linear-gradient(145deg, #d8f1ab, #22a63d);
  box-shadow: 0 34px 70px rgba(32, 163, 58, .28);
  text-align: center;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
}

.promo-label {
  position: relative;
  z-index: 1;
  color: #11451f;
  font-weight: 900;
}

.promo-card strong {
  position: relative;
  z-index: 1;
  max-width: 78%;
  margin: 10px 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  word-break: break-word;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .22);
}

.promo-card em {
  position: relative;
  z-index: 1;
  color: #11451f;
  font-weight: 900;
  font-style: normal;
}

.floating-mini {
  position: absolute;
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .12);
}

.floating-mini span,
.floating-mini strong {
  display: block;
}

.floating-mini span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.floating-mini strong {
  margin-top: 4px;
  font-size: 24px;
}

.mini-a {
  left: 10px;
  top: 64px;
}

.mini-b {
  right: 0;
  bottom: 54px;
}

.dashboard-section,
.steps-section,
.profile-share-section,
.chart-section,
.faq-section {
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.app-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
}

.control-panel,
.result-panel,
.profile-card,
.share-card,
.chart-card,
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .07);
}

.control-panel {
  padding: 24px;
}

.control-panel h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

label {
  display: block;
  margin: 15px 0 8px;
  color: #333b45;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 163, 58, .10);
}

.control-panel button {
  width: 100%;
  margin-top: 18px;
}

.control-panel .ghost {
  margin-top: 10px;
}

.panel-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.result-panel {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  display: grid;
  align-content: center;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 12%, rgba(32, 163, 58, .14), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f5faf6);
}

.result-watermark {
  position: absolute;
  right: -20px;
  bottom: 26px;
  transform: rotate(-12deg);
  color: rgba(0, 0, 0, .055);
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 950;
  white-space: nowrap;
  pointer-events: none;
}

.small {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
}

.mega-number {
  position: relative;
  z-index: 1;
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .95;
  word-break: break-word;
  user-select: none;
}

.rank-badge {
  position: relative;
  z-index: 1;
  justify-self: start;
  display: inline-block;
  margin: 18px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.result-text {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.tradingConditions__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .06);
}

.tradingConditions__item {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.tradingConditions__item:nth-child(3n) {
  border-right: none;
}

.tradingConditions__item:nth-child(n+4) {
  border-bottom: none;
}

.tradingConditions__item p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 850;
}

.tradingConditions__item strong {
  display: block;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -.05em;
  word-break: break-word;
}

.feature-section {
  padding: 82px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(201, 237, 141, .22), transparent 20rem),
    linear-gradient(135deg, #111b3f, #273067 56%, #111b3f);
}

.section-heading.light p:not(.eyebrow),
.section-heading.light h2 {
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.accent {
  background: linear-gradient(135deg, var(--green), #83cb55);
  color: #fff;
}

.feature-card span,
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-weight: 950;
}

.feature-card h3,
.step-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.feature-card p,
.step-card p {
  margin: 0;
  line-height: 1.75;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 250px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .06);
}

.step-card span {
  color: #fff;
  background: var(--green);
}

.profile-share-section {
  background: var(--soft);
}

.profile-share-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

.profile-card,
.share-card,
.chart-card {
  padding: 26px;
}

.profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.profile-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.profile-card p {
  color: var(--muted);
  line-height: 1.75;
}

.stamp {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 5px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 950;
  text-align: center;
  transform: rotate(-10deg);
  letter-spacing: .08em;
}

textarea {
  min-height: 126px;
  resize: vertical;
  line-height: 1.65;
}

.share-card button {
  margin-top: 14px;
}

.chart-card {
  background: #fff;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 250px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
  min-width: 0;
  height: 100%;
}

.bar-fill {
  min-height: 8px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #83cb55, var(--green));
}

.bar-label,
.bar-value {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(8px);
}

.loading-overlay.is-active {
  display: grid;
}

.loading-modal {
  position: relative;
  overflow: hidden;
  width: min(520px, 94vw);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .30);
}

.loading-modal::before {
  content: "JOKE ONLY";
  position: absolute;
  right: -20px;
  bottom: 30px;
  transform: rotate(-12deg);
  color: rgba(0, 0, 0, .05);
  font-size: 76px;
  font-weight: 950;
  pointer-events: none;
}

.loading-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.loading-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(32, 163, 58, .48);
  animation: pulse 1s ease-in-out infinite;
}

.loading-ring {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 24px auto 18px;
  border-radius: 50%;
  background: conic-gradient(var(--green), var(--lime), var(--sky), var(--green));
  animation: rotate 1.2s linear infinite;
}

.loading-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.loading-ring span {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 28px;
  font-weight: 950;
  animation: counter-rotate 1.2s linear infinite;
}

.progress-track {
  position: relative;
  z-index: 1;
  height: 12px;
  border-radius: 999px;
  background: #edf0f2;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transition: width .18s ease;
}

.loading-log {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-height: 160px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.loading-log li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: #333b45;
  font-size: 13px;
}

.loading-disclaimer {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.65;
}

footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(.9);
    opacity: .7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counter-rotate {
  to {
    transform: rotate(-360deg);
  }
}

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

  .hero-grid,
  .app-grid,
  .profile-share-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .promo-card {
    left: 50%;
    right: auto;
    top: 8px;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
  }

  .mini-a {
    left: 0;
    top: 34px;
  }

  .mini-b {
    right: 0;
    bottom: 12px;
  }

  .tradingConditions__wrapper,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: auto;
  }

  .tradingConditions__item,
  .tradingConditions__item:nth-child(3n),
  .tradingConditions__item:nth-child(n+4) {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .tradingConditions__item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 560px) {
  .top-warning {
    font-size: 12px;
  }

  .site-header {
    top: 36px;
  }

  .heroHeader {
    padding: 58px 0 70px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .dashboard-section,
  .feature-section,
  .steps-section,
  .profile-share-section,
  .chart-section,
  .faq-section {
    padding: 56px 0;
  }

  .result-panel {
    min-height: 330px;
    padding: 24px;
  }

  .mega-number {
    font-size: 50px;
  }

  .profile-card {
    align-items: flex-start;
  }

  .stamp {
    width: 88px;
    height: 88px;
    font-size: 13px;
  }

  .bar-chart {
    gap: 6px;
    padding: 12px;
  }
}



/* === Rich LP upgrade === */
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(32, 163, 58, .10), transparent 28rem),
    radial-gradient(circle at 92% 28%, rgba(215, 233, 245, .86), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 48%, #f5f8f6 100%);
}

.top-warning {
  background: rgba(17, 17, 17, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.top-warning span {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: var(--lime);
  letter-spacing: .08em;
}

.site-header {
  background: rgba(255, 255, 255, .74);
  border-bottom: 1px solid rgba(255, 255, 255, .70);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo-mark {
  border-radius: 16px;
  background: linear-gradient(135deg, #84d95f, var(--green));
  box-shadow: 0 14px 26px rgba(32, 163, 58, .24);
}

.header-nav a {
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.heroHeader {
  padding: 92px 0 104px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .65;
  pointer-events: none;
}

.orb-a {
  width: 260px;
  height: 260px;
  right: 13%;
  top: 70px;
  background: radial-gradient(circle, rgba(132, 217, 95, .28), transparent 68%);
  animation: floatOrb 7s ease-in-out infinite;
}

.orb-b {
  width: 180px;
  height: 180px;
  left: 4%;
  bottom: 22px;
  background: radial-gradient(circle, rgba(115, 150, 210, .20), transparent 70%);
  animation: floatOrb 8.5s ease-in-out infinite reverse;
}

.hero-copy h1 {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -.075em;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-trust span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(255, 255, 255, .74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  color: #39414d;
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.primary-link,
button {
  background: linear-gradient(135deg, #7ed95b, var(--green));
  box-shadow:
    0 12px 22px rgba(32, 163, 58, .18),
    0 24px 52px rgba(32, 163, 58, .18);
}

.primary-link:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 22px rgba(32, 163, 58, .22),
    0 28px 60px rgba(32, 163, 58, .24);
}

.secondary-link:hover,
button.ghost:hover {
  background: #f8fbf8;
  transform: translateY(-2px);
}

.promo-card {
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(32, 163, 58, .18),
    0 34px 70px rgba(32, 163, 58, .28),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: promoFloat 5.6s ease-in-out infinite;
}

.promo-card .shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, .36) 48%, transparent 58%);
  transform: translateX(-60%) rotate(10deg);
  animation: shineSweep 4.2s ease-in-out infinite;
}

.glass-card,
.floating-mini {
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .06),
    0 22px 54px rgba(0, 0, 0, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mini-c {
  left: 44px;
  bottom: 28px;
}

.ticker-strip {
  overflow: hidden;
  padding: 16px 0;
  background: #111827;
  color: #d7f8de;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
}

.rich-card,
.control-panel,
.result-panel,
.profile-card,
.share-card,
.chart-card,
.step-card,
details {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, .05),
    0 10px 15px -3px rgba(0, 0, 0, .05),
    0 20px 25px -5px rgba(0, 0, 0, .02);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.rich-card {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .72);
}

.rich-card:hover,
.step-card:hover,
.feature-card:hover,
.tradingConditions__item:hover,
details:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, .08),
    0 25px 30px -5px rgba(0, 0, 0, .04),
    0 38px 70px -26px rgba(32, 163, 58, .28);
}

.panel-topline,
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline h3 {
  margin: 0;
}

.panel-topline span,
.result-header span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .10em;
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 4px;
}

.preset-chip {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3f8f4;
  color: #1d4b2a;
  border: 1px solid rgba(32, 163, 58, .16);
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
}

.preset-chip:hover {
  background: var(--green-soft);
  transform: translateY(-1px);
  box-shadow: none;
}

.result-panel {
  background:
    radial-gradient(circle at 90% 12%, rgba(32, 163, 58, .16), transparent 18rem),
    radial-gradient(circle at 10% 95%, rgba(215, 233, 245, .72), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(245, 250, 246, .92));
}

.result-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(135deg, transparent, black 28%, black 70%, transparent);
  pointer-events: none;
}

.mega-number,
.tradingConditions__item strong,
#heroMiniAmount,
.floating-mini strong,
.result-mini-grid strong,
.bar-value {
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: -.035em;
}

.result-mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.result-mini-grid div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(255, 255, 255, .70);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .05);
}

.result-mini-grid span,
.result-mini-grid strong {
  display: block;
}

.result-mini-grid span {
  color: var(--muted2);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}

.result-mini-grid strong {
  margin-top: 4px;
  font-size: 26px;
}

.tradingConditions__wrapper {
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .04),
    0 28px 70px rgba(0, 0, 0, .06);
}

.tradingConditions__item {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.tradingConditions__item::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(32, 163, 58, .08);
  transform: scale(.72);
  transition: transform .3s ease, opacity .3s ease;
}

.tradingConditions__item:hover {
  z-index: 1;
  background: #fbfefb;
}

.tradingConditions__item:hover::after {
  transform: scale(1.05);
}

.feature-section {
  position: relative;
  overflow: hidden;
}

.feature-section::before {
  content: "SIMULATION ONLY";
  position: absolute;
  right: -8vw;
  top: 8%;
  transform: rotate(-12deg);
  color: rgba(255, 255, 255, .035);
  font-size: clamp(72px, 12vw, 170px);
  font-weight: 950;
  white-space: nowrap;
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(201, 237, 141, .12);
}

.feature-card:hover {
  background: rgba(255, 255, 255, .15);
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -46px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 163, 58, .13), transparent 70%);
}

.stamp {
  box-shadow: 0 14px 30px rgba(32, 163, 58, .16);
  background: rgba(255, 255, 255, .72);
}

.bar-fill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #9ae875, var(--green));
  box-shadow: 0 12px 22px rgba(32, 163, 58, .16);
}

.bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.36), transparent 55%);
}

.loading-modal {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .14),
    0 34px 90px rgba(0, 0, 0, .24);
}

.loading-duration-hint {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .68s ease, transform .68s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.count-pop {
  animation: countPop .42s ease;
}

@keyframes countPop {
  0% {
    transform: scale(.985);
    filter: blur(1px);
  }
  100% {
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes promoFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes shineSweep {
  0%, 55% {
    transform: translateX(-70%) rotate(10deg);
  }
  100% {
    transform: translateX(72%) rotate(10deg);
  }
}

@keyframes ticker {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (max-width: 980px) {
  .mini-c {
    left: 26px;
    bottom: 0;
  }

  .result-mini-grid,
  .preset-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}


/* === Realistic loading estimate upgrade === */
.loading-estimate {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(32, 163, 58, .08);
  border: 1px solid rgba(32, 163, 58, .16);
}

.loading-estimate p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 800;
  text-align: left;
}

#realisticTimeHint {
  color: #333b45;
}

.loading-disclaimer {
  margin-top: 12px;
}


/* === Longer loading mode note === */
.loading-modal {
  max-height: min(92vh, 760px);
}

.loading-log {
  max-height: 190px;
}


/* === Serious process monitor style for loading overlay === */
.loading-header h2 {
  margin: 0;
  font-family: Montserrat, Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.loading-header .small {
  color: #16842c;
}

.loading-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 0;
}

.loading-stats-grid div {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 249, 247, .86));
  border: 1px solid rgba(0, 0, 0, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.loading-stats-grid span,
.loading-stats-grid strong {
  display: block;
}

.loading-stats-grid span {
  color: #6b7280;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.loading-stats-grid strong {
  margin-top: 4px;
  color: #111827;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.process-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.process-log li {
  display: grid;
  grid-template-columns: 92px 70px 1fr;
  gap: 8px;
  align-items: start;
  background: #0f172a;
  border-color: rgba(255, 255, 255, .08);
  color: #d8f6df;
  font-size: 12px;
  line-height: 1.45;
}

.process-log .log-time {
  color: #93c5fd;
  font-weight: 800;
}

.process-log .log-code {
  color: #86efac;
  font-weight: 950;
}

.process-log .log-body {
  color: #e5e7eb;
}

@media (max-width: 560px) {
  .loading-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-log li {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
