:root {
  --bg: #0d0610;
  --panel: rgba(26, 12, 24, 0.86);
  --panel-solid: #1a0c18;
  --line: rgba(255, 120, 150, 0.16);
  --line-strong: rgba(255, 90, 110, 0.4);
  --text: #fbeef2;
  --muted: #b99aa6;
  --red: #ff2d46;
  --red-deep: #c4061e;
  --pink: #ff5fa2;
  --good: #3ef0a1;
  --bad: #ff6b81;
  --display: "Rubik Mono One", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

kbd {
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.85em;
}

.df-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(13, 6, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.df-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.df-nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
}

.df-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.df-nav a:hover,
.df-nav a:focus-visible {
  color: var(--text);
}

.df-clock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.df-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: df-pulse 1.6s ease-in-out infinite;
}

@keyframes df-pulse {
  50% {
    opacity: 0.35;
  }
}

.df-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(92vh, 900px);
  overflow: hidden;
  text-align: center;
}

.df-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 46%, rgba(13, 6, 16, 0.72), rgba(13, 6, 16, 0.15) 70%),
    linear-gradient(180deg, rgba(13, 6, 16, 0.35), rgba(13, 6, 16, 0) 30%, rgba(13, 6, 16, 0) 70%, var(--bg)),
    url("assets/hero.jpg") center / cover no-repeat;
}

.df-hero-inner {
  position: relative;
  max-width: 920px;
  padding: 64px 20px 80px;
}

.df-hero-logo {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 28px rgba(255, 45, 70, 0.55));
  animation: df-float 5s ease-in-out infinite;
}

@keyframes df-float {
  50% {
    transform: translateY(-10px) rotate(-4deg);
  }
}

.df-kicker {
  margin: 18px 0 10px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.df-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 7.4vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

.df-hero h1 em {
  background: linear-gradient(90deg, #ff9aa8, var(--red) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.df-lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: #f2dde4;
  font-size: 16px;
}

.df-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.df-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #16070b;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.df-btn:hover,
.df-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 45, 70, 0.35);
}

.df-btn-red {
  border-color: transparent;
  background: linear-gradient(135deg, #ff5a6b, var(--red-deep));
  color: #fff;
}

.df-btn-ghost {
  background: rgba(13, 6, 16, 0.55);
  color: var(--text);
}

.df-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px clamp(16px, 4vw, 40px) 24px;
}

.df-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: 26px;
}

.df-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
}

.df-head .df-kicker {
  margin-top: 0;
}

.df-sub {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.df-term {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.df-list-wrap,
.df-detail {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.df-list-wrap {
  overflow: hidden;
}

.df-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.df-tabs {
  display: flex;
  gap: 6px;
}

.df-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.df-tabs button[aria-selected="true"] {
  border-color: transparent;
  background: var(--red);
  color: #fff;
}

.df-search {
  flex: 1 1 220px;
  max-width: 320px;
}

.df-search input {
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}

.df-search input:focus {
  border-color: var(--red);
  outline: none;
}

.df-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 2.2fr) minmax(0, 1fr) 72px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 16px;
}

.df-row-head {
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.df-list {
  max-height: 620px;
  overflow-y: auto;
}

.df-coin {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.df-coin:hover {
  background: rgba(255, 45, 70, 0.06);
}

.df-coin[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(255, 45, 70, 0.22), rgba(255, 45, 70, 0.04));
  box-shadow: inset 3px 0 0 var(--red);
}

.df-coin:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.df-rank {
  color: var(--muted);
  font-size: 12px;
}

.df-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.df-name img,
.df-name .df-ph {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a1424;
}

.df-name > span {
  min-width: 0;
}

.df-name b,
.df-name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-name small {
  color: var(--muted);
  font-size: 11px;
}

.up {
  color: var(--good);
}

.down {
  color: var(--bad);
}

.df-empty,
.df-status {
  margin: 0;
  padding: 18px 16px;
  color: var(--muted);
  font-size: 12px;
}

.df-status:empty {
  display: none;
}

.df-detail {
  position: sticky;
  top: 86px;
  min-height: 420px;
  padding: 18px;
}

.df-detail-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 380px;
  color: var(--muted);
  text-align: center;
}

.df-detail-empty img {
  opacity: 0.8;
}

.df-dhead {
  display: flex;
  align-items: center;
  gap: 14px;
}

.df-dhead img,
.df-dhead .df-ph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #2a1424;
}

