@font-face {
  font-family: "Chippy Display";
  src: url("../assets/fonts/TitanOne-Latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chippy Text";
  src: url("../assets/fonts/Nunito-Latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --display: "Chippy Display", sans-serif;
  --body: "Chippy Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #f5fbf7;
  --muted: #a8bbc0;
  --navy: #05151f;
  --navy-2: #092735;
  --teal: #16c7c0;
  --teal-bright: #72f2e4;
  --gold: #ffbf3f;
  --gold-light: #ffe09a;
  --coral: #ff776d;
  --glass: rgba(5, 24, 33, 0.8);
  --glass-soft: rgba(8, 32, 43, 0.67);
  --stroke: rgba(164, 235, 226, 0.16);
  --shadow: 0 30px 80px rgba(0, 5, 10, 0.42);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --page: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.scene,
.scene__image,
.scene__veil {
  position: fixed;
  inset: 0;
}

.scene {
  z-index: -2;
  overflow: hidden;
  background: #061923;
}

.scene__image {
  background-image: url("assets/chippy-shop-background-opt-56b3cd68c252.webp");
  background-size: cover;
  background-position: center top;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.015);
}

.scene__veil {
  background:
    radial-gradient(circle at 50% 12%, rgba(13, 58, 72, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(2, 14, 21, 0.22) 0%, rgba(2, 15, 23, 0.58) 54%, #061923 88%, #061923 100%);
  backdrop-filter: blur(1px);
}

.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.35;
}

.bubble {
  position: absolute;
  bottom: -48px;
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(117, 244, 230, 0.38);
  border-radius: 50%;
  box-shadow: inset 2px 2px 6px rgba(255, 255, 255, 0.17);
  animation: bubble-rise var(--duration) linear var(--delay) infinite;
}

@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
  10% { opacity: 0.7; }
  55% { transform: translate3d(28px, -55vh, 0) scale(1); }
  100% { transform: translate3d(-16px, -115vh, 0) scale(1.15); opacity: 0; }
}

.swimming-fish {
  position: absolute;
  height: auto;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.45));
  opacity: 0.12;
}

.swimming-fish--one {
  width: 190px;
  top: 14%;
  left: -190px;
  animation: swim-across 31s linear infinite, fish-bob 3.8s ease-in-out infinite;
}

.swimming-fish--two {
  width: 125px;
  top: 58%;
  right: -160px;
  transform: scaleX(-1);
  animation: swim-back 40s linear 8s infinite, fish-bob 4.6s ease-in-out 0.7s infinite;
}

@keyframes swim-across {
  from { left: -210px; }
  to { left: calc(100vw + 220px); }
}

@keyframes swim-back {
  from { right: -170px; }
  to { right: calc(100vw + 180px); }
}

@keyframes fish-bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -18px; }
}

.prototype-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 18px;
  color: #b6ccc9;
  background: rgba(3, 16, 23, 0.94);
  border-bottom: 1px solid rgba(130, 235, 224, 0.1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.prototype-strip__dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 191, 63, 0.85);
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  line-height: 1;
}

.brand__mascot {
  width: 51px;
  height: 51px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 7px rgba(17, 207, 224, 0.23));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 9px 19px;
  color: #b8cacd;
  background: rgba(3, 20, 28, 0.45);
  border: 1px solid rgba(172, 236, 230, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
}

.desktop-nav a.active::after {
  position: absolute;
  right: 20%;
  bottom: -10px;
  left: 20%;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 99px;
  content: "";
}

.wallet-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  min-height: 43px;
  padding: 0 17px;
  color: #09212b;
  background: linear-gradient(135deg, #81f4e8, #25c9c3);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 201, 192, 0.22);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wallet-button:hover {
  box-shadow: 0 14px 36px rgba(18, 201, 192, 0.32);
  transform: translateY(-2px);
}

.wallet-button.is-connected {
  color: #e5fffb;
  background: rgba(11, 47, 57, 0.88);
  border: 1px solid rgba(114, 242, 228, 0.34);
}

