:root {
  --bg: #0d1220;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f4ef;
  --muted: rgba(247, 244, 239, 0.68);
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f2b45a;
  --forest: #71f0c0;
  --ruby: #ff7d8d;
  --ink: #131927;
  --shadow: 0 30px 80px rgba(3, 8, 19, 0.35);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(250, 137, 88, 0.18), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(99, 120, 255, 0.22), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(72, 225, 183, 0.15), transparent 22%),
    linear-gradient(145deg, #0b1020 0%, #121935 45%, #191023 100%);
  color: var(--text);
  font-family: "Sora", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 180, 90, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(113, 240, 192, 0.16), transparent 28%),
    radial-gradient(circle at center, rgba(117, 135, 255, 0.12), transparent 26%);
  animation: backdropShift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.public-header,
.hero,
.feature-grid,
.spotlight,
.split-band,
.cta-band,
.auth-layout,
.app-shell,
.main-content {
  position: relative;
  z-index: 1;
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
}

.brand__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f3cc8c);
  box-shadow: 0 0 0 8px rgba(184, 131, 57, 0.12);
}

.public-nav,
.hero__actions,
.metric-row,
.quick-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.public-nav {
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid {
  background: linear-gradient(135deg, #ff9865, #ff6a88 40%, #7f7dff 100%);
  color: #fff9f1;
  box-shadow: 0 16px 30px rgba(127, 125, 255, 0.22);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.button--danger {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.5);
  color: #ff7d8d;
}

.button--danger:hover {
  background: rgba(220, 38, 38, 0.32);
  border-color: rgba(220, 38, 38, 0.75);
}

.hero,
.feature-grid,
.spotlight,
.split-band,
.cta-band,
.auth-layout {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 4.5rem 0 3rem;
}

.hero__copy h1,
.auth-copy h1,
.cta-band h2,
.spotlight h2,
.feature-grid h2,
.glass-card h2,
.panel--feature h2,
.page-header h2,
.section-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4.7rem);
  line-height: 0.95;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff9865, #ff6a88 42%, #7f7dff 100%);
  color: #fff8f2;
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 34px rgba(127, 125, 255, 0.25);
}

.hero-logo__word {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.9;
}

.hero__lede,
.hero__sublede,
.auth-copy p,
.feature-grid p,
.spotlight p,
.split-band p,
.panel p,
.reward-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__copy,
.hero__visual,
.tiers-band__intro {
  animation: fadeUp 700ms ease both;
}

.hero__visual {
  animation-delay: 120ms;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

.metric-row {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.metric-row li,
.glass-card,
.panel,
.auth-card,
.contact-card,
.reward-card,
.feature-grid article,
.tier-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.metric-row li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
}

.metric-row strong {
  display: block;
  margin-bottom: 0.35rem;
}

.hero__visual {
  display: grid;
  align-items: end;
  gap: 1.4rem;
}

.hero-stage {
  position: relative;
  min-height: 580px;
  padding: 1rem;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.8;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero-orb--gold {
  inset: 34px 18% auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(242, 180, 90, 0.9), rgba(242, 180, 90, 0.08));
}

.hero-orb--jade {
  inset: auto auto 52px 8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(113, 240, 192, 0.6), rgba(113, 240, 192, 0.05));
  animation-duration: 15s;
}

.glass-card,
.panel,
.auth-card,
.contact-card,
.reward-card,
.feature-grid article,
.tier-card {
  border-radius: var(--radius-lg);
}

.glass-card {
  padding: 1.7rem;
}

.glass-card--tall {
  min-height: 290px;
}

.hero-chip {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 58%);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

.spark-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 0.5rem;
  margin-top: 2rem;
  min-height: 120px;
}

.spark-bars span {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(184, 131, 57, 0.9), rgba(15, 81, 69, 0.65));
}

.spark-bars span:nth-child(1) { height: 46px; }
.spark-bars span:nth-child(2) { height: 76px; }
.spark-bars span:nth-child(3) { height: 68px; }
.spark-bars span:nth-child(4) { height: 108px; }
.spark-bars span:nth-child(5) { height: 92px; }
.spark-bars span:nth-child(6) { height: 132px; }

.show-card,
.bank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1.586 / 1;
  min-height: 214px;
  padding: 1.25rem;
  border-radius: 28px;
  color: #fff9f1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 50px rgba(7, 8, 17, 0.3);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  outline: 1px solid transparent;
  clip-path: inset(0 round 28px);
  will-change: transform;
}

