@import url('https://fonts.googleapis.com/css2?family=Google+Sans:opsz@17..18&display=swap');

:root {
  --bg: #040309;
  --bg2: #0b0712;
  --surface: rgba(13, 10, 20, .82);
  --surface2: rgba(22, 17, 31, .88);
  --line: rgba(222, 183, 98, .24);
  --line2: rgba(255, 255, 255, .1);
  --gold: #f4d28b;
  --gold2: #b9833e;
  --violet: #8f6cff;
  --text: #fff8e8;
  --muted: #cabf9d;
  --danger: #ffb4b4;
  --line-green: #06C755;
  --line-green-hover: #05b34c;
}

* {
  box-sizing: border-box
}

html {
  background: var(--bg)
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Google Sans", system-ui, -apple-system, "Noto Sans Thai", sans-serif;
  background: linear-gradient(180deg, #050308 0, #090610 42%, #030207 100%);
  overflow-x: hidden
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 12%, rgba(143, 108, 255, .16), transparent 34%), radial-gradient(circle at 75% 22%, rgba(244, 210, 139, .1), transparent 24%), linear-gradient(135deg, #030207, #0c0814 48%, #020105);
  pointer-events: none
}

body:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 248, 232, .72) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(244, 210, 139, .44) 0 1px, transparent 1.3px);
  background-size: 82px 82px, 137px 137px;
  background-position: 12px 18px, 44px 62px;
  opacity: .24;
  pointer-events: none
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(5vw, 20px);
  background: rgba(4, 3, 9, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line)
}

.brand {
  color: var(--gold);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center
}

.brand:before {
  content: "✦";
  margin-right: 9px;
  color: var(--gold2)
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .2s, background .2s
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .06)
}

.nav-links a.active {
  color: var(--gold);
  font-weight: 700
}

.nav-auth {
  display: flex;
  align-items: center;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line)
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px 14px 4px 4px;
  font-size: .9rem
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  background: #1a1325;
  display: inline-block
}

.user-name {
  color: var(--text);
  font-weight: 600;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.btn-nav-logout {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: .85rem;
  border-radius: 6px;
  margin-left: 4px;
  transition: color .2s
}

.btn-nav-logout:hover {
  color: var(--danger)
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(6, 199, 85, .15), rgba(6, 199, 85, .3));
  border: 1px solid rgba(6, 199, 85, .5);
  color: #7ef0a2;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s
}

.btn-nav-login:hover {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
  box-shadow: 0 0 16px rgba(6, 199, 85, .4)
}

.btn-nav-login svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0
}

.wrap {
  width: min(1120px, 90%);
  margin: auto
}

.section {
  padding: 42px 0
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 52px;
  align-items: center;
  padding: 70px 0 64px
}

.hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent)
}

.hero .eyebrow,
.hero>p:first-child {
  color: var(--gold);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 16px
}

.hero h1 {
  font-size: 69px;
  margin: 0 0 18px;
  max-width: 760px;
  text-wrap: balance
}

.hero h1 span {
  color: var(--gold)
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 680px
}

.hero .lead {
  font-size: 1.18rem
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center
}

.hero-stage:before {
  content: "New World";
  position: absolute;
  inset: auto 0 12px;
  text-align: center;
  color: rgba(244, 210, 139, .1);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase
}

.hero-card {
  position: absolute;
  width: min(240px, 48%);
  aspect-ratio: 7/11;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(244, 210, 139, .62);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .65), 0 0 38px rgba(244, 210, 139, .16)
}

.hero-card.one {
  transform: rotate(-12deg) translate(-110px, 18px)
}

.hero-card.two {
  z-index: 2;
  width: min(280px, 56%)
}

.hero-card.three {
  transform: rotate(12deg) translate(110px, 22px)
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #160e08;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(185, 131, 62, .22);
  font-size: 1rem;
  gap: 8px
}

.btn-full {
  display: flex;
  width: 100%
}

.btn-select-confirm {
  min-height: 56px;
  font-size: 1.15rem;
  padding: 15px 28px;
  margin-top: 32px;
  letter-spacing: .03em;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(185, 131, 62, .32);
}

