/* Monero-Chan ($MONEROCHAN) — Robinhood Chain */

:root {
  --orange: #ff6600;
  --orange-hot: #ff8533;
  --orange-deep: #c44e00;
  --green: #00c805;
  --bg: #0b0705;
  --bg-2: #140c08;
  --ink: #fff4ea;
  --muted: #c4a994;
  --line: rgba(255, 102, 0, 0.18);
  --paper: rgba(255, 244, 234, 0.04);
  --radius: 18px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Dela Gothic One", "Sora", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 8px 12px;
  background: var(--orange);
  color: #1a0a00;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -80px;
  left: -80px;
  background: rgba(255, 102, 0, 0.22);
}

.orb-b {
  width: 360px;
  height: 360px;
  top: 20%;
  right: -120px;
  background: rgba(255, 102, 0, 0.12);
}

.orb-c {
  width: 280px;
  height: 280px;
  bottom: 8%;
  left: 30%;
  background: rgba(0, 200, 5, 0.06);
}

.wrap {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 7, 5, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand b {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.82;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
  color: var(--orange-hot);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: #1a0a00;
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.28);
}

.btn-orange:hover {
  background: var(--orange-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-hot);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
  margin-top: 0.7rem;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #120a06;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  padding: 0.7rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  animation: marquee 36s linear infinite;
}

.ticker-track .up {
  color: var(--green);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #1a0a00;
}

.banner-img {
  width: 100%;
  height: clamp(180px, 38vw, 460px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(0, 200, 5, 0);
  }
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.kana {
  font-family: var(--display);
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0 1.2rem;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}

.ca-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca,
.mono {
  font-family: var(--mono);
  font-size: 0.88rem;
  word-break: break-all;
}

.copy-btn {
  border: 0;
  background: var(--orange);
  color: #1a0a00;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  cursor: pointer;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  width: min(420px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 102, 0, 0.45);
  animation: spin 28s linear infinite;
}

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

.logo-frame {
  width: min(340px, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow:
    0 0 0 12px rgba(255, 102, 0, 0.12),
    0 30px 80px rgba(255, 102, 0, 0.28);
  background: #ff6600;
}

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

.hero-caption {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-bottom: 3.5rem;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.stat span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.stat strong {
  font-size: 1.05rem;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.55rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.chart-section,
.about,
.buy {
  padding: 1.5rem 0 4.5rem;
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.chart-shell {
  position: relative;
  width: 100%;
  height: 640px;
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #100804;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  .chart-shell {
    height: 760px;
  }
}

.chart-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.chart-external {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 500;
}

.chart-external:hover {
  color: var(--orange-hot);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.receipt {
  margin-top: 1.6rem;
  border: 1px dashed rgba(255, 102, 0, 0.35);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  background: rgba(255, 102, 0, 0.04);
}

.receipt-header {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.receipt dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.receipt dl > div:last-child {
  border-bottom: 0;
}

.receipt dt {
  color: var(--muted);
}

.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.steps li > span {
  font-family: var(--display);
  color: var(--orange);
  font-size: 1.1rem;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--muted);
}

.steps code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--ink);
}

.contract {
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.12), transparent);
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}

.contract-inner h2 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  word-break: break-all;
}

.contract-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--orange);
  color: #1a0a00;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 900px) {
  .hero,
  .stats,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .logo-frame {
    width: min(260px, 70%);
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 7, 5, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 4vw 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.2rem;
    opacity: 1;
  }

  .ca-row {
    width: 100%;
  }
}
