:root {
  --bg: #08090f;
  --bg-2: #10131d;
  --surface: rgba(20, 23, 35, 0.82);
  --surface-strong: rgba(23, 27, 40, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --ink: #f8fafc;
  --red: #db0007;
  --yellow: #ffbc0d;
  --green: #2ea84a;
  --blue: #38bdf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 188, 13, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3,
[data-display="true"] {
  font-family: "Baloo 2", ui-rounded, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

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

.presentation-shell {
  min-height: 100vh;
  padding: 24px;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.device-frame {
  background: linear-gradient(180deg, #251516 0%, #110708 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.35);
  padding: 12px;
}

.device-screen {
  min-height: 780px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at top center, rgba(255, 188, 13, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 22%),
    linear-gradient(180deg, #10131d 0%, #0a0c13 100%);
  color: var(--ink);
  position: relative;
}

.device-notch {
  width: 38%;
  height: 24px;
  margin: 0 auto 8px;
  border-radius: 0 0 18px 18px;
  background: #0f0f11;
}

.screen-pad {
  padding: 24px 20px 28px;
}

.soft-card {
  background: var(--surface-strong);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  background: rgba(10, 12, 19, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-button {
  display: grid;
  gap: 4px;
  justify-items: center;
  border-radius: 18px;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(248, 250, 252, 0.62);
}

.tab-button.active {
  background: rgba(255, 188, 13, 0.16);
  color: var(--yellow);
}

.step-node {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(35, 31, 32, 0.12);
}

.option-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.option-card:hover,
.option-card.selected {
  transform: translateY(-2px);
  border-color: rgba(219, 0, 7, 0.26);
  box-shadow: 0 20px 36px rgba(219, 0, 7, 0.12);
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.42;
}

.button-primary,
.button-secondary {
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #ffcf48 0%, #ffbc0d 100%);
  color: #2d1a00;
  box-shadow: 0 18px 28px rgba(255, 188, 13, 0.28);
}

.button-secondary {
  background: linear-gradient(180deg, #f13f44 0%, #db0007 100%);
  color: white;
  box-shadow: 0 18px 28px rgba(219, 0, 7, 0.24);
}

.reference-thumb {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.96), rgba(13, 16, 25, 0.98));
  padding: 14px 14px 14px 12px;
}

.support-item-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 188, 13, 0.2);
  color: #8b5400;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.support-item-text {
  color: #f8fafc;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.dark-card {
  background: linear-gradient(180deg, rgba(17, 21, 31, 0.98), rgba(11, 14, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.dark-muted {
  color: rgba(248, 250, 252, 0.68);
}

.dark-line {
  border-color: rgba(255, 255, 255, 0.08);
}

.shop-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 188, 13, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(19, 22, 34, 0.98), rgba(12, 15, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.shop-section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.52);
}

.shop-featured-card,
.shop-grid-card,
.vault-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.shop-featured-card {
  background:
    radial-gradient(circle at top right, rgba(255, 188, 13, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(24, 19, 20, 0.98), rgba(12, 15, 24, 0.98));
}

.shop-grid-card,
.vault-item {
  background: linear-gradient(180deg, rgba(17, 21, 31, 0.98), rgba(10, 13, 20, 0.98));
}

.shop-price-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}

.shop-price-chip--featured {
  background: rgba(255, 188, 13, 0.16);
  color: var(--yellow);
}

.shop-price-chip--medium {
  background: rgba(56, 189, 248, 0.14);
  color: var(--blue);
}

.shop-price-chip--small {
  background: rgba(46, 168, 74, 0.14);
  color: var(--green);
}

.shop-tier-line {
  min-height: 48px;
}

.shop-progress-fill {
  background: linear-gradient(90deg, #db0007 0%, #ffbc0d 100%);
  box-shadow: 0 8px 20px rgba(255, 188, 13, 0.24);
}

.profile-hero {
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 188, 13, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(18, 22, 35, 0.98), rgba(11, 14, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

.profile-avatar-ring {
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 188, 13, 0.9), rgba(56, 189, 248, 0.28));
  box-shadow: 0 14px 34px rgba(255, 188, 13, 0.18);
}

.collection-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.collection-chip--gold {
  background: rgba(255, 188, 13, 0.14);
  color: var(--yellow);
}

.collection-chip--blue {
  background: rgba(56, 189, 248, 0.14);
  color: var(--blue);
}

.collection-chip--green {
  background: rgba(46, 168, 74, 0.14);
  color: var(--green);
}

.badge-medal {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.reward-screen {
  animation: reward-screen-enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reward-stack-card {
  animation: reward-card-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reward-floating-token {
  animation: reward-token-float 2.8s ease-in-out infinite;
}

.reward-glow {
  position: absolute;
  inset: -20px auto auto 50%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  transform: translateX(-50%);
  filter: blur(22px);
  opacity: 0.32;
  pointer-events: none;
}

.reward-glow--red {
  background: radial-gradient(circle, rgba(219, 0, 7, 0.5) 0%, rgba(219, 0, 7, 0) 72%);
}

.reward-glow--blue {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.46) 0%, rgba(56, 189, 248, 0) 72%);
}

.reward-glow--gold {
  background: radial-gradient(circle, rgba(255, 188, 13, 0.48) 0%, rgba(255, 188, 13, 0) 72%);
}

.reward-glow--green {
  background: radial-gradient(circle, rgba(46, 168, 74, 0.48) 0%, rgba(46, 168, 74, 0) 72%);
}

.reward-screen--points .reward-stack-card,
.reward-screen--badge .reward-stack-card,
.reward-screen--result .reward-stack-card {
  position: relative;
  overflow: hidden;
}

.reward-screen--points .reward-stack-card::after,
.reward-screen--badge .reward-stack-card::after,
.reward-screen--result .reward-stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  animation: reward-shimmer 900ms ease 180ms both;
}

@keyframes reward-screen-enter {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reward-card-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes reward-token-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

@keyframes reward-shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reward-screen,
  .reward-stack-card,
  .reward-floating-token,
  .reward-screen--points .reward-stack-card::after,
  .reward-screen--badge .reward-stack-card::after,
  .reward-screen--result .reward-stack-card::after {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .presentation-shell {
    padding: 18px;
  }

  .device-screen {
    min-height: 740px;
  }
}

@media (max-width: 980px) {
  .presentation-layout {
    grid-template-columns: 1fr !important;
  }
}