.show-card::before,
.bank-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.show-card::after,
.bank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.show-card header,
.bank-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.show-card strong,
.bank-card strong {
  font-size: 1.32rem;
}

.card-core,
.card-footer,
.control-panel__row,
.control-panel__grid {
  position: relative;
  z-index: 1;
}

.card-core {
  display: grid;
  gap: 0.5rem;
}

.card-chip {
  width: 44px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 232, 175, 0.95), rgba(244, 176, 90, 0.85));
  box-shadow: inset 0 0 0 1px rgba(91, 53, 17, 0.18);
}

.card-number {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.card-footer span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.card-footer strong {
  font-size: 0.95rem;
}

.show-card--ember,
.bank-card--ember {
  background: linear-gradient(135deg, #4b1321, #ff6b6b 46%, #ffb76d 100%);
}

.show-card--aurora,
.bank-card--aurora {
  background: linear-gradient(135deg, #153c45, #23989a 52%, #79ffc7 100%);
}

.show-card--ocean,
.bank-card--ocean {
  background: linear-gradient(135deg, #15224e, #4977ff 58%, #76e1ff 100%);
}

.show-card--pearl,
.bank-card--pearl {
  background: linear-gradient(135deg, #8a7467, #f0cba8 58%, #fff7e8);
  color: #241d19;
}

.bank-card--graphite {
  background: linear-gradient(135deg, #080a11, #454f68 60%, #ffcb96 100%);
}

.feature-grid,
.split-band,
.panel-grid--hero,
.panel-grid--two,
.panel-grid--two-wide {
  display: grid;
  gap: 1.4rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem 0 2rem;
}

.feature-grid article,
.spotlight,
.cta-band,
.panel,
.auth-card,
.tier-card {
  padding: 1.7rem;
}

.spotlight,
.split-band,
.cta-band {
  margin-top: 2rem;
}

.spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  padding: 1.6rem 0;
}

.feature-bullets {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.tax-bullets {
  margin-top: 1.7rem;
}

.feature-pill {
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.card-stack,
.card-grid,
.mini-card-grid,
.reward-grid {
  display: grid;
  gap: 1rem;
}

.card-bouquet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
}

.bouquet-card {
  position: absolute;
  transform-origin: center;
  animation: floatCard 7s ease-in-out infinite;
}

.bouquet-card--rear {
  --card-rotation: -15deg;
  left: 2%;
  bottom: 18%;
}

.bouquet-card--front {
  --card-rotation: -2deg;
  left: 18%;
  bottom: 5%;
  z-index: 2;
  animation-delay: 0.8s;
}

.bouquet-card--side {
  --card-rotation: 14deg;
  left: 38%;
  bottom: 14%;
  animation-delay: 1.4s;
}

.split-band {
  grid-template-columns: repeat(2, 1fr);
}

.market-panel,
.rewards-spotlight,
.rewards-hero {
  position: relative;
  overflow: hidden;
}

.market-panel {
  display: grid;
  gap: 1rem;
}

.market-wave {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 0.5rem;
  min-height: 128px;
}

.market-wave span {
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(127, 125, 255, 0.88), rgba(113, 240, 192, 0.42));
  animation: waveJump 3.6s ease-in-out infinite;
}

.market-wave span:nth-child(1) { height: 48px; animation-delay: 0.1s; }
.market-wave span:nth-child(2) { height: 80px; animation-delay: 0.4s; }
.market-wave span:nth-child(3) { height: 58px; animation-delay: 0.2s; }
.market-wave span:nth-child(4) { height: 112px; animation-delay: 0.7s; }
.market-wave span:nth-child(5) { height: 68px; animation-delay: 0.5s; }
.market-wave span:nth-child(6) { height: 120px; animation-delay: 0.9s; }
.market-wave span:nth-child(7) { height: 76px; animation-delay: 0.3s; }
.market-wave span:nth-child(8) { height: 136px; animation-delay: 0.8s; }

.market-strip {
  display: grid;
  gap: 0.7rem;
}

.market-strip__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-spotlight,
.rewards-hero {
  min-height: 320px;
}

.rewards-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1rem;
}

.rewards-burst {
  position: relative;
  min-height: 200px;
  isolation: isolate;
}

.reward-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  animation: drift 10s ease-in-out infinite alternate;
}

.reward-orb--one {
  top: 10%;
  left: 12%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 125, 141, 0.65), rgba(255, 125, 141, 0.05));
}

.reward-orb--two {
  top: 34%;
  right: 16%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(242, 180, 90, 0.65), rgba(242, 180, 90, 0.05));
  animation-duration: 13s;
}

