.tapp-day2 {
  --day2-ink: #070b18;
  --day2-panel: #0c1327;
  --day2-panel-2: #111a31;
  --day2-gold: #d7b260;
  --day2-gold-soft: #f1dc9a;
  --day2-cyan: #74d5dc;
  --day2-ivory: #fff8e8;
  --day2-muted: #c9c7c1;
  --day2-line: rgba(219, 184, 105, .24);
  position: relative;
  width: min(1060px, calc(100vw - 28px));
  max-width: none;
  margin: 24px 0 32px 50%;
  transform: translateX(-50%);
  color: var(--day2-ivory);
  font-family: Georgia, "Times New Roman", serif;
  isolation: isolate;
}

.tapp-day2 *, .tapp-day2 *::before, .tapp-day2 *::after { box-sizing: border-box; }
.tapp-day2 [hidden] { display: none !important; }
.tapp-day2 button, .tapp-day2 input { font: inherit; }
.tapp-day2 button { -webkit-tap-highlight-color: transparent; }

.tapp-day2-hero,
.tapp-day2-ceremony,
.tapp-day2-result {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(221, 185, 104, .3);
  border-radius: 30px;
  background: var(--day2-ink);
  box-shadow: 0 24px 80px rgba(2, 4, 13, .45), inset 0 1px rgba(255, 255, 255, .035);
}

.tapp-day2-hero {
  min-height: 610px;
  display: grid;
  align-items: center;
  padding: clamp(38px, 7vw, 84px);
  background-image: var(--day2-hero);
  background-size: cover;
  background-position: center;
}

.tapp-day2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 19, .98) 0%, rgba(3, 7, 19, .89) 42%, rgba(3, 7, 19, .28) 73%, rgba(3, 7, 19, .08) 100%),
    linear-gradient(0deg, rgba(3, 7, 19, .74), transparent 45%);
}

.tapp-day2-hero::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(237, 209, 137, .18);
  border-radius: 20px;
  pointer-events: none;
}