.btn-select-confirm:not(:disabled) {
  background: linear-gradient(135deg, #ffe082, #d49e35);
  box-shadow: 0 0 24px rgba(244, 210, 139, .5), 0 14px 36px rgba(0, 0, 0, .4);
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px)
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none
}

.btn.alt {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none
}

.btn-line {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--line-green);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 199, 85, .32);
  transition: all .22s
}

.btn-line:hover {
  background: var(--line-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(6, 199, 85, .45)
}

.btn-line svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #fff
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.panel {
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .36)
}

.panel h1,
.panel h2,
.section h2 {
  margin-top: 0
}

.panel small,
.muted {
  color: var(--muted)
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 15px 18px;
  background: rgba(244, 210, 139, .09);
  border-radius: 8px;
  color: #f0dfba
}

.feature-step {
  position: relative;
  min-height: 138px
}

.feature-step b {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1
}

.feature-step small {
  display: block;
  margin-top: 12px;
  line-height: 1.6
}

.spread-card {
  border-color: rgba(244, 210, 139, .34)
}

footer {
  padding: 38px 5%;
  text-align: center;
  color: var(--muted)
}

footer a {
  color: var(--gold);
  margin: 0 8px;
  text-decoration: none
}

.step {
  display: none
}

.step.active {
  display: block
}

.progress {
  display: flex;
  gap: 7px;
  margin: 24px 0
}

.progress i {
  height: 5px;
  flex: 1;
  background: rgba(255, 255, 255, .12);
  border-radius: 6px
}

.progress i.on {
  background: linear-gradient(90deg, var(--gold2), var(--gold))
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border-radius: 10px;
  background: #08060d;
  color: white;
  border: 1px solid var(--line);
  font: inherit;
  outline: none
}

textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 210, 139, .12)
}

.choices {
  display: flex;
  gap: 16px;
  flex-wrap: wrap
}

.choice {
  flex: 1;
  min-width: 180px;
  text-align: left;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line2);
  color: inherit;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer
}

.choice b {
  color: var(--gold)
}

.choice.selected {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(143, 108, 255, .28), inset 0 0 0 1px rgba(244, 210, 139, .2)
}

.deck {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  padding: 24px 0
}

.deck:has(.tarot.selected) .tarot:not(.selected) {
  opacity: .65;
  filter: grayscale(.25);
  transition: opacity .2s, filter .2s, transform .2s;
}

.deck:has(.tarot.selected) .tarot:not(.selected):hover {
  opacity: 1;
  filter: none;
  transform: translateY(-4px);
}

.tarot {
  position: relative;
  width: 100%;
  aspect-ratio: 7/11;
  border-radius: 8px;
  perspective: 600px;
  background: linear-gradient(135deg, #18101f, #06040b);
  border: 1.5px solid #d6b872;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .34), 0 0 12px rgba(143, 108, 255, .12);
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s, border-color .22s;
}

.tarot:hover {
  transform: translateY(-4px);
  border-color: #ffd700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .5), 0 0 16px rgba(244, 210, 139, .3);
}

.tarot:before {
  content: "✦";
  display: grid;
  place-items: center;
  height: calc(100% - 10px);
  font-size: clamp(14px, 2vw, 24px);
  color: var(--gold);
  border: 1px solid rgba(244, 210, 139, .42);
  margin: 5px;
  border-radius: 5px;
  background: linear-gradient(160deg, rgba(244, 210, 139, .08), rgba(143, 108, 255, .1));
  transition: all .2s;
}

.tarot.selected {
  z-index: 10;
  transform: translateY(-10px) scale(1.08);
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #ffd700, #e67e22);
  box-shadow: 0 0 26px rgba(255, 215, 0, .95), 0 0 10px rgba(255, 255, 255, .9), 0 14px 28px rgba(0, 0, 0, .85);
  animation: selectedPulse 2s ease-in-out infinite alternate;
}

.tarot.selected:before {
  content: attr(data-picked-num);
  font-size: clamp(15px, 2.5vw, 22px);
  font-weight: 900;
  color: #1a0f02;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #ffffff, #ffe082);
  box-shadow: 0 0 14px rgba(255, 255, 255, .9), inset 0 0 6px rgba(255, 215, 0, .4);
}

@keyframes selectedPulse {
  0% {
    box-shadow: 0 0 22px rgba(255, 215, 0, .85), 0 0 8px rgba(255, 255, 255, .8), 0 12px 24px rgba(0, 0, 0, .8);
  }

  100% {
    box-shadow: 0 0 32px rgba(255, 215, 0, 1), 0 0 14px rgba(255, 255, 255, 1), 0 16px 30px rgba(0, 0, 0, .9);
  }
}

.selected-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 22px 0
}