.reward-orb--three {
  bottom: 6%;
  left: 26%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(113, 240, 192, 0.55), rgba(113, 240, 192, 0.04));
  animation-duration: 12s;
}

.reward-chip {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 35px rgba(11, 16, 32, 0.22);
  backdrop-filter: blur(16px);
  animation: floatChip 5.5s ease-in-out infinite;
}

.reward-chip--large {
  top: 24%;
  left: 20%;
  font-size: 1.1rem;
  font-weight: 700;
}

.reward-chip--small {
  top: 58%;
  left: 10%;
  animation-delay: 0.7s;
}

.reward-chip--small.alt {
  top: 48%;
  right: 14%;
  left: auto;
  animation-delay: 1.4s;
}

.tax-spotlight {
  align-items: start;
}

.tax-panel {
  display: grid;
  gap: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(242, 180, 90, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.tax-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.tax-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tax-panel__grid div {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tax-panel__grid strong {
  display: block;
  margin-bottom: 0.45rem;
}

.tiers-band {
  width: min(1180px, calc(100% - 3rem));
  margin: 2rem auto 0;
  display: grid;
  gap: 1.4rem;
}

.tier-table-wrap {
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.tier-table {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(190px, 1fr));
  gap: 1px;
  min-width: 880px;
  padding: 1px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.tier-table__corner,
.tier-column,
.tier-feature,
.tier-cell {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.tier-table__corner {
  border-top-left-radius: 32px;
}

.tier-column {
  position: relative;
  padding: 1.4rem 1.2rem 1.1rem;
  min-height: 178px;
}

.tier-column--sand {
  background: linear-gradient(165deg, rgba(255, 176, 105, 0.16), rgba(255, 255, 255, 0.08));
}

.tier-column--forest {
  background: linear-gradient(165deg, rgba(113, 240, 192, 0.15), rgba(255, 255, 255, 0.08));
}

.tier-column--ruby {
  background: linear-gradient(165deg, rgba(255, 125, 141, 0.16), rgba(255, 255, 255, 0.08));
  border-top-right-radius: 32px;
}

.tier-column--featured {
  box-shadow: inset 0 0 0 1px rgba(113, 240, 192, 0.25);
  padding-top: 3.2rem;
}

.tier-column h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.tier-column__tag {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.tier-pill {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(113, 240, 192, 0.14);
  color: var(--forest);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}

.tier-feature,
.tier-cell {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
}

.tier-feature {
  color: var(--text);
  font-weight: 600;
}

.tier-cell {
  justify-content: flex-start;
  color: var(--muted);
}

.tier-cell--muted {
  color: rgba(247, 244, 239, 0.35);
}

.tick,
.dash {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.tick {
  background: rgba(113, 240, 192, 0.14);
  color: var(--forest);
  font-weight: 700;
}

.dash {
  background: rgba(255, 255, 255, 0.06);
}

.tier-table > :nth-last-child(-n + 4) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.tier-table > :nth-last-child(4) {
  border-bottom-left-radius: 32px;
}

.tier-table > :last-child {
  border-bottom-right-radius: 32px;
}

.tier-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.cta-band {
  text-align: center;
  padding: 2rem 1.5rem 4rem;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.95fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0;
  align-items: center;
}

.auth-card,
.stack-form {
  display: grid;
  gap: 1rem;
}

.auth-card label,
.stack-form label {
  display: grid;
  gap: 0.5rem;
}

.auth-card input,
.stack-form input,
.stack-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.auth-card input::placeholder,
.stack-form input::placeholder {
  color: rgba(247, 244, 239, 0.48);
}

.helper-copy {
  margin: 0;
  color: var(--muted);
}

.signup-bonus {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(242, 180, 90, 0.35);
  background: linear-gradient(135deg, rgba(242, 180, 90, 0.12), rgba(113, 240, 192, 0.07));
}

.signup-bonus__glow {
  position: absolute;
  inset: -40px -20px;
  background: radial-gradient(ellipse at 30% 50%, rgba(242, 180, 90, 0.18), transparent 70%);
  pointer-events: none;
  animation: drift 8s ease-in-out infinite alternate;
}

.signup-bonus__label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
}

.signup-bonus__headline {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.signup-bonus__amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold), var(--forest));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signup-bonus__fine {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem;
  border-right: 1px solid rgba(22, 21, 19, 0.08);
  background: rgba(13, 18, 32, 0.54);
  backdrop-filter: blur(20px);
}

.brand--sidebar {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.sidebar__nav {
  display: grid;
  gap: 0.45rem;
}

.sidebar__nav a {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: var(--muted);
}

.sidebar__nav a.is-active,
.sidebar__nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.sidebar__foot p,
.sidebar__foot small {
  display: block;
  margin: 0 0 0.25rem;
}

.main-area {
  padding: 1.6rem;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.1rem 1.4rem 1.4rem;
}

.topbar-meta {
  display: flex;
  gap: 2rem;
}

.main-content {
  display: grid;
  gap: 1.4rem;
}

.panel-grid--hero {
  grid-template-columns: 1.3fr repeat(3, 1fr);
}

.panel-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.panel-grid--two-wide {
  grid-template-columns: 0.85fr 1.15fr;
}

.panel--feature {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(73, 119, 255, 0.08));
}

.stat-panel h3,
.reward-card h3 {
  margin: 0;
  font-size: 2rem;
}

.section-head,
.activity-item,
.transfer-row,
.holding-item,
.asset-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.section-head {
  align-items: center;
  margin-bottom: 1.2rem;
}

.activity-list,
.transfer-list,
.holding-list,
.contact-list,
.asset-board {
  display: grid;
  gap: 1rem;
}

.activity-item,
.transfer-row,
.holding-item,
.asset-row,
.contact-card {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.transfer-row__meta,
.asset-row__meta {
  text-align: right;
}

.asset-pill {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  font-weight: 700;
  background: var(--asset-accent, var(--gold));
}

.reward-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reward-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
}

.reward-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.25rem;
}

.reward-preview-list {
  display: grid;
  gap: 0.75rem;
}

.reward-preview-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-preview-item__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.reward-card--claimed {
  opacity: 0.82;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(113, 240, 192, 0.12);
  color: var(--forest);
}

.flash-stack,
.public-flash-wrap {
  display: grid;
  gap: 0.65rem;
}

.flash {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
}

.flash--success {
  background: rgba(113, 240, 192, 0.12);
  border-color: rgba(113, 240, 192, 0.18);
}

.flash--warning {
  background: rgba(242, 180, 90, 0.16);
  border-color: rgba(242, 180, 90, 0.24);
}

.flash--error {
  background: rgba(255, 125, 141, 0.12);
  border-color: rgba(255, 125, 141, 0.18);
}

.public-flash-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.page-header h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.menu-toggle {
  display: none;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 249, 241, 0.75);
  border-radius: 999px;
}

.positive {
  color: var(--forest);
}

.negative {
  color: var(--ruby);
}

.empty-copy {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .auth-layout,
  .spotlight,
  .panel-grid--hero,
  .panel-grid--two,
  .panel-grid--two-wide,
  .feature-grid,
  .split-band,
  .reward-grid,
  .control-panel__grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
  }

  .rewards-hero {
    grid-template-columns: 1fr;
  }

  .hero-chip {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    margin-bottom: 2rem;
  }

  .card-bouquet {
    position: relative;
    height: 340px;
  }

  .bouquet-card--rear {
    left: 0;
  }

  .bouquet-card--front {
    left: 18%;
  }

  .bouquet-card--side {
    left: 34%;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 84vw);
    transform: translateX(-105%);
    transition: transform 180ms ease;
    z-index: 4;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

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

  .topbar-meta {
    display: none;
  }
}

@media (max-width: 720px) {
  .public-header,
  .main-area {
    padding: 1rem;
  }

  .public-nav {
    justify-content: flex-end;
  }

  .metric-row,
  .hero__actions,
  .quick-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-logo {
    align-items: flex-start;
  }

  .show-card,
  .bank-card {
    max-width: 100%;
  }

  .card-bouquet {
    height: auto;
    display: grid;
    gap: 1rem;
  }

  .bouquet-card {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    animation: none;
  }

  .section-head,
  .activity-item,
  .transfer-row,
  .holding-item,
  .asset-row,
  .app-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .reward-grid,
  .card-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backdropShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, -1.5%, 0) scale(1.03);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(18px, -12px, 0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0) rotate(var(--card-rotation, 0deg));
  }

  50% {
    transform: translateY(-10px) rotate(var(--card-rotation, 0deg));
  }

  100% {
    transform: translateY(0) rotate(var(--card-rotation, 0deg));
  }
}

@keyframes waveJump {
  0% {
    transform: scaleY(0.92) translateY(0);
    opacity: 0.72;
  }

  50% {
    transform: scaleY(1.08) translateY(-3px);
    opacity: 1;
  }

  100% {
    transform: scaleY(0.94) translateY(0);
    opacity: 0.78;
  }
}

@keyframes floatChip {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}