.wallet-button__status {
  width: 8px;
  height: 8px;
  background: rgba(4, 43, 43, 0.35);
  border-radius: 50%;
}

.wallet-button.is-connected .wallet-button__status {
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal);
}

main {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(35px, 6vw, 86px);
  align-items: center;
  min-height: 620px;
  padding: 48px 0 82px;
}

.hero__copy {
  position: relative;
}

.hero-fish {
  position: absolute;
  z-index: 2;
  top: -38px;
  right: -24px;
  width: 118px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
  animation: hero-fish-bob 4s ease-in-out infinite;
}

@keyframes hero-fish-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.eyebrow,
.kicker {
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span:first-child {
  margin-right: 5px;
  color: var(--gold);
  text-shadow: 0 0 11px rgba(255, 191, 63, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 20px 0 20px;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-shadow: 0 12px 45px rgba(0, 0, 0, 0.4);
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero__lede {
  max-width: 485px;
  color: #c4d3d4;
  font-size: 18px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 53px;
  padding: 0 23px;
  color: #342000;
  background: linear-gradient(135deg, #ffe093, var(--gold));
  border: 1px solid #ffe7ad;
  border-radius: 15px;
  box-shadow: 0 13px 35px rgba(232, 157, 24, 0.27);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  box-shadow: 0 17px 42px rgba(232, 157, 24, 0.35);
  transform: translateY(-2px);
}

.primary-button:active,
.wallet-button:active {
  transform: translateY(0);
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.55);
  opacity: 0.55;
  transform: none;
}

.primary-button--wide {
  width: 100%;
}

.text-button {
  padding: 10px 0;
  color: #d9e9e8;
  background: transparent;
  border-bottom: 1px solid rgba(217, 233, 232, 0.5);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 45px;
  color: #96aaae;
  font-size: 12px;
  font-weight: 600;
}

.glass-card {
  background: linear-gradient(145deg, rgba(8, 38, 49, 0.84), rgba(4, 21, 30, 0.9));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(23px) saturate(1.2);
}

.pot-card {
  position: relative;
  padding: 29px 32px 28px;
  overflow: hidden;
}

.pot-card::before {
  position: absolute;
  top: -140px;
  right: -90px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(38, 216, 203, 0.18), transparent 67%);
  content: "";
  pointer-events: none;
}

.pot-card__topline,
.countdown-wrap__label,
.feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pot-card__topline > span:first-child {
  color: #b2c6c8;
  font-size: 14px;
  font-weight: 700;
}

.live-pill,
.pulse-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9feee5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-pill {
  padding: 6px 10px;
  background: rgba(33, 208, 195, 0.09);
  border: 1px solid rgba(95, 231, 220, 0.16);
  border-radius: 99px;
}

.live-pill i,
.pulse-label i {
  width: 7px;
  height: 7px;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(114, 242, 228, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(114, 242, 228, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(114, 242, 228, 0); }
  100% { box-shadow: 0 0 0 0 rgba(114, 242, 228, 0); }
}

.pot-card__amount {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-top: 20px;
}

.pot-card__amount strong {
  color: #fff;
  font-family: var(--body);
  font-size: clamp(49px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.pot-card__amount span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pot-card__fiat {
  margin-top: 8px;
  color: #718d92;
  font-size: 12px;
}

.countdown-wrap {
  margin-top: 30px;
  padding: 19px 20px 17px;
  background: rgba(0, 9, 14, 0.3);
  border: 1px solid rgba(149, 231, 223, 0.1);
  border-radius: 19px;
}

.countdown-wrap__label {
  color: #81999c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

#countdownLabel {
  color: var(--gold-light);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: start;
  justify-content: space-between;
  margin-top: 12px;
}

.countdown div {
  min-width: 48px;
  text-align: center;
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: var(--body);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  margin-top: 5px;
  color: #6f888c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown b {
  color: rgba(121, 230, 218, 0.35);
  font-family: var(--body);
  font-size: 23px;
  font-weight: 400;
}

.pot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.pot-stats div {
  padding: 0 18px;
  border-right: 1px solid rgba(173, 229, 222, 0.11);
}

.pot-stats div:first-child {
  padding-left: 0;
}

.pot-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.pot-stats span,
.pot-stats strong {
  display: block;
}

.pot-stats span {
  color: #789095;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pot-stats strong {
  margin-top: 6px;
  color: #e9f7f4;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
}

.dashboard-grid,
.details-grid {
  display: grid;
  gap: 22px;
}

.dashboard-grid {
  grid-template-columns: 0.93fr 1.07fr;
  scroll-margin-top: 30px;
}

.entry-card,
.activity-card,
.payout-card,
.integrity-card {
  padding: 29px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading--compact {
  margin-bottom: 21px;
}

.section-heading h2,
.integrity-card h2,
.section-intro h2 {
  margin: 5px 0 0;
  color: #f5fbf9;
  font-size: 27px;
  line-height: 1.05;
}

.ticket-price {
  color: var(--gold);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  text-align: right;
}

.ticket-price small {
  display: block;
  margin-top: 4px;
  color: #738c90;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.wallet-gate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px;
  background: rgba(8, 58, 68, 0.32);
  border: 1px solid rgba(91, 225, 211, 0.14);
  border-radius: 17px;
}

.wallet-gate.is-connected {
  background: rgba(17, 112, 102, 0.14);
}

.wallet-gate__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--teal-bright);
  background: rgba(43, 210, 196, 0.1);
  border: 1px solid rgba(114, 242, 228, 0.17);
  border-radius: 13px;
  font-size: 22px;
  font-weight: 800;
}

.wallet-gate strong,
.wallet-gate p {
  display: block;
}

.wallet-gate strong {
  font-size: 14px;
}

.wallet-gate p {
  margin: 3px 0 0;
  color: #89a0a3;
  font-size: 11px;
  line-height: 1.35;
}

.secondary-button {
  min-height: 37px;
  padding: 0 14px;
  color: #bff9f1;
  background: rgba(61, 218, 204, 0.08);
  border: 1px solid rgba(106, 239, 225, 0.25);
  border-radius: 11px;
}

.purchase-panel {
  margin-top: 22px;
  transition: opacity 180ms ease, filter 180ms ease;
}

.purchase-panel.is-locked {
  filter: grayscale(0.4);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.purchase-panel > label {
  display: block;
  margin-bottom: 9px;
  color: #a8bbbe;
  font-size: 12px;
  font-weight: 700;
}

.quantity-row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 9px;
}

.quantity-button,
.quick-quantities button {
  background: rgba(4, 15, 21, 0.43);
  border: 1px solid rgba(146, 218, 212, 0.12);
  cursor: pointer;
}

.quantity-button {
  border-radius: 14px;
  color: var(--teal-bright);
  font-size: 25px;
}

.quantity-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  background: rgba(1, 12, 18, 0.58);
  border: 1px solid rgba(158, 231, 224, 0.14);
  border-radius: 14px;
}

.quantity-display input {
  width: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--body);
  font-size: 23px;
  font-weight: 500;
  text-align: right;
  appearance: textfield;
}

.quantity-display input::-webkit-outer-spin-button,
.quantity-display input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-display span {
  color: #7f979a;
  font-size: 12px;
}

.quick-quantities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 9px;
}

.quick-quantities button {
  min-height: 33px;
  color: #8da5a7;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.quick-quantities button:hover,
.quick-quantities button.is-active {
  color: #0c3037;
  background: var(--teal-bright);
}

.entry-summary {
  margin: 20px 0;
  padding: 13px 16px;
  background: rgba(2, 14, 20, 0.32);
  border-radius: 13px;
}

.entry-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.entry-summary span {
  color: #7f9699;
  font-size: 12px;
}

.entry-summary strong {
  color: #dff9f5;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
}

.microcopy {
  margin: 10px 0 0;
  color: #687f84;
  font-size: 10px;
  text-align: center;
}

.purchase-feed {
  display: flex;
  flex-direction: column;
  min-height: 315px;
}

.feed-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(162, 221, 214, 0.08);
  animation: feed-enter 300ms ease both;
}

@keyframes feed-enter {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-row__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #4a2d00;
  background: linear-gradient(145deg, #ffe29a, #f1a71e);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.feed-row__main {
  min-width: 0;
}

.feed-row__main strong,
.feed-row__main span {
  display: block;
}

.feed-row__main strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-row__main span {
  margin-top: 2px;
  color: #70888c;
  font-size: 10px;
}

.feed-row__value {
  text-align: right;
}

.feed-row__value strong,
.feed-row__value span {
  display: block;
}

.feed-row__value strong {
  color: var(--gold-light);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
}

.feed-row__value span {
  margin-top: 2px;
  color: #62d9cd;
  font-size: 9px;
  font-weight: 700;
}

.feed-footer {
  margin-top: 13px;
  color: #647b80;
  font-size: 10px;
}

.feed-footer button,
footer button {
  padding: 0;
  color: #93b3b4;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(147, 179, 180, 0.35);
  cursor: pointer;
  font-size: 10px;
}

.details-grid {
  grid-template-columns: 0.78fr 1.22fr;
  margin-top: 22px;
}

.split-bar {
  display: flex;
  height: 11px;
  margin: 11px 0 17px;
  overflow: hidden;
  background: #07161e;
  border-radius: 99px;
}

.split-bar span {
  background: linear-gradient(90deg, #24cbbf, #75eee1);
}

.split-bar i {
  background: var(--gold);
}

.split-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.split-legend div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: #899fa2;
  font-size: 11px;
}

.split-legend strong {
  color: #e9f6f4;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot--winner { background: var(--teal-bright); }
.legend-dot--reserve { background: var(--gold); }

.payout-card > p,
.integrity-card > p {
  margin: 20px 0 0;
  color: #779094;
  font-size: 11px;
  line-height: 1.5;
}

.integrity-card__header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: #072b2e;
  background: var(--teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(114, 242, 228, 0.07);
  font-size: 21px;
  font-weight: 800;
}

.hash-box {
  margin-top: 19px;
  padding: 13px 15px;
  background: rgba(2, 13, 19, 0.48);
  border: 1px solid rgba(157, 225, 217, 0.08);
  border-radius: 13px;
}

.hash-box span {
  display: block;
  margin-bottom: 5px;
  color: #617b80;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hash-box code,
.receipt code {
  display: block;
  overflow: hidden;
  color: #9be8df;
  font-family: var(--body);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.how-section,
.past-section {
  padding: 110px 0 20px;
  scroll-margin-top: 20px;
}

.section-intro {
  max-width: 560px;
  margin-bottom: 34px;
}

.section-intro h2 {
  margin-top: 8px;
  font-size: clamp(35px, 4vw, 48px);
  letter-spacing: -0.035em;
}

.section-intro p {
  margin: 12px 0 0;
  color: #93a8aa;
}

.section-intro--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}

.history-note {
  color: #6d8689;
  font-size: 11px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  position: relative;
  min-height: 235px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(6, 32, 42, 0.73), rgba(4, 20, 28, 0.84));
  border: 1px solid rgba(144, 227, 218, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

.step-number {
  position: absolute;
  top: 19px;
  right: 22px;
  color: rgba(119, 228, 216, 0.15);
  font-family: var(--body);
  font-size: 42px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-bottom: 27px;
  color: #342000;
  background: var(--gold);
  border-radius: 15px;
  box-shadow: 0 10px 27px rgba(246, 170, 28, 0.18);
  font-size: 22px;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.steps p {
  margin-bottom: 0;
  color: #80989b;
  font-size: 13px;
  line-height: 1.55;
}

.draw-history {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.history-card {
  padding: 20px;
  background: rgba(5, 29, 38, 0.68);
  border: 1px solid rgba(153, 225, 218, 0.1);
  border-radius: 19px;
  backdrop-filter: blur(17px);
}

.history-card__top,
.history-card__amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-card__top {
  color: #6f898d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.history-card__top i {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.history-card__amount {
  margin-top: 17px;
}

.history-card__amount strong {
  color: var(--gold-light);
  font-family: var(--body);
  font-size: 21px;
  font-weight: 500;
}

.history-card__amount span {
  color: #7c9497;
  font-size: 10px;
}

.history-card__winner {
  margin: 16px 0 0;
  padding-top: 13px;
  color: #849b9e;
  border-top: 1px solid rgba(142, 211, 205, 0.08);
  font-size: 11px;
}

.history-card__winner b {
  color: #ccf4ef;
  font-family: var(--body);
  font-weight: 500;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  width: var(--page);
  margin: 90px auto 0;
  padding: 32px 0 38px;
  color: #637c80;
  border-top: 1px solid rgba(146, 218, 211, 0.1);
  font-size: 10px;
}

footer p {
  margin: 0;
  text-align: center;
}

.brand--footer {
  opacity: 0.68;
  transform: scale(0.82);
  transform-origin: left center;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 8, 12, 0.78);
  backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(430px, 100%);
  padding: 33px;
  background: linear-gradient(150deg, #0b3442, #061b25 64%);
  border: 1px solid rgba(126, 238, 227, 0.2);
  border-radius: 28px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
  animation: modal-in 220ms ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal > img {
  position: absolute;
  top: -68px;
  right: 17px;
  width: 128px;
  filter: drop-shadow(0 15px 17px rgba(0, 0, 0, 0.45));
  animation: modal-fish 3.5s ease-in-out infinite;
}

@keyframes modal-fish {
  50% { transform: translateY(-8px) rotate(2deg); }
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #88a2a4;
  background: rgba(0, 0, 0, 0.17);
  border: 1px solid rgba(178, 229, 223, 0.1);
  border-radius: 50%;
  cursor: pointer;
  font-size: 21px;
}

.modal h2 {
  margin: 6px 0 8px;
  font-size: 31px;
  line-height: 1.05;
}

.modal > p {
  margin-bottom: 24px;
  color: #8da4a7;
  font-size: 13px;
}

.wallet-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  color: #dff4f1;
  background: rgba(2, 17, 24, 0.42);
  border: 1px solid rgba(143, 222, 214, 0.12);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
}

.wallet-option:hover {
  border-color: rgba(114, 242, 228, 0.34);
  transform: translateY(-1px);
}

.wallet-option--featured {
  background: rgba(30, 191, 178, 0.1);
  border-color: rgba(114, 242, 228, 0.26);
}

.wallet-option__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #3a2605;
  background: var(--gold);
  border-radius: 12px;
  font-weight: 800;
}

.wallet-option__icon--phantom {
  color: white;
  background: linear-gradient(135deg, #8c72ff, #5946d8);
}

.wallet-option strong,
.wallet-option small {
  display: block;
}

.wallet-option small {
  margin-top: 2px;
  color: #789095;
  font-size: 10px;
}

.wallet-option b {
  color: var(--teal-bright);
}

.modal__safety {
  margin-top: 17px;
  padding: 10px 12px;
  color: #759094;
  background: rgba(2, 14, 20, 0.25);
  border-radius: 11px;
  font-size: 10px;
  text-align: center;
}

.draw-modal {
  width: min(500px, 100%);
  text-align: center;
}

.draw-machine {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: -10px auto 18px;
}

.draw-machine img {
  z-index: 1;
  width: 127px;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.5));
}

.draw-machine.is-drawing img {
  animation: draw-wiggle 0.42s ease-in-out infinite;
}

@keyframes draw-wiggle {
  25% { transform: rotate(-6deg) scale(0.97); }
  75% { transform: rotate(6deg) scale(1.03); }
}

.draw-machine__ring {
  position: absolute;
  inset: 1px;
  border: 2px dashed rgba(114, 242, 228, 0.4);
  border-radius: 50%;
  animation: ring-spin 9s linear infinite;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

.receipt {
  margin: 20px 0;
  padding: 14px 17px;
  background: rgba(1, 13, 19, 0.45);
  border: 1px solid rgba(152, 222, 215, 0.1);
  border-radius: 15px;
  text-align: left;
}

.receipt div {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.35fr);
  gap: 12px;
  padding: 7px 0;
}

.receipt span {
  color: #718b8f;
  font-size: 11px;
}

.receipt strong,
.receipt code {
  overflow: hidden;
  color: #dff6f3;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100vw - 44px));
  padding: 13px 17px;
  color: #dffaf7;
  background: rgba(7, 43, 51, 0.96);
  border: 1px solid rgba(117, 237, 224, 0.24);
  border-radius: 13px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#confetti {
  position: fixed;
  z-index: 120;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 980px) {
  :root { --page: min(100% - 30px, 760px); }

  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 50px; }
  .hero__copy { text-align: center; }
  .hero-fish { top: -34px; right: 3%; width: 105px; }
  .hero__lede { margin-right: auto; margin-left: auto; }
  .hero__actions,
  .trust-row { justify-content: center; }
  .pot-card { width: 100%; max-width: 640px; margin: 0 auto; }
  .dashboard-grid,
  .details-grid { grid-template-columns: 1fr; }
  .steps,
  .draw-history { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 22px); --radius-lg: 23px; }

  .prototype-strip { min-height: 38px; font-size: 9px; }
  .site-header { min-height: 76px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 9px; }
  .wallet-button { min-height: 39px; padding: 0 13px; font-size: 11px; }
  .hero { gap: 45px; padding: 38px 0 55px; }
  .hero-fish { top: -22px; right: -2px; width: 82px; }
  h1 { font-size: clamp(55px, 17vw, 75px); }
  .hero__lede { font-size: 15px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .trust-row { gap: 8px 15px; margin-top: 28px; }
  .pot-card,
  .entry-card,
  .activity-card,
  .payout-card,
  .integrity-card { padding: 21px; }
  .pot-card__amount { display: block; }
  .pot-card__amount strong { font-size: clamp(43px, 14vw, 58px); }
  .pot-card__amount span { display: block; margin-top: 7px; }
  .countdown-wrap { padding: 15px 12px; }
  .countdown-wrap__label { display: block; text-align: center; }
  #countdownLabel { display: block; margin-top: 3px; }
  .countdown div { min-width: 39px; }
  .countdown strong { font-size: 25px; }
  .countdown b { font-size: 18px; }
  .pot-stats { gap: 8px; }
  .pot-stats div { padding: 0 8px; }
  .pot-stats strong { font-size: 13px; }
  .section-heading { display: block; }
  .ticket-price { display: block; margin-top: 12px; text-align: left; }
  .wallet-gate { grid-template-columns: auto 1fr; }
  .wallet-gate .secondary-button { grid-column: 1 / -1; }
  .purchase-feed { min-height: 305px; }
  .split-legend { grid-template-columns: 1fr; }
  .how-section,
  .past-section { padding-top: 78px; }
  .steps,
  .draw-history { grid-template-columns: 1fr; }
  .section-intro--row { display: block; }
  .history-note { display: block; margin-top: 10px; }
  footer { grid-template-columns: 1fr; gap: 15px; text-align: center; }
  .brand--footer { justify-self: center; transform-origin: center; }
  .modal { padding: 29px 20px 22px; }
  .modal > img { right: 8px; width: 102px; }
  .swimming-fish--one { width: 135px; }
  .swimming-fish--two { width: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
