:root{
  --dah-bg:#0b1019;
  --dah-bg-soft:#101827;
  --dah-panel:#0e1521;
  --dah-panel-2:#0c1320;
  --dah-border:rgba(116, 196, 255, 0.18);
  --dah-text:#f3f6fb;
  --dah-muted:#b4c0d3;
  --dah-gold:linear-gradient(180deg, #ffbf45, #ff9514);
  --dah-green:linear-gradient(180deg, #1be6aa, #0da26f);
  --dah-shadow:0 18px 50px rgba(0,0,0,.28);
}

body.home,
.home-page,
.dah-page{
  background:var(--dah-bg);
  color:var(--dah-text);
}

.home-page{overflow:hidden;}
.home-page .container{width:min(1240px, calc(100% - 32px));}
.dah-page{padding-bottom:48px;}
.dah-section{position:relative;}
.dah-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-size:12px;
  letter-spacing:.28em;
  font-weight:800;
  color:#27e5bf;
  text-transform:uppercase;
}
.dah-heading{margin-bottom:30px;}
.dah-heading h2,
.dah-highlight-card__copy h2,
.dah-cta__inner h2{
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(30px,4vw,56px);
  line-height:1.02;
  font-weight:900;
}
.dah-heading h2 span,
.dah-hero__title span,
.dah-highlight-card__copy h2 span,
.dah-cta__inner h2 span,
.dah-featured-pets .dah-heading h2 span,
.dah-why-play .dah-heading h2 span{color:#ffbe39;}
.dah-heading p,
.dah-highlight-card__copy p,
.dah-cta__inner p{margin:0;color:var(--dah-muted);font-size:17px;line-height:1.65;}
.dah-heading--center{text-align:center;max-width:860px;margin-inline:auto  ;margin-bottom:34px;}
.dah-heading--split{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px;}
.dah-heading--split h2{font-size:clamp(28px,3vw,44px);margin:0 0 6px;}

.dah-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:800;
  font-size:16px;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.dah-btn:hover{transform:translateY(-2px);}
.dah-btn--gold{
  color:#1b1205;
  background:var(--dah-gold);
  box-shadow:0 10px 30px rgba(255,149,20,.28);
}
.dah-btn--ghost{
  color:#f1f6ff;
  background:rgba(10, 18, 29, 0.75);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.dah-btn--green{
  color:#ecfff8;
  background:rgba(11, 50, 41, 0.9);
  border:1px solid rgba(43, 237, 174, .35);
  box-shadow:0 14px 30px rgba(11, 162, 111, .22);
}
.dah-btn--small{min-height:46px;padding:11px 22px;font-size:15px;}

.dah-hero{
  position:relative;
  padding:34px 0 0;
  background:
    linear-gradient(90deg, rgba(6,13,24,.94) 0%, rgba(6,13,24,.82) 36%, rgba(6,13,24,.46) 60%, rgba(6,13,24,.28) 100%),
    url('../images/desktopherohome.webp') center/cover no-repeat;
  isolation:isolate;
}
.dah-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,16,25,.05) 0%, rgba(11,16,25,.08) 60%, #0b1019 100%);
  pointer-events:none;
  z-index:-1;
}
.dah-hero__container{
  min-height:700px;
  display:grid;
  grid-template-columns:minmax(0, 560px) minmax(0, 1fr);
  gap:28px;
  align-items:center;
  padding-top:20px;
  padding-bottom:110px;
}
.dah-hero__content{position:relative;z-index:3;padding:30px 0 20px;}
.dah-hero__title{
  margin:0 0 18px;
  font-size:clamp(52px, 6.1vw, 88px);
  line-height:.96;
  letter-spacing:-.04em;
  font-weight:900;
  color:#fff;
}
.dah-hero__text{max-width:520px;margin:0 0 26px;color:#eef4ff;font-size:19px;line-height:1.65;}
.dah-hero__actions{display:flex;flex-wrap:wrap;gap:14px;}
.dah-hero__art{position:relative;align-self:end;}
.dah-hero__art img{
  width:min(780px, 100%);
  margin-left:auto;
  display:block;
  filter:drop-shadow(0 16px 40px rgba(0,0,0,.35));
}

.dah-feature-bar{margin-top:-68px;position:relative;z-index:5;}
.dah-feature-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(76, 170, 213, 0.22);
  background:linear-gradient(180deg, rgba(10,22,33,.95), rgba(8,18,29,.96));
  box-shadow:var(--dah-shadow);
  backdrop-filter:blur(8px);
}
.dah-feature-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:22px 20px;
  border-right:1px solid rgba(255,255,255,.08);
}
.dah-feature-item:last-child{border-right:0;}
.dah-feature-icon{
  flex:0 0 44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,191,69,.12);
  color:#ffbe39;
  font-size:24px;
  line-height:1;
  font-weight:800;
}
.dah-feature-item h3{margin:0 0 6px;font-size:22px;line-height:1.1;font-weight:800;color:#fff;}
.dah-feature-item p{margin:0;color:var(--dah-muted);font-size:14px;line-height:1.45;}

.dah-explore{padding:52px 0 22px;}
.dah-mode-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.dah-mode-card{
  position:relative;
  min-height:264px;
  border-radius:22px;
  overflow:hidden;
  background:var(--dah-panel);
  border:1px solid rgba(56, 224, 181, .18);
  box-shadow:var(--dah-shadow);
}
.dah-mode-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(6,13,24,.92) 0%, rgba(6,13,24,.58) 52%, rgba(6,13,24,.18) 100%), var(--card-bg) center/cover no-repeat;
}
.dah-mode-card__content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:28px;}
.dah-mode-card h3{margin:0 0 8px;font-size:23px;color:#fff;}
.dah-mode-card p{margin:0 0 20px;max-width:280px;color:#d1d7e7;line-height:1.58;}

.dah-highlight-wrap{padding:20px 0 34px;}
.dah-highlight-card{
  display:grid;
  grid-template-columns:minmax(0, 430px) minmax(0, 1fr);
  align-items:center;
  gap:18px;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(90deg, rgba(52,13,88,.8) 0%, rgba(15,20,34,.96) 38%, rgba(10,18,31,.98) 100%);
  border:1px solid rgba(255, 174, 67, .16);
  box-shadow:var(--dah-shadow);
}
.dah-highlight-card__art{align-self:stretch;display:flex;align-items:end;min-height:260px;background:linear-gradient(180deg, rgba(105, 44, 175, .18), rgba(105,44,175,0));}
.dah-highlight-card__art img{display:block;width:100%;height:100%;object-fit:cover;object-position:left center;}
.dah-highlight-card__copy{padding:32px 34px 34px;}
.dah-highlight-card__copy h2{font-size:clamp(34px, 3.8vw, 56px);}
.dah-mini-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 26px;}
.dah-mini-features > div{display:flex;align-items:center;gap:12px;color:#fff;}
.dah-mini-features strong{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:rgba(255,190,57,.12);color:#ffbe39;font-size:18px;}
.dah-mini-features span{color:#d8def0;font-size:14px;line-height:1.45;}

.dah-featured-pets{padding:18px 0 30px;}
.dah-pet-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;}
.dah-pet-card{
  background:linear-gradient(180deg, rgba(15,21,33,.96), rgba(10,16,27,.98));
  border:1px solid rgba(74, 188, 255, .16);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--dah-shadow);
}
.dah-pet-card__thumb{position:relative;aspect-ratio:4/4.1;background:#0e1624;}
.dah-pet-card__thumb img{width:100%;height:100%;display:block;object-fit:cover;}
.dah-pet-card__body{padding:15px 16px 18px;}
.dah-pet-card__body h3{margin:0;color:#fff;font-size:18px;line-height:1.25;}
.dah-pet-badge{
  position:absolute;
  left:14px;
  bottom:14px;
  display:inline-flex;
  min-height:30px;
  padding:6px 12px;
  align-items:center;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1;
  color:#111;
}
.dah-pet-badge--legendary{background:linear-gradient(180deg,#ffe079,#ffb011);}
.dah-pet-badge--epic{background:linear-gradient(180deg,#d58dff,#943cff);color:#fff;}
.dah-pet-badge--rare{background:linear-gradient(180deg,#6cc7ff,#2678ff);color:#fff;}

.dah-why-play{padding:8px 0 42px;}
.dah-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.dah-why-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:24px 22px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(15,22,35,.94), rgba(10,17,28,.98));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--dah-shadow);
}
.dah-why-card__icon{
  flex:0 0 48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,191,69,.1);
  color:#ffbe39;
  font-size:24px;
  font-weight:800;
}
.dah-why-card h3{margin:0 0 8px;font-size:26px;color:#fff;line-height:1.1;}
.dah-why-card p{margin:0;color:var(--dah-muted);font-size:15px;line-height:1.55;}

.dah-cta{padding:12px 0 0;}
.dah-cta__inner{
  position:relative;
  overflow:hidden;
  min-height:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:44px 26px;
  text-align:center;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(5,10,19,.25), rgba(5,10,19,.64)),
    url('../images/ctadesktop.webp') center/cover no-repeat;
  border:1px solid rgba(45, 224, 174, .16);
  box-shadow:var(--dah-shadow);
}
.dah-cta__inner h2{max-width:760px;font-size:clamp(34px,4.5vw,64px);}

@media (max-width: 1199px){
  .dah-feature-item h3{font-size:19px;}
  .dah-hero__container{grid-template-columns:minmax(0, 1fr) minmax(0, 480px);min-height:660px;}
  .dah-pet-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .dah-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 991px){
  .dah-hero{
    background:
      linear-gradient(180deg, rgba(6,13,24,.88) 0%, rgba(6,13,24,.55) 32%, rgba(6,13,24,.8) 100%),
      url('../images/mobileherohome.webp') center top/cover no-repeat;
  }
  .dah-hero__container{grid-template-columns:1fr;min-height:unset;padding-bottom:88px;}
  .dah-hero__content{padding-top:20px;}
  .dah-hero__art{order:-1;max-width:560px;margin:0 auto;align-self:center;}
  .dah-hero__art img{width:100%;}
  .dah-feature-grid,
  .dah-mode-grid,
  .dah-pet-grid,
  .dah-why-grid,
  .dah-mini-features,
  .dah-highlight-card{grid-template-columns:1fr;}
  .dah-feature-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.08);}
  .dah-feature-item:last-child{border-bottom:0;}
  .dah-highlight-card__art{min-height:220px;}
  .dah-heading--split{flex-direction:column;align-items:flex-start;}
}

@media (max-width: 767px){
  .home-page .container{width:min(100% - 24px, 1240px);}
  .dah-page{padding-bottom:24px;}
  .dah-hero{padding-top:10px;}
  .dah-hero__container{padding-top:10px;padding-bottom:76px;gap:10px;}
  .dah-hero__content{padding:0;}
  .dah-eyebrow{font-size:11px;letter-spacing:.24em;}
  .dah-hero__title{font-size:56px;}
  .dah-hero__text{font-size:16px;max-width:none;}
  .dah-hero__actions{gap:10px;}
  .dah-btn{min-height:50px;padding:13px 22px;font-size:15px;}
  .dah-btn--small{min-height:44px;padding:10px 18px;font-size:14px;}
  .dah-feature-bar{margin-top:-42px;}
  .dah-feature-item{padding:18px 16px;}
  .dah-feature-item h3{font-size:18px;}
  .dah-feature-item p{font-size:13px;}
  .dah-explore{padding-top:36px;}
  .dah-heading h2,
  .dah-highlight-card__copy h2,
  .dah-cta__inner h2{font-size:38px;}
  .dah-heading p,
  .dah-highlight-card__copy p{font-size:15px;}
  .dah-mode-card{min-height:236px;}
  .dah-mode-card__content{padding:22px;}
  .dah-highlight-card__copy{padding:24px 20px 26px;}
  .dah-highlight-card__art img{object-position:center;}
  .dah-pet-grid{grid-template-columns:1fr 1fr;gap:14px;}
  .dah-pet-card__body{padding:12px 12px 15px;}
  .dah-pet-card__body h3{font-size:15px;}
  .dah-why-grid{gap:14px;}
  .dah-why-card{padding:18px 16px;}
  .dah-why-card h3{font-size:22px;}
  .dah-cta__inner{min-height:360px;background:
    linear-gradient(180deg, rgba(5,10,19,.2), rgba(5,10,19,.6)),
    url('../images/ctamobile.webp') center/cover no-repeat;
    padding:34px 20px;
  }
}

@media (max-width: 575px){
  .dah-hero__title{font-size:46px;}
  .dah-hero__actions .dah-btn{width:100%;}
  .dah-pet-grid{grid-template-columns:1fr;}
  .dah-mini-features{gap:12px;}
  .dah-mini-features > div{align-items:flex-start;}
}


/* v7.9.45: homepage-only responsive polish. Preserve all gameplay and account styles. */
body .dah-page .dah-heading h2{font-size:clamp(27px,3.15vw,43px);line-height:1.12;}
body .dah-page .dah-highlight-card__copy h2{font-size:clamp(29px,3.25vw,45px);line-height:1.12;}
body .dah-page .dah-cta__inner h2{font-size:clamp(30px,3.6vw,49px);line-height:1.12;}
body .dah-page .dah-why-card h3{font-size:20px;}
body .dah-page .dah-feature-item h3{font-size:18px;}
body .dah-page .dah-hero__title{font-size:clamp(43px,5vw,70px);line-height:1.04;}
body .dah-page .dah-hero__text{font-size:16px;line-height:1.6;}
body .dah-page .dah-hero{
 background-image:linear-gradient(90deg,rgba(6,13,24,.9) 0%,rgba(6,13,24,.72) 33%,rgba(6,13,24,.16) 100%),url('../images/desktopherohome.webp');
 background-position:center center;
 background-size:cover;
 background-repeat:no-repeat;
}
body .dah-page .dah-hero__container{
 min-height:500px;
 grid-template-columns:minmax(0,490px) minmax(0,1fr);
 padding-top:14px;
 padding-bottom:96px;
 align-items:center;
}
body .dah-page .dah-hero__art{align-self:center;min-width:0;display:flex;justify-content:flex-end;align-items:center;}
body .dah-page .dah-hero__art img{
 width:100%;max-width:740px;height:auto;max-height:405px;object-fit:contain;
 object-position:center bottom;aspect-ratio:auto;
}
body .dah-page .dah-feature-bar{margin-top:-52px;}
body .dah-page .dah-feature-icon,
body .dah-page .dah-why-card__icon,
body .dah-page .dah-mini-features strong{
 background:none;border:0;padding:0;overflow:visible;
}
body .dah-page .dah-feature-icon img,
body .dah-page .dah-why-card__icon img,
body .dah-page .dah-mini-features strong img{display:block;width:100%;height:100%;object-fit:contain;}
body .dah-page .dah-feature-icon{flex-basis:44px;width:44px;height:44px;}
body .dah-page .dah-why-card__icon{flex-basis:48px;width:48px;height:48px;}
body .dah-page .dah-mini-features strong{flex-basis:37px;width:37px;height:37px;}
body .dah-page .dah-highlight-card{
 grid-template-columns:minmax(0,41%) minmax(0,1fr);
 background:#0c1320;
 gap:10px;
}
body .dah-page .dah-highlight-card__art{
 min-height:205px;background:none !important;
 align-self:center;justify-content:center;overflow:visible;
}
body .dah-page .dah-highlight-card__art img{
 width:100%;height:auto;max-height:270px;object-fit:contain;
 object-position:center;display:block;
}
body .dah-page .dah-highlight-card__copy{padding:26px 28px 28px;}
body .dah-page .dah-mode-card .dah-btn--gold,
body .dah-page .dah-mode-card .dah-btn--gold:hover,
body .dah-page .dah-mode-card .dah-btn--gold:focus-visible{
 color:#1b1205 !important;-webkit-text-fill-color:#1b1205 !important;
 background:linear-gradient(180deg,#ffbf45,#ff9514) !important;
}
@media(max-width:991px){
 body .dah-page .dah-hero{
  background-image:linear-gradient(180deg,rgba(6,13,24,.50),rgba(6,13,24,.74)),url('../images/mobileherohome.webp');
  background-size:cover;background-position:center top;
 }
 body .dah-page .dah-hero__container{grid-template-columns:1fr;min-height:0;padding-bottom:74px;}
 body .dah-page .dah-hero__art{order:-1;width:100%;max-width:520px;margin:auto;justify-content:center;}
 body .dah-page .dah-hero__art img{max-height:300px;}
 body .dah-page .dah-highlight-card{grid-template-columns:1fr;gap:0;}
 body .dah-page .dah-highlight-card__art{min-height:0;padding:14px 16px 0;}
 body .dah-page .dah-highlight-card__art img{max-height:240px;}
}
@media(max-width:575px){
 body .dah-page .dah-hero__title{font-size:clamp(36px,10vw,49px);}
 body .dah-page .dah-hero__art img{max-height:250px;}
 body .dah-page .dah-hero__container{padding-bottom:65px;}
 body .dah-page .dah-feature-bar{margin-top:-36px;}
 body .dah-page .dah-heading h2{font-size:30px;}
 body .dah-page .dah-highlight-card__copy h2{font-size:32px;}
 body .dah-page .dah-highlight-card__art img{max-height:185px;}
 body .dah-page .dah-highlight-card__copy{padding:20px;}
 body .dah-page .dah-mini-features strong{flex-basis:30px;width:30px;height:30px;}
}

/* v7.9.46 — Hero layout matched to the approved DevTools preview.
   Homepage only: no account, marketplace, payment or game logic changes. */
body.home .dah-page .dah-hero {
  --da-hero-fade-start: 76%;
  --da-pet-fade-start: 80%;
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  background-image:
    linear-gradient(to bottom, transparent 0%, transparent var(--da-hero-fade-start), rgba(11,16,25,.30) 88%, #0b1019 100%),
    url('../images/desktopherohome.webp') !important;
  background-size: 100% 100%, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat !important;
  background-blend-mode: normal !important;
}
body.home .dah-page .dah-hero::before,
body.home .dah-page .dah-hero::after,
body.home .dah-page .dah-hero__container::before,
body.home .dah-page .dah-hero__container::after,
body.home .dah-page .dah-hero__art::before,
body.home .dah-page .dah-hero__art::after {
  content: none !important;
  display: none !important;
}
body.home .dah-page .dah-hero__container {
  display: flex !important;
  flex-direction: row !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  min-height: clamp(450px, 40vw, 610px) !important;
  height: auto !important;
  gap: clamp(14px, 2vw, 28px) !important;
}
body.home .dah-page .dah-hero__content {
  flex: 0 0 43% !important;
  min-width: 0 !important;
  align-self: center !important;
  position: relative !important;
  z-index: 3 !important;
}
body.home .dah-page .dah-hero__art {
  display: flex !important;
  flex: 1 1 57% !important;
  order: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  position: relative !important;
  align-self: stretch !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2 !important;
}
body.home .dah-page .dah-hero__art img {
  display: block !important;
  position: relative !important;
  flex: 0 0 auto !important;
  width: 115% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  filter: none !important;
  transform: translate(0px,25px) scale(1.12) !important;
  transform-origin: center bottom !important;
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 var(--da-pet-fade-start),rgba(0,0,0,.75) 88%,rgba(0,0,0,.3) 95%,transparent 100%) !important;
  mask-image: linear-gradient(to bottom,#000 0%,#000 var(--da-pet-fade-start),rgba(0,0,0,.75) 88%,rgba(0,0,0,.3) 95%,transparent 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
/* Tablet landscape: retain two columns but let the artwork resize fluidly. */
@media (min-width: 992px) and (max-width: 1199px) {
  body.home .dah-page .dah-hero__container { min-height: clamp(440px, 46vw, 550px) !important; }
  body.home .dah-page .dah-hero__content { flex-basis: 46% !important; }
  body.home .dah-page .dah-hero__art { flex-basis: 54% !important; }
  body.home .dah-page .dah-hero__art img { width: 110% !important; transform: translate(0,20px) scale(1.06) !important; }
}
/* Tablet portrait and phones: content followed by bottom-aligned character. */
@media (max-width: 991px) {
  body.home .dah-page .dah-hero {
    background-image:
      linear-gradient(to bottom,transparent 0%,transparent 76%,rgba(11,16,25,.30) 88%,#0b1019 100%),
      url('../images/mobileherohome.webp') !important;
    background-size: 100% 100%, cover !important;
    background-position: center, center top !important;
  }
  body.home .dah-page .dah-hero__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    height: auto !important;
    gap: clamp(8px,2vw,20px) !important;
    padding-bottom: clamp(50px,8vw,88px) !important;
  }
  body.home .dah-page .dah-hero__content {
    flex: 0 0 auto !important;
    width: 100% !important;
    align-self: stretch !important;
    order: 0 !important;
  }
  body.home .dah-page .dah-hero__art {
    flex: 0 0 auto !important;
    order: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: clamp(230px, 65vw, 490px) !important;
    align-self: stretch !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  body.home .dah-page .dah-hero__art img {
    width: min(112%, 720px) !important;
    max-height: none !important;
    height: auto !important;
    transform: translate(0px, 12px) scale(1.04) !important;
  }
}
@media (max-width: 575px) {
  body.home .dah-page .dah-hero__container { padding-bottom: 64px !important; }
  body.home .dah-page .dah-hero__art { min-height: clamp(200px, 68vw, 325px) !important; }
  body.home .dah-page .dah-hero__art img {
    width: 112% !important;
    transform: translate(0,8px) scale(1.025) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home .dah-page .dah-hero__art img { transition: none !important; }
}

/* v7.9.47 — Homepage hero portrait readability and tablet layout only.
   Desktop and landscape retain the previously approved design. */
@media (orientation: portrait) and (max-width: 1100px) {
  body.home .dah-page .dah-hero {
    background-image:
      linear-gradient(to bottom,
        rgba(11,16,25,.62) 0%,
        rgba(11,16,25,.57) 44%,
        rgba(11,16,25,.35) 72%,
        rgba(11,16,25,.68) 90%,
        #0b1019 100%),
      url('../images/mobileherohome.webp') !important;
    background-size: 100% 100%, cover !important;
    background-position: center, center top !important;
    background-repeat: no-repeat !important;
  }
  /* Overlay belongs to the background only; preserve un-darkened artwork. */
  body.home .dah-page .dah-hero__art img {
    filter: none !important;
  }
}

/* Tablets in portrait: purpose-built single-column hero instead of a squashed desktop grid. */
@media (orientation: portrait) and (min-width: 700px) and (max-width: 1100px) {
  body.home .dah-page .dah-hero__container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
    padding-top: clamp(54px, 8vw, 90px) !important;
    padding-bottom: clamp(54px, 8vw, 84px) !important;
    gap: clamp(18px, 3vw, 32px) !important;
    overflow: visible !important;
  }
  body.home .dah-page .dah-hero__content {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: min(690px, 88%) !important;
    align-self: flex-start !important;
    order: 0 !important;
    text-align: left !important;
  }
  body.home .dah-page .dah-hero__title {
    font-size: clamp(40px, 5.4vw, 66px) !important;
    line-height: 1.08 !important;
  }
  body.home .dah-page .dah-hero__text {
    max-width: 610px !important;
    font-size: clamp(15px, 1.85vw, 18px) !important;
    line-height: 1.65 !important;
  }
  body.home .dah-page .dah-hero__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
  body.home .dah-page .dah-hero__art {
    flex: 0 0 auto !important;
    order: 1 !important;
    width: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    align-self: stretch !important;
    align-items: flex-end !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  body.home .dah-page .dah-hero__art img {
    width: min(108%, 860px) !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    transform: translate(0, 10px) scale(1.01) !important;
    transform-origin: center bottom !important;
  }
}

/* Phone portrait: improve contrast without overlaying the foreground Dice Pets. */
@media (orientation: portrait) and (max-width: 699px) {
  body.home .dah-page .dah-hero {
    background-image:
      linear-gradient(to bottom,
        rgba(11,16,25,.72) 0%,
        rgba(11,16,25,.66) 42%,
        rgba(11,16,25,.40) 76%,
        rgba(11,16,25,.78) 91%,
        #0b1019 100%),
      url('../images/mobileherohome.webp') !important;
  }
  body.home .dah-page .dah-hero__content {
    position: relative !important;
    z-index: 3 !important;
  }
  body.home .dah-page .dah-hero__text {
    max-width: 100% !important;
    line-height: 1.6 !important;
  }
}


/* v7.9.48: Approved More Than Just Pets presentation; homepage scoped only. */
body.home .dah-page .dah-highlight-card {
  --pk-width: 120%;
  --pk-scale: 1.2;
  --pk-x: 0px;
  --pk-y: 0px;
  display: grid;
  grid-template-columns: minmax(0,41%) minmax(0,1fr);
  min-height: 300px;
  height: auto;
  align-items: stretch;
  gap: 0;
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: url('../images/morethanjustpetsdesktop.webp') center center / cover no-repeat;
}
body.home .dah-page .dah-highlight-card__art {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  background: none !important;
}
body.home .dah-page .dah-highlight-card__art img {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: var(--pk-width);
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translate(var(--pk-x),var(--pk-y)) scale(var(--pk-scale));
  transform-origin: center bottom;
  pointer-events: none;
}
body.home .dah-page .dah-highlight-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  min-width: 0;
  height: auto;
  padding: 14px 24px 12px;
  margin: 0;
  gap: 7px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.home .dah-page .dah-highlight-card__copy::before,
body.home .dah-page .dah-highlight-card__copy::after {
  content: none;
  display: none;
}
body.home .dah-page .dah-highlight-card__copy > * { margin-top: 0; margin-bottom: 0; }
body.home .dah-page .dah-highlight-card__copy h2,
body.home .dah-page .dah-highlight-card__copy > p,
body.home .dah-page .dah-highlight-card__copy .dah-eyebrow,
body.home .dah-page .dah-mini-features > div:not(.pk-button-column) > span {
  text-shadow: 0 1px 2px #000, 0 2px 5px rgba(0,0,0,.85),
    0 4px 9px rgba(0,0,0,.85), 0 0 15px rgba(0,0,0,.85),
    1px 1px 2px rgba(0,0,0,.9), -1px -1px 2px rgba(0,0,0,.9);
}
body.home .dah-page .dah-highlight-card__copy h2 {
  font-size: clamp(24px,2.2vw,34px);
  line-height: 1.12;
}
body.home .dah-page .dah-highlight-card__copy > p {
  width: 80%;
  max-width: none;
  font-size: 14px;
  line-height: 1.45;
}
body.home .dah-page .dah-mini-features {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 0;
  margin: 5px 0 0;
}
body.home .dah-page .dah-mini-features > div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
body.home .dah-page .dah-mini-features > div:not(.pk-button-column) {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
body.home .dah-page .dah-mini-features > div:not(.pk-button-column) > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  font-size: 12px;
  background: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.95)) drop-shadow(0 0 6px rgba(0,0,0,.85));
}
body.home .dah-page .dah-mini-features > div:not(.pk-button-column) > strong img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.home .dah-page .dah-mini-features > div:not(.pk-button-column) > span {
  font-size: 10.5px;
  line-height: 1.28;
  font-weight: 400;
}
body.home .dah-page .dah-mini-features .pk-button-column {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
body.home .dah-page .dah-mini-features .pk-feature-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
}
@media (min-width: 992px) and (max-width: 1199px) {
  body.home .dah-page .dah-highlight-card {
    --pk-width: 112%;
    --pk-scale: 1.12;
    grid-template-columns: minmax(0,42%) minmax(0,1fr);
  }
  body.home .dah-page .dah-highlight-card__copy { padding: 14px 18px 12px; }
  body.home .dah-page .dah-highlight-card__copy h2 { font-size: clamp(23px,2.5vw,30px); }
  body.home .dah-page .dah-mini-features { gap: 5px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  body.home .dah-page .dah-highlight-card {
    --pk-width: 105%;
    --pk-scale: 1.03;
    grid-template-columns: minmax(0,38%) minmax(0,1fr);
    min-height: 270px;
  }
  body.home .dah-page .dah-highlight-card__copy { padding: 16px; }
  body.home .dah-page .dah-highlight-card__copy h2 { font-size: clamp(22px,3vw,29px); }
  body.home .dah-page .dah-highlight-card__copy > p { width: 100%; font-size: 12px; }
  body.home .dah-page .dah-mini-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
}
@media (max-width: 767px) {
  body.home .dah-page .dah-highlight-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0;
    overflow: hidden;
    background-image: url('../images/morethanjuspetmobile.webp');
    background-size: cover;
    background-position: center bottom;
    --pk-width: 98%;
    --pk-scale: 1;
  }
  body.home .dah-page .dah-highlight-card__copy {
    order: 1;
    width: 100%;
    padding: 20px 16px 14px;
  }
  body.home .dah-page .dah-highlight-card__copy h2 { font-size: clamp(23px,6vw,29px); }
  body.home .dah-page .dah-highlight-card__copy > p { width: 100%; font-size: 13px; }
  body.home .dah-page .dah-mini-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  body.home .dah-page .dah-highlight-card__art {
    order: 2;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    height: auto;
    justify-content: flex-end;
    align-items: center;
  }
  body.home .dah-page .dah-highlight-card__art img {
    width: min(var(--pk-width),520px);
    transform: translate(0,0) scale(var(--pk-scale));
    transform-origin: center bottom;
    max-width: none;
    max-height: none;
  }
}
@media (max-width: 380px) {
  body.home .dah-page .dah-highlight-card__copy { padding: 16px 12px 12px; }
  body.home .dah-page .dah-mini-features { gap: 6px; }
}

/* v7.9.49: Arrow for the Dice Pets fourth mini-feature. */
body.home .dah-page .dah-mini-features .pk-feature-button {
  gap: 7px;
}
body.home .dah-page .dah-mini-features .pk-feature-button .pk-button-arrow {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease;
}
@media (hover:hover) {
  body.home .dah-page .dah-mini-features .pk-feature-button:hover .pk-button-arrow {
    transform: translateX(3px);
  }
}

/* v7.9.50: Approved Violet Dice Pet scale and reliable fluid bottom anchoring.
   This overrides earlier height/scale constraints, without touching other sections. */
@media (min-width: 992px) {
  body.home .dah-page .dah-highlight-card {
    --pk-width: 106%;
    --pk-scale: 1;
    --pk-x: 0px;
    --pk-y: 0px;
    min-height: 300px;
    overflow: visible;
  }
  body.home .dah-page .dah-highlight-card__art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: visible;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    /* The 106% console width is retained; height driven by aspect ratio. */
    width: 106%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    flex: 0 0 auto;
    align-self: center;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }
}
/* Portrait tablet: retain two columns, keep artwork fluid without text overlap. */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  body.home .dah-page .dah-highlight-card {
    grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
    min-height: 260px;
    overflow: visible;
  }
  body.home .dah-page .dah-highlight-card__art {
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: visible;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    width: 104%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }
  body.home .dah-page .dah-highlight-card__copy {
    padding: clamp(12px, 1.6vw, 18px);
  }
}
/* Mobile: stack the text and character, scale with available width. */
@media (max-width: 767px) {
  body.home .dah-page .dah-highlight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body.home .dah-page .dah-highlight-card__art {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    width: min(104%, 540px);
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    flex: 0 0 auto;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }
  body.home .dah-page .dah-mini-features {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 360px) {
  body.home .dah-page .dah-highlight-card__copy {padding: 15px 12px;}
  body.home .dah-page .dah-mini-features {gap: 7px;}
  body.home .dah-page .dah-mini-features .pk-feature-button {font-size: 12px; padding-inline: 7px;}
}


/* v7.9.51: Approved 133%/315px absolute bottom anchored Violet Dice Pet.
   Absolute image cannot contribute to the card's height; crown can escape top. */
@media (min-width: 992px) {
  body.home .dah-page .dah-highlight-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0,41%) minmax(0,1fr) !important;
    min-height: 315px !important;
    height: auto !important;
    align-items: stretch !important;
    overflow: visible !important;
    isolation: isolate !important;
  }
  body.home .dah-page .dah-highlight-card__art {
    display: block !important;
    position: relative !important;
    align-self: stretch !important;
    height: 315px !important;
    min-height: 315px !important;
    max-height: 315px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 1 !important;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    right: auto !important;
    width: 133% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    transform: translateX(-50%) !important;
    transform-origin: center bottom !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  body.home .dah-page .dah-highlight-card__copy {
    position: relative !important;
    z-index: 2 !important;
  }
}
/* Tablet portrait: keep a legible two-column layout and fixed-size image layer. */
@media (min-width: 768px) and (max-width: 991px) {
  body.home .dah-page .dah-highlight-card {
    display: grid !important;
    grid-template-columns: minmax(0,38%) minmax(0,1fr) !important;
    min-height: 270px !important;
    overflow: visible !important;
    align-items: stretch !important;
  }
  body.home .dah-page .dah-highlight-card__art {
    display: block !important;
    position: relative !important;
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    width: 122% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    transform-origin: center bottom !important;
    object-fit: contain !important;
  }
  body.home .dah-page .dah-highlight-card__copy {position: relative !important;z-index:2 !important;}
}
/* Mobile: fixed art slot avoids layout growth, stacks copy first. */
@media (max-width: 767px) {
  body.home .dah-page .dah-highlight-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  body.home .dah-page .dah-highlight-card__copy {
    order: 1 !important;
    position: relative !important;
    z-index: 2 !important;
  }
  body.home .dah-page .dah-highlight-card__art {
    order: 2 !important;
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: clamp(180px,52vw,260px) !important;
    min-height: clamp(180px,52vw,260px) !important;
    max-height: clamp(180px,52vw,260px) !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.home .dah-page .dah-highlight-card__art > img {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    right: auto !important;
    width: min(100%,520px) !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    transform-origin: center bottom !important;
    object-fit: contain !important;
  }
}

/* v7.9.52: Portrait mini features — three benefits in one row, full-width CTA below.
   Desktop and tablet landscape retain their approved four-column layout. */
@media (max-width: 767px),
       (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: clamp(5px, 1.8vw, 12px) !important;
    row-gap: 12px !important;
    width: 100% !important;
    align-items: center !important;
  }
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features > div:not(.pk-button-column) {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(3px, 1vw, 7px) !important;
    padding: 0 !important;
  }
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features > div:not(.pk-button-column) > strong {
    flex: 0 0 clamp(17px, 4vw, 24px) !important;
    width: clamp(17px, 4vw, 24px) !important;
    height: clamp(17px, 4vw, 24px) !important;
  }
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features > div:not(.pk-button-column) > span {
    min-width: 0 !important;
    font-size: clamp(9px, 2.2vw, 10.5px) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
  }
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features > .pk-button-column {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    justify-content: stretch !important;
  }
  body.home .dah-page .dah-highlight-card__copy .dah-mini-features .pk-feature-button {
    display: inline-flex !important;
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
  }
}


/* v7.9.53 — Approved Featured Dice Pets animated elemental glow and rarity badges.
   Only the five homepage featured cards are affected. */
@property --da-pet-angle-v6 {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

#featured-dice-pets .dah-pet-grid > .dah-pet-card {
  --glow: 255, 205, 30;
  --inner: 255, 35, 20;
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid rgba(var(--glow), .85) !important;
  border-radius: 20px !important;
  animation: daPetPulseV6 2.8s ease-in-out infinite !important;
  transition: transform .3s ease !important;
}
#featured-dice-pets .dah-pet-grid > .dah-pet-card::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  padding: 2px !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 5 !important;
  background: conic-gradient(
    from var(--da-pet-angle-v6),
    transparent 0deg,
    transparent 230deg,
    rgba(var(--glow), .1) 260deg,
    rgba(var(--glow), 1) 300deg,
    #fff 310deg,
    rgba(var(--glow), .8) 325deg,
    transparent 355deg
  ) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  mask-composite: exclude !important;
  animation: daPetBorderSpinV6 3.5s linear infinite !important;
}
#featured-dice-pets .dah-pet-grid > .dah-pet-card::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 4 !important;
  box-shadow: inset 0 0 22px rgba(var(--inner), .24),
              inset 0 0 50px rgba(var(--inner), .1) !important;
  animation: daPetInnerPulseV6 2.8s ease-in-out infinite !important;
}
#featured-dice-pets .dah-pet-grid > .dah-pet-card:nth-child(1) { --glow: 255, 205, 30; --inner: 255, 35, 20; }
#featured-dice-pets .dah-pet-grid > .dah-pet-card:nth-child(2) { --glow: 95, 225, 255; --inner: 35, 165, 255; }
#featured-dice-pets .dah-pet-grid > .dah-pet-card:nth-child(3) { --glow: 65, 245, 110; --inner: 20, 190, 70; }
#featured-dice-pets .dah-pet-grid > .dah-pet-card:nth-child(4) { --glow: 240, 248, 255; --inner: 185, 210, 235; }
#featured-dice-pets .dah-pet-grid > .dah-pet-card:nth-child(5) { --glow: 195, 95, 255; --inner: 145, 45, 255; }

#featured-dice-pets .dah-pet-badge {
  position: absolute !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: .01em !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  background-clip: padding-box !important;
  isolation: isolate !important;
}
#featured-dice-pets .dah-pet-badge::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px 2px auto 2px !important;
  height: 45% !important;
  border-radius: 999px 999px 50% 50% !important;
  pointer-events: none !important;
  z-index: -1 !important;
  background: linear-gradient(to bottom, rgba(255,255,255,.22), transparent) !important;
}
#featured-dice-pets .dah-pet-badge--legendary {
  background: linear-gradient(135deg, rgba(255, 224, 100, .72), rgba(255, 171, 0, .68)) !important;
  color: #1d1300 !important;
  border: 1px solid rgba(255, 226, 139, .9) !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 14px rgba(255,190,0,.24) !important;
}
#featured-dice-pets .dah-pet-badge--epic {
  background: linear-gradient(135deg, rgba(230, 18, 35, .93) 0%, rgba(180, 8, 24, .95) 52%, rgba(115, 0, 15, .97) 100%) !important;
  background-color: #c81025 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 75, 87, .95) !important;
  text-shadow: 0 1px 2px rgba(40,0,0,.85) !important;
  box-shadow: inset 0 1px 0 rgba(255,150,150,.3), inset 0 -1px 3px rgba(75,0,0,.4),
              0 0 10px rgba(220,15,35,.35), 0 4px 12px rgba(0,0,0,.28) !important;
}
#featured-dice-pets .dah-pet-badge--rare {
  background: linear-gradient(135deg, rgba(152, 65, 245, .93) 0%, rgba(113, 35, 200, .95) 52%, rgba(65, 12, 120, .97) 100%) !important;
  background-color: #772ac7 !important;
  color: #ffffff !important;
  border: 1px solid rgba(195, 112, 255, .95) !important;
  text-shadow: 0 1px 2px rgba(20,0,35,.85) !important;
  box-shadow: inset 0 1px 0 rgba(230,175,255,.3), inset 0 -1px 3px rgba(40,0,75,.4),
              0 0 10px rgba(145,55,235,.35), 0 4px 12px rgba(0,0,0,.28) !important;
}
@keyframes daPetBorderSpinV6 { to { --da-pet-angle-v6: 360deg; } }
@keyframes daPetPulseV6 {
  0%, 100% { box-shadow: 0 0 7px rgba(var(--glow), .35), 0 0 16px rgba(var(--glow), .12), inset 0 0 14px rgba(var(--inner), .12); }
  50% { box-shadow: 0 0 13px rgba(var(--glow), .75), 0 0 30px rgba(var(--glow), .3), inset 0 0 26px rgba(var(--inner), .24); }
}
@keyframes daPetInnerPulseV6 { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (hover: hover) {
  #featured-dice-pets .dah-pet-grid > .dah-pet-card:hover {
    transform: translateY(-5px) !important;
    animation-duration: 1.7s !important;
  }
  #featured-dice-pets .dah-pet-grid > .dah-pet-card:hover::before { animation-duration: 1.5s !important; }
}
@media (prefers-reduced-motion: reduce) {
  #featured-dice-pets .dah-pet-grid > .dah-pet-card,
  #featured-dice-pets .dah-pet-grid > .dah-pet-card::before,
  #featured-dice-pets .dah-pet-grid > .dah-pet-card::after { animation: none !important; }
}

