:root { --display-font: jaf-domus-titling-web, Montserrat, sans-serif; --orange: #ff6702; --pink: #ec008c; }
body { font-family: Montserrat, Arial, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
:root { --adopt-ease: cubic-bezier(.22, 1, .36, 1); --page-fade: 280ms; }
html { scroll-behavior: smooth; }
.page-transition {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 42%, #ffe8b7, #f7b9e0 52%, #b0418a 100%);
  clip-path: circle(0% at 50% 50%); transform: scale(1.06);
  transition: opacity var(--page-fade) var(--adopt-ease), transform var(--page-fade) var(--adopt-ease);
}
body.page-leaving .page-transition {
  opacity: 1; transform: scale(1); clip-path: circle(150% at 50% 50%);
}
body.page-enter .page-transition {
  opacity: 1; transform: scale(1); clip-path: circle(150% at 50% 50%);
  animation: pageReveal .58s var(--adopt-ease) both;
}
@keyframes pageReveal {
  from { clip-path: circle(150% at 50% 50%); opacity: 1; }
  70% { opacity: 1; }
  to { clip-path: circle(0% at 50% 50%); opacity: 0; }
}
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ffb96d; outline-offset: 5px; }
[hidden] { display: none !important; }
.giveaway-header { animation: slideDownHeader 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; height: 80px; display: flex; align-items: center; gap: 24px; padding: 0 32px; background: #2e2e2e; color: #fff; position: relative; z-index: 20; box-shadow: 0 2px 8px #0004; }
.footer-discord-wrap {
  position: absolute;
  left: 50%;
  bottom: 120px; transform: translateX(-50%) scale(1.08); animation: discordFadeUp 1.2s 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  z-index: 7;
  display: grid;
  place-items: center;
  margin: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.footer-discord-wrap .site-discord { pointer-events: auto; }
.site-discord {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid #96a0ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, #8b95ff, transparent 42%),
    linear-gradient(160deg,#5865f2,#3d49d6);
  color: white;
  font: 800 16px/1 var(--display-font);
  text-transform: uppercase;
  box-shadow: 0 5px 0 #2d37b3, 0 12px 22px #5865f23d;
  text-decoration: none;
  overflow: hidden;
}
.site-discord svg { width: 24px; height: 24px; flex-shrink: 0; }
.site-discord::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,transparent 34%,#ffffff55 49%,transparent 64%);
  transform: translateX(-120%);
  animation: discordShine 2.8s var(--adopt-ease) infinite;
}
.site-discord:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 7px 0 #2d37b3,0 16px 28px #5865f252; }
.site-discord:active { transform: translateY(2px); box-shadow: 0 2px 0 #2d37b3; }
.giveaway-brand { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-decoration: none; flex-shrink: 0; }
.giveaway-wordmark { font: 800 30px/.95 var(--display-font); letter-spacing: -.035em; color: white; white-space: nowrap; }
.brand-note { font: 700 8px/1 Montserrat, sans-serif; letter-spacing: .17em; color: #f5d2e8; }
.giveaway-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.giveaway-nav a { font-size: 13px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.header-cta { min-width: 148px; height: 54px; border-radius: 16px; background: var(--orange); color: white; font: 800 20px/1 var(--display-font); }
.header-cta:hover { filter: brightness(1.1); }
#theme-toggle { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: var(--orange); color: white; display: grid; place-items: center; }
#theme-toggle svg { width: 44px; height: 44px; }
#main { margin: 0; }
#hero.giveaway-hero { padding: 36px 20px 178px; }
#hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.giveaway-content { width: min(760px,100%); position: relative; z-index: 3; margin-inline: auto; text-align: center; color: white; }
.hero-artwork-wrap { display: flex; justify-content: center; align-items: center; width: 100%; margin: 0 auto 34px; animation: heroFloatIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.giveaway-content .hero-artwork { width: min(520px,75vw); height: auto; max-height: 32vh; object-fit: contain; margin: 0; filter: drop-shadow(0 18px 32px #24053155); animation: logoFloat 4s ease-in-out infinite, logoGlow 4s ease-in-out infinite; }
.giveaway-eyebrow { animation: heroTextSlide 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) backwards; display: inline-block; padding: 7px 13px; border: 1px solid #ffffff75; border-radius: 30px; font-size: 10px; font-weight: 800; letter-spacing: .1em; margin-bottom: 12px; background: #50006555; }
.giveaway-content h1 { font: 800 clamp(36px,4.5vw,58px)/.98 var(--display-font); letter-spacing: -.025em; margin: 0 auto 13px; text-wrap: balance; animation: heroTextSlide 1s 0.3s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.giveaway-intro { animation: heroTextSlide 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards; max-width: 580px; margin: 0 auto 16px; font-size: clamp(12px,1vw,15px); line-height: 1.6; text-wrap: pretty; }
.collection-details { animation: heroTextSlide 1s 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 11px; font-size: 10px; line-height: 1.5; margin: 0 0 16px; }
.collection-details i { color: #ffd79c; font-style: normal; }
#home-selection { margin-top: 18px; font-size: 11px; line-height: 1.5; animation: heroTextSlide 1s 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
#hero-play-button-link,
.giveaway-button-wrap { width: min(300px,78vw); margin: 0 auto; animation: heroTextSlide 1s 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
#hero-play-button-link { display: grid; place-items: center; width: 100%; min-height: 76px; padding: 18px 22px; font: 800 31px/1 var(--display-font); color: var(--orange); background: linear-gradient(#fff 60%,#eee); border: 2px solid #fff; border-radius: 20px; box-shadow: 0 6px 0 #ffffff60,0 12px 25px #36085040; transition: box-shadow .2s; }
#hero-play-button-link:hover { box-shadow: 0 6px 0 #ffffff90,0 16px 28px #36085066; }
#hero-play-button-link:active { box-shadow: 0 3px 0 #ffffff60,0 6px 15px #36085040; }
.giveaway-note { margin: 14px auto 0; font-size: 10px; line-height: 1.5; color: #f2d5ff; }
#video-toggle { bottom: 9.5rem !important; }
#video-toggle svg { width: 38px; height: 38px; }
body.picker-open { overflow: hidden; }

/* Transparent dialogs keep the actual homepage and its video visible. */
.single-picker { position: fixed; inset: 0; margin: auto; padding: 0; border: 0; max-width: none; max-height: calc(100dvh - 24px); overflow: auto; }
.single-picker { width: min(580px,calc(100vw - 32px)); height: fit-content; background: #fffaf6; color: #543457; scrollbar-width: thin; border: 3px solid white; border-radius: 32px; box-shadow: 0 16px 80px #23052a66; }
.single-picker::backdrop { background: rgb(35 10 44 / 40%); backdrop-filter: blur(5px); }
.single-picker-shell { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 28px 26px; background: radial-gradient(ellipse at 50% 40%,#fce0f3,transparent 65%); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 10; width: 36px; height: 36px; background: #f7e9f1; color: #85466f; border: 0; border-radius: 50%; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.dialog-close:hover { background: #fff1df; }
.single-picker-heading { text-align: center; padding: 5px 22px 28px; position: relative; z-index: 2; }
.picker-kicker { display: block; font-weight: 800; font-size: 8px; letter-spacing: .13em; color: #a85b92; }
.single-picker-heading h2 { font: 800 clamp(27px,3.3vw,36px)/1.05 var(--display-font); letter-spacing: -.015em; margin: 12px 0 10px; color: #9b2374; text-wrap: balance; }
.single-picker-heading p { font-size: 11px; line-height: 1.6; color: #8b7185; margin: 0; }
.single-wheel { width: min(360px,calc(100vw - 100px),max(240px,calc(100dvh - 365px))); aspect-ratio: 1; flex-shrink: 0; position: relative; container-type: inline-size; border-radius: 50%; background: linear-gradient(135deg,#fff9f3ed,#fff3e4de),url('/assets/adopt-me/Hot-Spring.webp') center/cover; border: 8px solid white; outline: 3px solid #f3b5d8; box-shadow: 0 8px 0 #f2d2e8,0 15px 35px #a2367d19; margin: 3px 0 25px; }
.single-ring { position: absolute; pointer-events: none; border-radius: 50%; }
.ring-one { inset: -16px; border: 1px solid #eebfda; }
.ring-two { inset: 9px; border: 2px solid #f4a7d4; }
.ring-three { inset: 19px; border: 1px dashed #dd9fc9; }
.single-pet-button { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; z-index: 2; }
.single-pet-button:focus-visible { outline: 4px solid var(--orange); outline-offset: 7px; }
.single-pet-button img { width: 54%; height: 54%; max-width: 150px; max-height: 150px; object-fit: contain; filter: brightness(0) blur(4px); }
.single-pet-button:not(:disabled):hover img { filter: brightness(0) blur(4px) drop-shadow(0 8px 6px #82476840); }
.single-pet-button.is-revealed img { filter: drop-shadow(0 8px 6px #82476855); animation: petReveal .6s cubic-bezier(.2,1.4,.45,1); }
.single-pet-button.is-revealing:not(.is-revealed) img { animation: petCharge .54s ease-in forwards; }
.circle-caption { position: absolute; left: 10%; right: 10%; bottom: 10%; text-align: center; z-index: 3; color: #9b2074; pointer-events: none; }
.circle-caption p { font: 800 5cqw/1 var(--display-font); letter-spacing: -.015em; }
#single-tap-hint { display: block; margin-top: 7px; font-size: max(9px,2.5cqw); font-weight: 800; letter-spacing: .06em; color: #8e6c7e; }
.single-spark { position: absolute; z-index: 4; font-size: 6cqw; color: var(--orange); pointer-events: none; }
.spark-a { top: 14%; left: 10%; transform: rotate(-12deg); }.spark-b { top: 24%; right: 9%; }.spark-c { bottom: 20%; left: 12%; color: #ec008c; }
.single-pet-glow { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle,#ffec94,transparent 70%); opacity: 0; pointer-events: none; }
.single-pet-button.is-revealing .single-pet-glow { animation: glowCharge 1s ease-out; }
.single-pet-flash { position: absolute; inset: 24%; display: grid; place-items: center; font-size: 26cqw; color: #ffbe43; opacity: 0; pointer-events: none; }
.single-pet-button.is-revealing .single-pet-flash { animation: singleFlash .7s .3s ease-out; }
.single-wheel.is-revealing .single-spark { animation: burstStar .9s .3s ease-out; }
#single-status { margin: 0 auto; min-height: 18px; max-width: 430px; font-size: 11px; font-weight: 700; line-height: 1.6; color: #8d6683; text-shadow: none; }
.claim-cta { display: flex; align-items: center; justify-content: center; gap: 24px; width: min(310px,100%); min-height: 58px; padding: 16px 24px; margin-top: 16px; border: 2px solid #ff9c4f; border-radius: 18px; background: linear-gradient(160deg,#ff9236,#ff6702); color: white; text-decoration: none; font: 800 23px/1.1 var(--display-font); box-shadow: 0 5px 0 #cf4900,0 9px 20px #ff670228; transition: transform .18s,box-shadow .18s; }
.claim-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #cf4900,0 12px 24px #ff670238; }
.claim-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #cf4900; }
.claim-note { color: #947a8e; font-size: 9px; line-height: 1.6; text-align: center; margin: 16px 0 0; }

.account-gift { animation: modalFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  width: min(430px,100%);
  margin-top: 6px;
  padding: 24px 22px 22px;
  border: 2px solid #ffd9b5;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, #ffe9c2, transparent 58%),
    linear-gradient(145deg,#fffaf3,#fff3e8);
  box-shadow: 0 14px 36px #a2367d1a;
  text-align: center;
}
.account-gift-profile { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; text-align: left; }
.account-gift-profile img { width: 52px; height: 52px; border: 3px solid #ffb365; border-radius: 50%; object-fit: cover; background: #ffffff88; }
.account-gift-profile small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .14em; color: #b17157; }
.account-gift-profile strong { font: 800 19px/1.15 var(--display-font); color: #7a2d5e; }
.account-gift-pet { animation: petPopIn 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) backwards; position: relative; display: grid; place-items: center; width: 132px; aspect-ratio: 1; margin: 0 auto 10px; border: 3px solid white; outline: 3px solid #f6c1de; border-radius: 50%; background: radial-gradient(circle,#fff5df,#ffe6f3); box-shadow: 0 9px 22px #a2367d1c; }
.account-gift-pet img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 9px 10px #8b467333); }
.account-gift-pet .variant-badge { position: absolute; bottom: -6px; }
.variant-badge { display: inline-grid; place-items: center; min-width: 48px; padding: 6px 10px; border: 2px solid white; border-radius: 12px; background: #ff7d33; color: white; font: 800 12px/1 var(--display-font); box-shadow: 0 3px 0 #cb4b00; }
.account-gift h3 { animation: fadeInUp 0.7s 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards; margin: 4px 0 8px; font: 800 28px/1.05 var(--display-font); color: #a5216f; }
.account-gift h3::after { content: ""; display: block; width: 62px; height: 3px; margin: 8px auto 0; border-radius: 99px; background: linear-gradient(90deg,#ffca68,#ff6f9c); }
.account-gift p { margin: 0; font-size: 11px; line-height: 1.7; color: #8b7185; text-wrap: balance; }
.discord-cta { display: grid; place-items: center; width: 100%; min-height: 55px; margin: 17px 0 10px; border-radius: 17px; background: linear-gradient(160deg,#7986ff,#5865f2); color: white; font: 800 20px/1 var(--display-font); box-shadow: 0 5px 0 #3c4ac9,0 11px 20px #5865f22e; text-decoration: none; }
.discord-cta:hover { filter: brightness(1.08); }
.ghost-cta { width: 100%; min-height: 48px; border: 2px solid #ffd0ae; border-radius: 16px; background: #fffaf3; color: #b24f14; font: 800 14px/1.2 var(--display-font); }
.ghost-cta:hover { background: #fff2df; }
.account-gift .key-help { margin-top: 12px; font-size: 9px; color: #a58a9d; }

.account-gift .account-rise {
  opacity: 0;
  transform: translateY(14px) scale(.97);
  animation: accountRise .48s var(--adopt-ease) forwards;
}
.account-gift .account-rise:nth-child(2) { animation-delay: 80ms; }

.account-gift-pet.pet-float { animation: petFloat 3.2s ease-in-out infinite; }
.account-gift-pet.pet-float::after {
  content: "✦";
  position: absolute;
  inset: -20px -24px;
  display: grid;
  place-items: center;
  color: #ffca68;
  font-size: 22px;
  text-shadow: 0 0 14px #ffb92f88;
  animation: giftSpark 2.2s ease-in-out infinite;
  pointer-events: none;
}
.discord-cta { position: relative; overflow: hidden; }
.discord-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,transparent 32%,#ffffff55 48%,transparent 64%);
  transform: translateX(-120%);
  animation: discordShine 2.6s var(--adopt-ease) infinite;
}

@keyframes accountRise {
  0% { opacity: 0; transform: translateY(14px) scale(.97); }
  70% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes petFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-7px) rotate(1.2deg); }
}
@keyframes giftSpark {
  0%,100% { opacity: .15; transform: scale(.92) rotate(-8deg); }
  50% { opacity: .85; transform: scale(1.08) rotate(8deg); }
}
@keyframes discordShine { to { transform: translateX(120%); } }

@keyframes petCharge { 25% { transform: scale(.94) rotate(-6deg); } 55% { transform: scale(.88) rotate(6deg); } 100% { transform: scale(.94); } }
@keyframes petReveal { 0% { transform: scale(.75); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes glowCharge { 0% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes singleFlash { 0% { opacity: 0; transform: scale(.3) rotate(-15deg); } 35% { opacity: .9; } 100% { opacity: 0; transform: scale(1.55) rotate(30deg); } }
@keyframes burstStar { 40% { transform: scale(1.65) rotate(20deg); } }
@media(max-width: 850px) {
  .giveaway-header { animation: slideDownHeader 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; padding: 0 18px; gap: 14px; }
  .giveaway-nav .nav-home { display: none; }
  .giveaway-nav { gap: 12px; }
}
@media(max-width: 590px) {
  .giveaway-header { animation: slideDownHeader 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; height: 72px; padding: 0 12px; gap: 9px; }
  .giveaway-wordmark { font-size: clamp(19px,5.3vw,28px); letter-spacing: -.045em; }
  .brand-note { font-size: 7px; }
  .header-cta { height: 42px; min-width: 90px; font-size: 16px; border-radius: 12px; }
  #theme-toggle { width: 39px; height: 42px; border-radius: 12px; }
  #theme-toggle svg { width: 33px; height: 33px; }
  #hero.giveaway-hero { min-height: calc(100svh - 72px); padding: 26px 17px 158px; }
  .giveaway-content .hero-artwork { width: min(410px,88vw); max-height: 34vh; }
  .giveaway-eyebrow { animation: heroTextSlide 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) backwards; font-size: 8px; padding: 7px 10px; }
  .giveaway-note { max-width: 280px; font-size: 9px; }
  .collection-details { animation: heroTextSlide 1s 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; gap: 9px; font-size: 10px; }
  .single-picker { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 26px; }
  .single-picker-shell { padding: 26px 18px 22px; }
  .single-picker-heading { padding: 15px 15px 24px; }
  .single-picker-heading h2 { font-size: 27px; }
  .single-picker-heading p { font-size: 10px; }
  .picker-kicker { font-size: 7px; }
  .single-wheel { width: min(320px,calc(100vw - 90px),max(220px,calc(100dvh - 350px))); border-width: 6px; outline-width: 3px; }
  .ring-one { inset: -14px; }.ring-two { inset: 6px; }.ring-three { inset: 13px; }
  .dialog-close { top: 9px; right: 9px; width: 30px; height: 30px; font-size: 23px; }
  #single-status { font-size: 10px; }
}
@media(prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
}

@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-transition { display: none; }
}

/* Crisp native text and original assets; blur only the mystery silhouette. */
.giveaway-nav .header-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid #ffffff50; border-radius: 13px; font: 800 18px/1 var(--display-font); }
.giveaway-nav .header-login:hover { background: #ffffff12; }
.silhouette-question { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; font: 800 clamp(65px,21cqw,98px)/1 var(--display-font); color: #fff; text-shadow: 0 4px 0 #882763,0 5px 12px #240b3199; -webkit-text-stroke: 2px #fff; }
.single-pet-button.is-revealed .silhouette-question { opacity: 0; visibility: hidden; }
.header-account { display: flex; align-items: center; gap: 10px; margin-left: 6px; flex-shrink: 0; }
.header-account img { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; border: 2px solid #ffb365; background: #ffffff33; }
.header-account span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 14px/1.2 var(--display-font); color: #fff; }
.header-account[hidden] { display: none; }
.selector-status { text-align: center; margin: 25px 0 8px; font-size: 12px; line-height: 1.6; text-shadow: 0 1px 4px #32103e; }
@media(max-width:590px) {
  .giveaway-wordmark { font-size: clamp(16px,4.4vw,24px); }
  .giveaway-header { animation: slideDownHeader 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards; gap: 7px; }
  .giveaway-nav { gap: 7px; }
  .giveaway-nav .header-login { padding: 0 9px; min-height: 40px; font-size: 14px; }
  .header-cta { min-width: 75px; font-size: 14px; }
  #theme-toggle { width: 34px; height: 40px; }
  #theme-toggle svg { width: 29px; height: 29px; }
}
@media(max-width:380px) {
  .giveaway-nav .header-cta { display: none; }
  .claim-cta { font-size: 18px; gap: 12px; padding-inline: 18px; white-space: nowrap; }
  .header-account span { max-width: 84px; font-size: 12px; }
  .header-account img { width: 34px; height: 34px; }
}

/* Adopt Me-inspired polish: soft cards, layered rings and calm motion. */
:root {
  --adopt-pink: #f58bc9;
  --adopt-pink-deep: #b52a80;
  --adopt-cream: #fffaf5;
  --adopt-gold: #ffc84d;
  --adopt-ease: cubic-bezier(.22, 1, .36, 1);
}

.giveaway-header,
.giveaway-nav a,
.header-cta,
#theme-toggle,
#hero-play-button-link,
.dialog-close,
.claim-cta {
  transition:
    transform .38s var(--adopt-ease),
    box-shadow .38s var(--adopt-ease),
    background-color .38s var(--adopt-ease),
    filter .38s var(--adopt-ease),
    color .38s var(--adopt-ease);
}

.giveaway-header { animation: slideDownHeader 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  background: linear-gradient(180deg, #302d31, #29272b);
  box-shadow: 0 8px 30px #19091f33;
}

.giveaway-nav .header-login:hover {
  transform: translateY(-2px);
  background: #ffffff18;
  box-shadow: 0 6px 18px #0003;
}

.header-cta:hover,
#theme-toggle:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 8px 20px #ff670255;
}

.header-cta:active,
#theme-toggle:active,
#hero-play-button-link:active,
.claim-cta:active {
  transform: translateY(2px) scale(.98);
}

#hero-play-button-link {
  position: relative;
  overflow: hidden;
}

#hero-play-button-link::after,
.claim-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, #fff8 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .8s var(--adopt-ease);
}

#hero-play-button-link:hover::after,
.claim-cta:hover::after {
  transform: translateX(130%);
}

.single-picker {
  isolation: isolate;
  overscroll-behavior: contain;
  animation: pickerIn .55s var(--adopt-ease) both;
}

.single-picker::backdrop {
  animation: backdropIn .55s ease both;
  background: rgb(35 10 44 / 48%);
}

.single-picker-shell {
  overflow: hidden;
  border-radius: 29px;
}

.single-picker-shell::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: 205px;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fff 0 18%, #ffdff2 42%, transparent 70%);
  opacity: .72;
  pointer-events: none;
  z-index: -1;
}

.single-picker-heading h2 {
  text-shadow: 0 2px 0 #fff, 0 8px 22px #c52a8330;
}

.single-picker-heading p,
.selector-status {
  transition: opacity .35s ease, transform .35s var(--adopt-ease);
}

.single-wheel {
  border: 10px solid #fff;
  outline: 3px solid #f6b5dc;
  box-shadow:
    0 0 0 8px #fff8,
    0 0 0 11px #f3a5d4,
    0 12px 0 #e9b3d2,
    0 25px 48px #7f2a651f;
  background:
    radial-gradient(circle at 50% 35%, #fffdf7dd, #fff0f7db 70%),
    url('/assets/adopt-me/Hot-Spring.webp') center/cover;
  transition: transform .55s var(--adopt-ease), box-shadow .55s var(--adopt-ease);
}

.single-wheel:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 0 0 8px #fff9,
    0 0 0 11px #f3a5d4,
    0 14px 0 #e9b3d2,
    0 30px 58px #7f2a6530;
}

.ring-one {
  inset: -20px;
  border: 2px solid #ffd2ea;
  box-shadow: 0 0 0 5px #fff4, 0 0 28px #ffb4dc66;
  animation: ringSpin 18s linear infinite;
}

.ring-two {
  inset: 10px;
  border: 2px solid #f6b3d8;
  box-shadow: inset 0 0 20px #fff9;
}

.ring-three {
  inset: 22px;
  border: 2px dashed #e8a7cf;
  animation: ringSpinReverse 24s linear infinite;
}

.single-pet-button {
  transition: transform .4s var(--adopt-ease), filter .4s ease;
}

.single-pet-button:not(:disabled):hover {
  transform: scale(1.025);
}

.single-pet-button:not(:disabled):active {
  transform: scale(.965);
}

.single-pet-button img {
  max-width: 190px;
  max-height: 190px;
  filter: brightness(0) blur(4px) drop-shadow(0 10px 8px #8b467333);
  transition: filter .8s var(--adopt-ease), transform .8s var(--adopt-ease), opacity .5s ease;
}

.single-pet-button.is-revealing img {
  animation: petCharge .72s var(--adopt-ease) forwards;
}

.single-pet-button.is-revealed img {
  filter: drop-shadow(0 15px 12px #7f3c6638);
  animation: adoptPetReveal .9s var(--adopt-ease) both;
}

.silhouette-question {
  transition: opacity .45s ease, transform .55s var(--adopt-ease);
}

.single-pet-button.is-revealed .silhouette-question {
  transform: translate(-50%, -50%) scale(.65) rotate(-12deg);
}

.single-pet-button.is-revealing .single-pet-glow {
  animation: adoptGlow 1.1s var(--adopt-ease) both;
}

.single-pet-button.is-revealing .single-pet-flash {
  animation: adoptFlash .8s .18s var(--adopt-ease) both;
}

.single-wheel.is-revealing {
  animation: revealShake .7s var(--adopt-ease) both;
}

.single-wheel.is-revealing .single-spark {
  animation: adoptBurst .9s var(--adopt-ease) both;
}

.single-spark {
  color: var(--adopt-gold);
  text-shadow: 0 0 12px #ffb92f99;
  transition: transform .4s var(--adopt-ease), color .4s ease;
}

.circle-caption {
  transition: transform .45s var(--adopt-ease);
}

.single-pet-button.is-revealed ~ .circle-caption {
  transform: translateY(3px);
}

.claim-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffad4a, #ff6702 65%, #e75400);
  border-color: #ffc17a;
  box-shadow: 0 6px 0 #c84a00, 0 14px 28px #ff67033b;
}

.claim-cta:hover {
  box-shadow: 0 8px 0 #c84a00, 0 18px 34px #ff670350;
}

@keyframes pickerIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringSpinReverse { to { transform: rotate(-360deg); } }

@keyframes adoptPetReveal {
  0% { opacity: .15; transform: scale(.62) translateY(15px) rotate(-8deg); }
  55% { opacity: 1; transform: scale(1.12) translateY(-5px) rotate(3deg); }
  78% { transform: scale(.96) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes adoptGlow {
  0% { opacity: 0; transform: scale(.55); }
  35% { opacity: .95; }
  100% { opacity: 0; transform: scale(1.65); }
}

@keyframes adoptFlash {
  0% { opacity: 0; transform: scale(.2) rotate(-25deg); }
  35% { opacity: 1; transform: scale(1.1) rotate(8deg); }
  100% { opacity: 0; transform: scale(1.65) rotate(30deg); }
}

@keyframes adoptBurst {
  0% { opacity: 0; transform: scale(.65) rotate(-18deg); }
  35% { opacity: 1; transform: scale(1.5) rotate(16deg); }
  100% { opacity: .25; transform: scale(1) rotate(0); }
}

@keyframes revealShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px) rotate(-.6deg); }
  50% { transform: translateX(4px) rotate(.6deg); }
  75% { transform: translateX(-2px) rotate(-.25deg); }
}

@media (prefers-reduced-motion: reduce) {
  .single-picker,
  .single-picker::backdrop,
  .single-wheel,
  .ring-one,
  .ring-three,
  .account-gift .account-rise,
  .account-gift-pet.pet-float,
  .account-gift-pet.pet-float::after,
  .discord-cta::after,
  .site-discord::after {
    animation: none !important;
  }
  .account-gift .account-rise { opacity: 1; transform: none; }
}

.account-preview { display: none; align-items: center; gap: 8px; margin-left: 4px; color: #fff; font-size: 11px; font-weight: 800; }
.account-preview:not([hidden]) { display: flex; }
.giveaway-nav .header-account:not([hidden]) { margin-left: 8px; }
.giveaway-nav .header-account:not([hidden]) + .header-cta { margin-left: 0; }
.giveaway-nav .header-account:not([hidden]) { margin-left: 8px; }
.giveaway-nav .header-account:not([hidden]) + .header-cta { margin-left: 0; }
.account-preview img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; border: 2px solid #ffb365; background: #ffffff33; }

.account-preview [data-profile-name] { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 650px) { .account-preview [data-profile-name] { max-width: 60px; } .login-header .back-link { font-size: 9px; } }


/* Hero animations */
@keyframes heroFloatIn {
  0% { opacity: 0; transform: translateY(-30px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroTextSlide {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 18px 32px #24053155); }
  50% { filter: drop-shadow(0 22px 42px #24053188) brightness(1.05); }
}

@keyframes dividerPulse {
  0%, 100% { transform: translate(-25%, 2%) scale(1); filter: drop-shadow(2px 27px 60px black) brightness(var(--paper-smear-brightness-filter)); }
  50% { transform: translate(-25%, 2%) scale(1.02); filter: drop-shadow(2px 30px 70px #00000088) brightness(calc(var(--paper-smear-brightness-filter) * 1.1)); }
}

@keyframes sparkleRotate {
  0% { transform: rotate(0deg) scale(1); opacity: 0.7; }
  50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.7; }
}

@keyframes discordFadeUp {
  0% { opacity: 0; transform: translateX(-50%) translateY(30px) scale(1.08); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.08); }
}

@keyframes slideDownHeader {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes modalFadeIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes petPopIn {
  0% { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  60% { transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}