.df-dhead h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.df-dhead p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.df-close {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 12px;
}

.df-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.df-stats div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.df-stats span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.df-stats b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.df-chart {
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #000;
}

.df-chart iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.df-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.df-links a,
.df-links button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 32px;
  text-decoration: none;
}

.df-trade {
  width: 100%;
}

.df-swap {
  min-height: 0;
  margin-top: 12px;
  border-radius: 18px;
  overflow: hidden;
}

.df-swap:not(:empty) {
  min-height: 440px;
}

.df-video {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #000;
  box-shadow: 0 30px 80px rgba(196, 6, 30, 0.25);
}

.df-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.df-shot {
  margin: 0;
}

.df-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.df-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.df-phones li {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.df-phone {
  width: 100%;
  max-width: 240px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  background: linear-gradient(160deg, #2c1a25, #070306);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px #000;
}

.df-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 844;
  border-radius: 30px;
  object-fit: cover;
  object-position: top;
}

.df-phones b {
  font-size: 15px;
}

.df-phones span {
  max-width: 240px;
  color: var(--muted);
  font-size: 13px;
}

.df-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  pointer-events: none;
  text-transform: uppercase;
}

.df-badge-green {
  background: #10a463;
}

.df-howto {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.df-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.df-steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  counter-increment: step;
}

.df-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--red);
  font-family: var(--display);
  font-size: 18px;
}

.df-steps b {
  display: block;
  font-size: 15px;
}

.df-steps span {
  color: var(--muted);
  font-size: 13px;
}

.df-code {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.df-code p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.df-code pre {
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #000;
  color: #ffd0d8;
  font-size: 13px;
}

.df-faq {
  display: grid;
  gap: 10px;
}

.df-faq details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.df-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.df-faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.df-foot {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 26px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.df-foot p {
  margin: 0;
}

.df-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 40;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel-solid);
  font-size: 13px;
  transform: translateX(-50%);
}

body.has-pad .df-coin[aria-selected="true"] {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

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

  .df-brand {
    margin-right: auto;
  }

  .df-term,
  .df-howto {
    grid-template-columns: 1fr;
  }

  .df-detail {
    position: static;
    min-height: 0;
  }

  .df-detail-empty {
    min-height: 160px;
  }

  .df-phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .df-phones {
    gap: 14px;
  }

  .df-phone {
    padding: 5px;
    border-radius: 26px;
  }

  .df-phone img {
    border-radius: 21px;
  }

  .df-phones span {
    font-size: 12px;
  }

  .df-top {
    gap: 10px;
    padding: 12px 14px;
  }

  .df-brand span {
    font-size: 13px;
  }

  .df-clock {
    padding: 6px 10px;
    font-size: 10px;
  }

  .df-hero-logo {
    width: 110px;
    height: 110px;
  }

  .df-row {
    grid-template-columns: 18px minmax(0, 1.6fr) minmax(0, 1.25fr) 56px minmax(0, 0.9fr);
    gap: 6px;
    padding: 0 10px;
  }

  .df-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .df-name {
    gap: 7px;
  }

  .df-hide-sm {
    display: none;
  }

  .df-coin {
    font-size: 11px;
  }

  .df-name img,
  .df-name .df-ph {
    width: 28px;
    height: 28px;
  }

  .df-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .df-chart {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .df-hero-logo,
  .df-dot {
    animation: none;
  }
}