.selected-cards.single {
  width: 35%;
  margin-left: auto;
  margin-right: auto
}

@media(max-width:680px) {
  .selected-cards.single {
    width: 70%
  }
}

.selected-card {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px
}

.selected-card img,
.result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 7/11;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(244, 210, 139, .32)
}

.selected-card b {
  display: block;
  margin-top: 10px;
  color: var(--gold)
}

.selected-card small {
  color: var(--muted)
}

.result-card {
  border-top: 2px solid var(--gold)
}

.error {
  color: var(--danger);
  min-height: 24px
}

/* Auth / Login Styles */
.auth-box {
  max-width: 520px;
  margin: 30px auto;
  text-align: center;
  padding: 36px 30px
}

.auth-box h1 {
  font-size: 1.85rem;
  margin-bottom: 12px;
  color: var(--gold)
}

.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .04);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--text);
  border: 1px solid rgba(244, 210, 139, .12)
}

.auth-benefits li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--gold)
}

.auth-gate {
  border: 1px solid rgba(244, 210, 139, .4);
  background: linear-gradient(180deg, rgba(30, 22, 44, .95), rgba(15, 11, 24, .95));
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 24px
}

.auth-gate h2 {
  color: var(--gold);
  margin-top: 0
}

.dev-login-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: .88rem
}

@media(prefers-reduced-motion:no-preference) {

  .btn,
  .btn-line,
  .tarot {
    transition: .22s transform, .22s box-shadow, .22s filter
  }

  .hero-card {
    animation: floatCard 6s ease-in-out infinite
  }

  .hero-card.two {
    animation-delay: -2s
  }

  .hero-card.three {
    animation-delay: -4s
  }

  @keyframes floatCard {
    50% {
      translate: 0 -12px
    }
  }

  .shuffle {
    animation: shake .55s ease-in-out
  }

  @keyframes shake {
    50% {
      transform: translateX(8px) rotate(2deg)
    }
  }
}

@media(max-width:820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 42px
  }

  .hero-stage {
    min-height: 360px;
    order: -1
  }

  .hero-card {
    width: 190px
  }

  .hero-card.one {
    transform: rotate(-10deg) translate(-72px, 18px)
  }

  .hero-card.two {
    width: 220px
  }

  .hero-card.three {
    transform: rotate(10deg) translate(72px, 22px)
  }
}

@media(max-width:680px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px
  }

  .nav-menu {
    justify-content: space-between;
    width: 100%
  }

  .nav-links {
    gap: 8px
  }

  .nav-links a {
    padding: 5px 7px;
    font-size: .88rem
  }

  .nav-auth {
    margin-left: 0;
    padding-left: 8px;
    border-left: none
  }

  .hero h1 {
    font-size: 2.3rem
  }

  .deck {
    grid-template-columns: repeat(9, 1fr);
    gap: 5px;
    padding: 12px 0;
  }

  .tarot:before {
    margin: 2px;
    height: calc(100% - 4px);
    font-size: 14px;
  }

  .panel {
    padding: 18px
  }

  .hero-stage {
    min-height: 300px
  }

  .hero-card {
    width: 150px
  }

  .hero-card.two {
    width: 175px
  }
}

/* ── Meditation Countdown ── */
.meditation-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 24px;
  gap: 28px;
  text-align: center
}

