:root {
  --bg: #f4f0e3;
  --ink: #101214;
  --blue: #3f7fff;
  --yellow: #ffcb2f;
  --red: #ff4f39;
  --line: #101214;
  --max: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

.hero,
.ticker,
.how,
.proof,
.faq,
.foot {
  padding-left: 20px;
  padding-right: 20px;
}

.nav,
.hero__grid,
.how,
.proof,
.faq,
.foot p {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.nav {
  margin-top: 0;
  padding: 12px 14px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--max);
  z-index: 1000;
}

.brand {
  font-family: "Bangers", "Inter", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.brand span {
  color: var(--red);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav__actions a,
.btn {
  min-height: 44px;
}

.hero__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.hero {
  padding-top: 92px;
}

.hero__main,
.hero__visual {
  border: 3px solid var(--line);
  border-radius: 26px;
  background: #fff;
  padding: 22px;
  position: relative;
}

.hero__main {
  align-self: start;
  height: fit-content;
}

.hero__visual {
  align-self: start;
}

.pill {
  display: inline-flex;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff3cc;
}

h1 {
  margin: 14px 0 0;
  font-family: "Bangers", "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

h1 span {
  color: var(--blue);
  display: block;
}

.lead {
  margin-top: 16px;
  max-width: 52ch;
  font-weight: 700;
  margin-bottom: 0;
}

.hero__metrics {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jackpot-box {
  margin-top: 0;
  border: 3px dashed var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: #fff6db;
}

.jackpot-box__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
}

.jackpot-box strong {
  display: block;
  font-family: "Bangers", "Inter", sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  line-height: 0.9;
  margin: 6px 0;
}

.jackpot-box span {
  font-weight: 700;
}

.drop-timer {
  margin-top: 0;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #e8f2ff;
  padding: 9px 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.drop-timer p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
}

.drop-timer strong {
  font-family: "Bangers", "Inter", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--blue);
}

.luck-meter {
  margin-top: 0;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 9px 11px;
}

.luck-meter__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.luck-meter__head p,
.luck-meter__head span {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.luck-meter__head span {
  color: var(--red);
}

.luck-meter__track {
  margin-top: 7px;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #f4f0e3;
  overflow: hidden;
}

.luck-meter__fill {
  display: block;
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, #ffcb2f 0%, #ff4f39 100%);
  transition: width 0.3s ease;
}

.hero__cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  transition: transform 0.15s ease;
}

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

.btn--primary {
  background: var(--yellow);
  box-shadow: 0 5px 0 #b98f13;
}

.hero__cta .btn--primary {
  padding: 18px 36px;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
  min-width: min(100%, 420px);
}

.hero__cta .btn--primary:hover {
  transform: translateY(-2px) rotate(-0.6deg) scale(1.02);
}

.btn--ghost {
  background: #fff;
}

.btn--small {
  padding: 8px 13px;
  font-size: 0.78rem;
}

.hero__visual img {
  border: 3px solid var(--line);
  border-radius: 18px;
}

.visual-panel {
  margin-top: 10px;
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, #101b2d 0%, #0c1524 100%);
  color: #dbe9ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.visual-panel__title {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8fa4c6;
}

.chart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chart-panel__badge {
  border: 1px solid #2c4772;
  border-radius: 999px;
  padding: 5px 11px;
  background: #102844;
  color: #dff1ff;
  font-size: 0.74rem;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.chart-panel__badge.is-up {
  background: #123a2f;
  border-color: #246c58;
  color: #9df3cd;
}

.chart-panel__badge.is-down {
  background: #3b1d2a;
  border-color: #7a364f;
  color: #ffb9c8;
}

.chart-panel__toolbar {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chart-panel__symbol {
  font-size: 0.78rem;
  color: #d7e6ff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.chart-panel__tfs {
  display: inline-flex;
  gap: 4px;
}

.chart-panel__tf {
  border: 1px solid #2b4365;
  background: #13233a;
  color: #97b7e5;
  border-radius: 7px;
  padding: 3px 7px;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.chart-panel__tf.is-active {
  background: #3a6caf;
  color: #fff;
  border-color: #5b88c2;
}

.chart-panel__ohlc {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 0.66rem;
  color: #88a4cd;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  border: 1px solid #243a59;
  border-radius: 9px;
  padding: 6px 8px;
  background: #0f1d31;
}

.chart-panel__ohlc strong {
  color: #edf4ff;
  font-weight: 700;
}

.chart-panel__svg {
  margin-top: 10px;
  width: 100%;
  height: auto;
  border: 1px solid #294262;
  border-radius: 10px;
  background: #0d1727;
}

.chart-panel__bg {
  fill: #0d1727;
}

.chart-panel__grid-line {
  stroke: rgba(157, 181, 217, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.chart-panel__grid-line--v {
  stroke-dasharray: 2 6;
}

.chart-panel__candle-wick {
  stroke-width: 1.6;
}

.chart-panel__candle-body {
  stroke: #101214;
  stroke-width: 1.1;
}

.chart-panel__candle--up .chart-panel__candle-wick,
.chart-panel__candle--up .chart-panel__candle-body {
  stroke: #2cd67d;
}

.chart-panel__candle--up .chart-panel__candle-body {
  fill: #2cd67d;
}

.chart-panel__candle--down .chart-panel__candle-wick,
.chart-panel__candle--down .chart-panel__candle-body {
  stroke: #ff5e6b;
}

.chart-panel__candle--down .chart-panel__candle-body {
  fill: #ff5e6b;
}

.chart-panel__volume {
  fill: rgba(121, 162, 224, 0.3);
}

.chart-panel__ma {
  fill: none;
  stroke: #8ec2ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.chart-panel__price-line {
  stroke: #f5b342;
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.chart-panel__price-label {
  font-size: 8.5px;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  fill: #f5b342;
  text-anchor: end;
}

.chart-panel__axis-label {
  font-size: 8.5px;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 400;
  fill: rgba(176, 199, 232, 0.65);
}

.chart-panel__stats {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chart-panel__stats span {
  border: 1px solid #304b70;
  border-radius: 999px;
  padding: 4px 9px;
  background: #13243a;
  font-size: 0.67rem;
  color: #a7bfe2;
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
}

.chart-panel__stats strong {
  color: #e8f1ff;
}

.visual-panel__cta {
  margin-top: 11px;
  width: 100%;
  border-color: #3e5f8f;
  background: linear-gradient(180deg, #234167 0%, #1c3557 100%);
  color: #eaf3ff;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.sticker {
  position: absolute;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: "Bangers", "Inter", sans-serif;
  font-size: 1.2rem;
  background: #fff;
  z-index: 2;
}

.sticker--spin {
  top: -12px;
  left: -10px;
  background: #ffd2ca;
  animation: spin 4.5s linear infinite;
}

.sticker--shake {
  right: -8px;
  bottom: 12px;
  background: #d8ecff;
  animation: shake 1.4s ease-in-out infinite;
}

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

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-3px);
  }
  60% {
    transform: translateX(3px);
  }
}

.ticker {
  margin-top: 18px;
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: var(--blue);
  overflow: hidden;
}

.ticker__row {
  white-space: nowrap;
  display: inline-block;
  animation: marq 15s linear infinite;
}

.ticker__row p {
  margin: 10px 0;
  color: #fff;
  font-family: "Bangers", "Inter", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.activity {
  padding: 10px 20px 0;
}

.activity__inner {
  max-width: var(--max);
  margin: 0 auto;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity__label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.activity__feed {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.activity__feed span {
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff6db;
  padding: 5px 9px;
  font-size: 0.73rem;
  font-weight: 800;
  animation: flashTag 1.8s ease-in-out infinite;
}

.activity__feed span:nth-child(2) {
  animation-delay: 0.4s;
}

.activity__feed span:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes flashTag {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

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

.how,
.proof,
.faq {
  margin-top: 64px;
}

h2 {
  margin: 0 0 16px;
  font-family: "Bangers", "Inter", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
}

.how__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.how__cards article,
.proof__left,
.proof__right,
details {
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.how__cards article {
  padding: 16px;
}

.how__cards span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  font-family: "Bangers", "Inter", sans-serif;
  font-size: 1.2rem;
  background: #ffe9a8;
}

h3 {
  margin: 10px 0 6px;
  font-size: 1.08rem;
}

.how__cards p,
.proof ul,
.quote,
details p {
  margin: 0;
  font-weight: 700;
}

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.proof__left,
.proof__right {
  padding: 16px;
}

.proof ul {
  padding-left: 18px;
  line-height: 1.5;
}

.proof .btn {
  margin-top: 12px;
}

.proof__right {
  display: grid;
  gap: 8px;
  background: #fff7de;
}

.quote {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 10px 11px;
}

.faq {
  margin-bottom: 90px;
}

details {
  padding: 14px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.84rem;
}

details p {
  margin-top: 10px;
}

.sticky {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 520px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.sticky.show {
  opacity: 1;
  visibility: visible;
}

.sticky p {
  margin: 0;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.foot {
  border-top: 3px solid var(--line);
  padding-top: 16px;
  padding-bottom: 84px;
}

.foot p {
  margin: 0;
  text-align: center;
  font-weight: 800;
}

.foot__links {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.foot__links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 980px) {
  .hero__grid,
  .how__cards,
  .proof {
    grid-template-columns: 1fr;
  }

  .hero__cta .btn--primary {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }

  .hero__main,
  .hero__visual {
    padding: 18px;
  }

  .chart-panel__stats span {
    font-size: 0.64rem;
  }

  .nav {
    border-radius: 12px;
    padding: 10px 12px;
    width: calc(100% - 28px);
  }

  .nav__actions a:not(.btn) {
    display: none;
  }

  .nav__actions .btn {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 0.76rem;
  }

  .activity__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .hero,
  .ticker,
  .how,
  .proof,
  .faq,
  .foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero__grid {
    margin-top: 14px;
    gap: 12px;
  }

  .pill {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  h1 {
    margin-top: 10px;
    font-size: clamp(2rem, 12vw, 3.1rem);
    line-height: 0.92;
  }

  .lead {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .hero__metrics {
    margin-top: 14px;
    gap: 8px;
  }

  .jackpot-box strong {
    font-size: clamp(1.9rem, 12vw, 2.8rem);
  }

  .drop-timer strong {
    font-size: 1.45rem;
  }

  .hero__cta {
    margin-top: 14px;
    gap: 8px;
  }

  .hero__cta .btn--primary {
    width: 100%;
    font-size: 1.03rem;
    padding: 15px 16px;
    min-height: 52px;
  }

  .sticker {
    font-size: 1rem;
    padding: 5px 10px;
  }

  .chart-panel__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-panel__tfs {
    width: 100%;
    justify-content: space-between;
  }

  .chart-panel__tf {
    min-height: 30px;
    min-width: 40px;
  }

  .chart-panel__svg {
    border-radius: 8px;
  }

  .ticker__row p {
    font-size: 1.1rem;
    margin: 8px 0;
  }

  h2 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    margin-bottom: 12px;
  }

  .how,
  .proof,
  .faq {
    margin-top: 40px;
  }

  .how__cards article,
  .proof__left,
  .proof__right,
  details {
    padding: 13px;
  }

  .sticky {
    width: calc(100% - 16px);
    padding: 8px;
    gap: 6px;
  }

  .sticky p {
    font-size: 0.74rem;
  }

  .sticky .btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 1.7rem;
  }

  .nav {
    top: max(8px, env(safe-area-inset-top));
  }

  .nav__actions .btn {
    padding: 7px 10px;
    font-size: 0.7rem;
    min-height: 38px;
  }

  .hero__main,
  .hero__visual {
    border-radius: 18px;
    padding: 14px;
  }

  .jackpot-box,
  .drop-timer,
  .luck-meter {
    border-radius: 12px;
  }

  .activity__feed span {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