.tapp-day2-hero-copy { position: relative; z-index: 2; width: min(570px, 60%); }
.tapp-day2-eyebrow {
  margin: 0 0 17px;
  color: var(--day2-cyan);
  font: 700 12px/1.4 Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.tapp-day2 h2,
.tapp-day2 h3,
.tapp-day2 p { text-wrap: pretty; }

.tapp-day2-hero h2,
.tapp-day2-ceremony h2,
.tapp-day2-reading > h2,
.tapp-day2-personal-intro h2 {
  margin: 0;
  color: var(--day2-ivory);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.tapp-day2-hero h2 { max-width: 590px; font-size: clamp(43px, 6vw, 70px); }
.tapp-day2-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: #e4e0d7;
  font: 18px/1.7 Arial, sans-serif;
}

.tapp-day2-date {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 27px 0 25px;
  padding: 9px 14px;
  border: 1px solid rgba(235, 206, 133, .3);
  border-radius: 999px;
  background: rgba(6, 13, 29, .62);
  color: var(--day2-gold-soft);
  font: 600 14px/1.3 Arial, sans-serif;
  backdrop-filter: blur(8px);
}

.tapp-day2-date span:first-child { color: var(--day2-gold); font-size: 17px; }

.tapp-day2-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
  font: 700 15px/1.25 Arial, sans-serif;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.tapp-day2-button:hover { transform: translateY(-2px); }
.tapp-day2-button:active { transform: translateY(0); }
.tapp-day2-button:focus-visible,
.tapp-day2-link-button:focus-visible,
.tapp-day2 input:focus-visible { outline: 3px solid var(--day2-cyan); outline-offset: 4px; }

.tapp-day2-button-primary {
  color: #06101f;
  background: linear-gradient(135deg, #f2dfa0, #c99f4e 62%, #e2c675);
  box-shadow: 0 12px 32px rgba(196, 151, 66, .22), inset 0 1px rgba(255, 255, 255, .75);
}
.tapp-day2-button-primary:hover { box-shadow: 0 15px 38px rgba(196, 151, 66, .34), inset 0 1px rgba(255, 255, 255, .8); }

.tapp-day2-hero-deck {
  position: absolute;
  z-index: 2;
  right: clamp(70px, 11vw, 130px);
  bottom: 55px;
  width: 215px;
  aspect-ratio: 5 / 8;
  perspective: 1000px;
  filter: drop-shadow(0 24px 25px rgba(0, 0, 0, .55));
  animation: day2-float 5s ease-in-out infinite;
}

.tapp-day2-hero-deck img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  transform: rotate(7deg) rotateY(-12deg);
}

.tapp-day2-orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(228, 193, 111, .28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.tapp-day2-orbit-one { width: 350px; height: 165px; }
.tapp-day2-orbit-two { width: 295px; height: 295px; border-color: rgba(111, 212, 220, .2); }

@keyframes day2-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

.tapp-day2-ceremony {
  min-height: 610px;
  padding: 46px 32px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 56%, rgba(39, 90, 113, .32), transparent 31%),
    radial-gradient(circle at 50% 10%, rgba(103, 59, 117, .2), transparent 34%),
    #050916;
}

.tapp-day2-ceremony::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: radial-gradient(circle, #ebd18a 1px, transparent 1px);
  background-size: 47px 47px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.tapp-day2-ceremony-copy { position: relative; z-index: 2; max-width: 610px; margin: 0 auto; }
.tapp-day2-ceremony h2 { font-size: clamp(34px, 5vw, 52px); }
.tapp-day2-ceremony-copy > p:last-child { margin: 14px auto 0; color: #cfcac0; font: 16px/1.6 Arial, sans-serif; }

.tapp-day2-stage { position: relative; z-index: 2; width: 330px; height: 345px; margin: 14px auto 4px; perspective: 1300px; }
.tapp-day2-stage-glow {
  position: absolute;
  left: 50%;
  bottom: 31px;
  width: 265px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(102, 213, 222, .4), rgba(206, 168, 86, .18) 48%, transparent 72%);
  filter: blur(8px);
}

.tapp-day2-stack { position: absolute; left: 50%; bottom: 30px; width: 142px; height: 228px; transform: translateX(-50%) rotateZ(-3deg); }
.tapp-day2-stack img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 18px 34px rgba(0,0,0,.55); }
.tapp-day2-stack span { position: absolute; inset: 4px 0 -4px 4px; border: 1px solid rgba(226, 190, 101, .42); border-radius: 10px; background: #071126; transform: translateZ(-3px); }
.tapp-day2-stack span:nth-of-type(2) { inset: 8px 0 -8px 8px; transform: translateZ(-6px); }
.tapp-day2-stack span:nth-of-type(3) { inset: 12px 0 -12px 12px; transform: translateZ(-9px); }

.tapp-day2-rising-card { position: absolute; z-index: 5; left: 50%; bottom: 39px; width: 142px; height: 228px; transform: translateX(-50%); transform-style: preserve-3d; }
.tapp-day2-rising-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.tapp-day2-rising-card img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; backface-visibility: hidden; box-shadow: 0 20px 45px rgba(0,0,0,.6); }
.tapp-day2-rising-front { transform: rotateY(180deg); }

.tapp-day2.is-revealing .tapp-day2-rising-card { animation: day2-rise 2.75s cubic-bezier(.2,.72,.18,1) forwards; }
.tapp-day2.is-revealing .tapp-day2-rising-inner { animation: day2-flip 1.15s cubic-bezier(.2,.75,.25,1) 1.15s forwards; }
.tapp-day2.is-revealing .tapp-day2-stage-glow { animation: day2-glow 2.75s ease forwards; }

@keyframes day2-rise {
  0% { transform: translateX(-50%) translateY(0) rotateZ(0) scale(1); }
  38% { transform: translateX(-50%) translateY(-72px) rotateZ(5deg) scale(1.03); }
  100% { transform: translateX(-50%) translateY(-82px) rotateZ(0) scale(1.28); }
}
@keyframes day2-flip { to { transform: rotateY(180deg); } }
@keyframes day2-glow { 0% { opacity: .25; } 55%, 100% { opacity: 1; transform: translateX(-50%) scale(1.28); } }

.tapp-day2-spark { position: absolute; z-index: 3; width: 5px; height: 5px; border-radius: 50%; background: #f2d785; box-shadow: 0 0 12px #f2d785; opacity: .15; }
.tapp-day2-spark.s1 { left: 64px; top: 115px; }.tapp-day2-spark.s2 { right: 58px; top: 170px; }.tapp-day2-spark.s3 { left: 78px; top: 248px; }.tapp-day2-spark.s4 { right: 81px; top: 81px; }
.tapp-day2.is-revealing .tapp-day2-spark { animation: day2-spark 1.5s ease-in-out infinite alternate; }
.tapp-day2.is-revealing .s2 { animation-delay: .25s; }.tapp-day2.is-revealing .s3 { animation-delay: .55s; }.tapp-day2.is-revealing .s4 { animation-delay: .8s; }
@keyframes day2-spark { to { opacity: 1; transform: scale(1.7) translateY(-6px); } }

.tapp-day2-link-button { position: relative; z-index: 3; border: 0; border-bottom: 1px solid rgba(239, 216, 153, .48); padding: 4px 2px; color: #e9ddb9; background: none; cursor: pointer; font: 600 14px/1.4 Arial, sans-serif; }

.tapp-day2-result {
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(circle at 92% 4%, rgba(77, 116, 141, .2), transparent 25%),
    linear-gradient(135deg, #07101f, #0b1020 48%, #0a0c18);
}
.tapp-day2-result::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(224, 190, 112, .14); border-radius: 21px; pointer-events: none; }
.tapp-day2-result-header { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 0 0 35px; }
.tapp-day2-result-header .tapp-day2-eyebrow { margin: 0; }
.tapp-day2-result-date { margin: 0; color: #d8d0bd; font: 600 14px/1.4 Arial, sans-serif; }

.tapp-day2-result-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, 365px) minmax(0, 1fr); gap: clamp(34px, 6vw, 68px); align-items: center; }
.tapp-day2-card-figure { position: relative; margin: 0; padding: 14px; }
.tapp-day2-card-figure img { position: relative; z-index: 2; display: block; width: 100%; height: auto; border-radius: 20px; filter: drop-shadow(0 24px 32px rgba(0,0,0,.55)); }
.tapp-day2-card-halo { position: absolute; z-index: 0; inset: 12% -9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(97, 204, 211, .2), rgba(209, 166, 78, .13) 45%, transparent 70%); filter: blur(12px); }

.tapp-day2-card-kicker { margin: 0 0 8px; color: var(--day2-cyan); font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.tapp-day2-reading > h2 { font-size: clamp(38px, 5vw, 60px); }
.tapp-day2-motto { margin: 8px 0 27px; color: var(--day2-gold-soft); font: italic 21px/1.45 Georgia, serif; }

.tapp-day2-reading-block { display: flex; gap: 15px; padding: 18px 0; border-top: 1px solid var(--day2-line); }
.tapp-day2-reading-block > span { flex: 0 0 28px; color: var(--day2-gold); font-size: 20px; text-align: center; }
.tapp-day2-reading-block h3 { margin: 0 0 7px; color: var(--day2-ivory); font: 700 13px/1.35 Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.tapp-day2-reading-block p { margin: 0; color: #d4d1ca; font: 15px/1.62 Arial, sans-serif; }
.tapp-day2-reading-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tapp-day2-gesture { position: relative; margin: 15px 0 24px; padding: 20px 24px 20px 31px; border: 1px solid rgba(220, 181, 93, .3); border-left: 3px solid var(--day2-gold); border-radius: 8px 18px 18px 8px; background: linear-gradient(105deg, rgba(199, 153, 66, .12), rgba(70, 158, 169, .07)); }
.tapp-day2-gesture::before { content: "“"; position: absolute; left: 11px; top: 6px; color: rgba(235, 204, 128, .35); font-size: 42px; }
.tapp-day2-gesture p { margin: 0; }
.tapp-day2-gesture-label { margin-bottom: 7px !important; color: var(--day2-gold-soft); font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.tapp-day2-gesture p:last-child { color: #f5eedc; font: 17px/1.55 Georgia, serif; }

.tapp-day2-button-share { color: #f4e6bd; border-color: rgba(221, 184, 104, .43); background: rgba(7, 17, 35, .68); }
.tapp-day2-button-share:hover { border-color: var(--day2-cyan); background: rgba(19, 47, 66, .68); }
.tapp-day2-feedback, .tapp-day2-form-error { min-height: 18px; margin: 9px 0 0; color: #9edce0; font: 13px/1.4 Arial, sans-serif; }

.tapp-day2-personal { position: relative; z-index: 1; margin-top: 68px; padding: clamp(26px, 5vw, 50px); border: 1px solid rgba(113, 211, 219, .22); border-radius: 24px; background: linear-gradient(140deg, rgba(18, 37, 58, .84), rgba(16, 17, 35, .92)); }
.tapp-day2-personal::after { content: ""; position: absolute; right: 34px; top: 24px; width: 90px; height: 90px; border: 1px solid rgba(225, 192, 112, .15); border-radius: 50%; box-shadow: inset 0 0 0 19px rgba(115, 211, 219, .025), inset 0 0 0 20px rgba(225, 192, 112, .08); pointer-events: none; }
.tapp-day2-personal-intro { max-width: 690px; }
.tapp-day2-personal-intro h2 { font-size: clamp(32px, 4.5vw, 48px); }
.tapp-day2-personal-intro > p:last-child { margin: 15px 0 0; color: #cbc8c1; font: 16px/1.65 Arial, sans-serif; }
.tapp-day2-personal-form { margin-top: 28px; }
.tapp-day2-personal-form label { display: block; margin-bottom: 8px; color: #eee4c9; font: 700 13px/1.4 Arial, sans-serif; }
.tapp-day2-name-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; max-width: 735px; }
.tapp-day2-name-row input { min-width: 0; height: 52px; border: 1px solid rgba(225, 191, 111, .32); border-radius: 999px; padding: 0 20px; color: #fff9e8; background: rgba(3, 9, 21, .68); font: 16px/1 Arial, sans-serif; }
.tapp-day2-name-row input::placeholder { color: #8e93a2; }
.tapp-day2-button-secondary { color: #07101d; background: linear-gradient(135deg, #86dde1, #c5d9bc 58%, #e4c879); }
.tapp-day2-private { max-width: 760px; margin: 10px 0 0; color: #9ea3ad; font: 12px/1.5 Arial, sans-serif; }
.tapp-day2-private span { color: var(--day2-cyan); }
.tapp-day2-form-error { color: #f2b8ad; }

.tapp-day2-personal-result { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 36px; padding-top: 33px; border-top: 1px solid rgba(215, 179, 96, .22); }
.tapp-day2-personal-result figure { margin: 0; }
.tapp-day2-personal-result img { display: block; width: 100%; height: auto; border-radius: 13px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.tapp-day2-personal-result h3 { margin: 0; color: var(--day2-ivory); font: 400 clamp(31px, 4vw, 44px)/1.1 Georgia, serif; }
.tapp-day2-personal-result > div > p:not(.tapp-day2-card-kicker):not(.tapp-day2-motto):not(.tapp-day2-feedback) { color: #d6d2ca; font: 15px/1.65 Arial, sans-serif; }
.tapp-day2-relation { margin: 22px 0; padding: 17px 20px; border-left: 2px solid var(--day2-cyan); background: rgba(84, 178, 189, .075); }
.tapp-day2-relation strong { color: #a7e5e7; font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tapp-day2-relation p { margin: 6px 0 0; color: #ddd9d1; font: 14px/1.55 Arial, sans-serif; }
.tapp-day2-tomorrow { position: relative; z-index: 1; margin: 34px 0 0; color: #a5a7ad; text-align: center; font: 13px/1.5 Arial, sans-serif; }
.tapp-day2-tomorrow span { color: var(--day2-gold); }

.tapp-day2-error { margin: 18px 0; padding: 16px 18px; border: 1px solid #a84f4f; border-radius: 12px; color: #ffe2dd; background: #3a161b; font: 14px/1.55 Arial, sans-serif; }
.tapp-day2-live { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 820px) {
  .tapp-day2-hero { min-height: 650px; align-items: end; padding: 40px 32px 48px; background-position: 62% center; }
  .tapp-day2-hero::before { background: linear-gradient(0deg, rgba(3,7,19,.99) 0%, rgba(3,7,19,.93) 46%, rgba(3,7,19,.2) 100%); }
  .tapp-day2-hero-copy { width: 100%; }
  .tapp-day2-hero-deck { right: 50%; top: 30px; bottom: auto; width: 120px; transform: translateX(50%); animation: none; }
  .tapp-day2-orbit-one { width: 235px; height: 115px; }.tapp-day2-orbit-two { width: 200px; height: 200px; }
  .tapp-day2-result-grid { grid-template-columns: 270px minmax(0, 1fr); gap: 31px; align-items: start; }
  .tapp-day2-reading-pair { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 650px) {
  .tapp-day2 { width: min(100%, calc(100vw - 16px)); margin-top: 15px; }
  .tapp-day2-hero, .tapp-day2-ceremony, .tapp-day2-result { border-radius: 22px; }
  .tapp-day2-hero { min-height: 640px; padding: 32px 22px 34px; }
  .tapp-day2-hero h2 { font-size: clamp(40px, 12vw, 53px); }
  .tapp-day2-lead { font-size: 16px; line-height: 1.6; }
  .tapp-day2-date { margin: 20px 0; }
  .tapp-day2-button { width: 100%; }
  .tapp-day2-hero-deck { top: 27px; bottom: auto; width: 116px; }
  .tapp-day2-ceremony { min-height: 590px; padding: 36px 16px 25px; }
  .tapp-day2-stage { width: 290px; height: 335px; transform: scale(.92); transform-origin: center center; margin-top: 6px; }
  .tapp-day2-result { padding: 35px 20px; }
  .tapp-day2-result-header { display: block; margin-bottom: 22px; }
  .tapp-day2-result-date { margin-top: 8px; }
  .tapp-day2-result-grid { display: block; }
  .tapp-day2-card-figure { width: min(82vw, 320px); margin: 0 auto 37px; padding: 8px; }
  .tapp-day2-reading > h2 { font-size: clamp(38px, 12vw, 50px); }
  .tapp-day2-reading-block { padding: 17px 0; }
  .tapp-day2-gesture { padding-right: 17px; }
  .tapp-day2-personal { margin-top: 50px; padding: 27px 18px; }
  .tapp-day2-personal::after { display: none; }
  .tapp-day2-name-row { display: block; }
  .tapp-day2-name-row input { width: 100%; }
  .tapp-day2-button-secondary { margin-top: 12px; }
  .tapp-day2-personal-result { grid-template-columns: 125px minmax(0, 1fr); gap: 19px; align-items: start; }
  .tapp-day2-personal-result .tapp-day2-button { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .tapp-day2-hero { min-height: 665px; }
  .tapp-day2-hero-deck { top: 27px; bottom: auto; }
  .tapp-day2-personal-result { display: block; }
  .tapp-day2-personal-result figure { width: 155px; margin: 0 auto 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .tapp-day2 *, .tapp-day2 *::before, .tapp-day2 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .tapp-day2-hero, .tapp-day2-ceremony, .tapp-day2-result, .tapp-day2-personal, .tapp-day2-gesture { border: 2px solid CanvasText; }
  .tapp-day2-button { border: 2px solid ButtonText; color: ButtonText; background: ButtonFace; }
  .tapp-day2-eyebrow, .tapp-day2-card-kicker, .tapp-day2-motto { color: CanvasText; }
}