.meditation-label {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  margin: 0;
  animation: meditationPulse 2s ease-in-out infinite
}

@keyframes meditationPulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .55
  }
}

.meditation-sub {
  color: var(--muted);
  font-size: .95rem;
  margin: 0
}

.countdown-ring {
  position: relative;
  width: 120px;
  height: 120px;
  transition: opacity .6s ease, transform .6s ease;
}

.countdown-ring.faded {
  opacity: .35;
  transform: scale(.92);
}

.countdown-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
  transition: opacity .5s ease;
}

.countdown-track {
  fill: none;
  stroke: rgba(244, 210, 139, .14);
  stroke-width: 6;
}

.countdown-progress {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.726;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.countdown-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  transition: opacity .5s ease, transform .5s ease;
}

.countdown-num.fade-out {
  opacity: 0;
  transform: scale(.7);
  pointer-events: none;
}

.meditation-sub.highlight {
  color: var(--gold);
  animation: meditationPulse 1.5s ease-in-out infinite;
}

.deck.fading {
  animation: deckFadeOut .5s ease forwards
}

@keyframes deckFadeOut {
  to {
    opacity: 0;
    transform: scale(.97)
  }
}

.one-card {
  width: 33%;
}

@media(max-width:680px) {
  .one-card {
    width: 100%;
  }
}

/* ── Reference Style Result Page ── */
.result-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 10px 0 60px;
  position: relative;
}

.result-top-nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.btn-close-result {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 8px;
  transition: color .2s;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-close-result:hover {
  color: var(--gold);
}

.result-main-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .02em;
}

.result-question-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 28px;
  font-style: italic;
}

.result-cards-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 28px 0 36px;
}

.result-stage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(150px, 30%);
  position: relative;
}

.result-stage-card.single-mode {
  width: min(200px, 50%);
}

.result-stage-card img {
  width: 100%;
  aspect-ratio: 7/11;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(244, 210, 139, .6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .75), 0 0 24px rgba(244, 210, 139, .15);
  transition: transform .3s ease;
}

.result-stage-card img:hover {
  transform: translateY(-4px);
}

.result-stage-card-label {
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
}

.result-theme-header {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 32px 0 24px;
  letter-spacing: .04em;
}

.result-narrative {
  color: rgba(255, 248, 232, .92);
  font-size: 1.03rem;
  line-height: 1.95;
  text-align: justify;
}

.result-narrative p {
  margin: 0 0 20px;
  text-indent: 1.5em;
}

.result-summary-section {
  margin: 36px 0 24px;
}

.result-section-tag {
  font-size: .84rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.result-summary-text {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0;
}

.result-card-box {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(244, 210, 139, .22);
  border-radius: 12px;
  padding: 22px 24px;
  text-align: center;
  margin: 18px 0;
  backdrop-filter: blur(10px);
}

.result-card-box .box-label {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.result-card-box .box-content {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}

.result-quote-text {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.result-upsell-box {
  background: linear-gradient(180deg, rgba(28, 20, 38, .85), rgba(16, 12, 24, .9));
  border: 1px solid rgba(244, 210, 139, .32);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin: 40px 0 24px;
}

.result-upsell-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(244, 210, 139, .1);
  border: 1px solid rgba(244, 210, 139, .3);
  border-radius: 10px;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.result-upsell-box h3 {
  color: #fff;
  font-size: 1.28rem;
  margin: 0 0 8px;
}

.result-upsell-box p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.btn-crimson {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c32b2b, #8a1717);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(195, 43, 43, .35);
  transition: all .2s;
  font-size: 1rem;
}

.btn-crimson:hover {
  background: linear-gradient(135deg, #d83434, #9f1c1c);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(195, 43, 43, .45);
}

.btn-outline-dark {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  padding: 12px 24px;
  cursor: pointer;
  transition: all .2s;
  font-size: 1rem;
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .35);
}

.result-action-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media(max-width:540px) {
  .result-action-bar {
    grid-template-columns: 1fr;
  }
}