/* Approved More Than Just Pets desktop description width. Keep mobile / tablet rules intact. */
@media (min-width: 992px) {
  body.home .dah-page .dah-highlight-card__copy > p { width: 60% !important; }
}


/* v7.9.54 — CTA typography adjustment only; keep approved CTA layout and backgrounds unchanged. */
body.home .dah-page .dah-cta__inner h2 {
  font-size: clamp(24px, 2.65vw, 38px) !important;
  line-height: 1.14 !important;
}
@media (max-width: 767px) {
  body.home .dah-page .dah-cta__inner h2 {
    font-size: clamp(22px, 5.3vw, 29px) !important;
  }
}


/* v7.9.55 — Full-bleed CTA arena and portrait-only swipe carousels.
   Desktop cards and non-homepage features remain unchanged. */
body.home .dah-page { padding-bottom: 0 !important; }
body.home .dah-page .dah-cta {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 2048 / 682;
  min-height: 0 !important;
  background-image:
    linear-gradient(to bottom,
      #0b1019 0%, rgba(11,16,25,.76) 8%,
      rgba(11,16,25,.26) 19%, rgba(11,16,25,0) 34%,
      rgba(11,16,25,0) 67%, rgba(11,16,25,.27) 81%,
      rgba(11,16,25,.76) 92%, #0b1019 100%),
    url('../images/ctaarenabg.webp') !important;
  background-position: center center, center center !important;
  background-size: 100% 100%, 100% 100% !important;
  background-repeat: no-repeat !important;
}
body.home .dah-page .dah-cta > .container {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.home .dah-page .dah-cta .dah-cta__inner {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 20px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center !important;
}
body.home .dah-page .dah-cta .dah-cta__inner::before,
body.home .dah-page .dah-cta .dah-cta__inner::after,
body.home .dah-page .dah-cta::before,
body.home .dah-page .dah-cta::after { content: none !important; display: none !important; }
body.home .dah-page .dah-cta .dah-eyebrow {
  text-shadow: 0 2px 5px #000, 0 4px 14px rgba(0,0,0,.85) !important;
}
body.home .dah-page .dah-cta .dah-cta__inner h2 {
  max-width: 780px !important;
  margin: 0 auto 14px !important;
  font-size: clamp(24px, 2.65vw, 38px) !important;
  line-height: 1.14 !important;
  text-shadow: 0 2px 4px #000, 0 5px 16px rgba(0,0,0,.85) !important;
}
body.home .dah-page .dah-cta .dah-cta__inner .dah-btn {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
@media (max-width: 767px) {
  /* The wide artwork cannot stay entirely visible at readable mobile CTA height;
     center-crop on narrow screens instead of distorting the original image. */
  body.home .dah-page .dah-cta {
    aspect-ratio: auto;
    min-height: clamp(255px, 74vw, 360px) !important;
    background-size: 100% 100%, cover !important;
  }
  body.home .dah-page .dah-cta .dah-cta__inner {padding: 18px 16px !important;}
  body.home .dah-page .dah-cta .dah-cta__inner h2 {
    font-size: clamp(21px, 5.4vw, 29px) !important;
    margin-bottom: 12px !important;
  }
}
/* Swipeable cards only on mobile and tablet in portrait orientation. */
@media (max-width: 767px),
       (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  body.home .dah-page #explore-modes .dah-mode-grid,
  body.home .dah-page #featured-dice-pets .dah-pet-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 5px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px !important;
    padding: 8px 5px 18px !important;
    margin-inline: -5px !important;
    touch-action: pan-x pan-y;
  }
  body.home .dah-page #explore-modes .dah-mode-grid::-webkit-scrollbar,
  body.home .dah-page #featured-dice-pets .dah-pet-grid::-webkit-scrollbar {display: none;}
  body.home .dah-page #explore-modes .dah-mode-grid > .dah-mode-card,
  body.home .dah-page #featured-dice-pets .dah-pet-grid > .dah-pet-card {
    flex: 0 0 auto !important;
    width: min(72vw, 285px) !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }
  body.home .dah-page #explore-modes .dah-mode-grid > .dah-mode-card {
    min-height: 232px !important;
  }
  body.home .dah-page #featured-dice-pets .dah-pet-grid > .dah-pet-card {
    width: min(55vw, 190px) !important;
    border-radius: 17px !important;
  }
  body.home .dah-page #featured-dice-pets .dah-pet-card__body {padding: 11px 12px 13px;}
  body.home .dah-page #featured-dice-pets .dah-pet-card__body h3 {font-size: 14px;}
  body.home .dah-page #featured-dice-pets .dah-pet-badge {font-size: 11px !important; padding: 6px 11px !important;}
}
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  body.home .dah-page #explore-modes .dah-mode-grid > .dah-mode-card {width: min(45vw, 340px) !important;}
  body.home .dah-page #featured-dice-pets .dah-pet-grid > .dah-pet-card {width: min(30vw, 220px) !important;}
}
@media (prefers-reduced-motion: reduce) {
  body.home .dah-page #explore-modes .dah-mode-grid,
  body.home .dah-page #featured-dice-pets .dah-pet-grid {scroll-behavior: auto !important;}
}
