/* Daily draw hero prizes: the cutout products deliberately break the card edge. */
.daily-prizes {
  margin-top: 58px;
  row-gap: 31px;
}

.daily-prize:nth-child(-n+2) {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 340px;
  padding: 32px 38px;
  overflow: visible;
  border-radius: 28px;
  text-align: left;
  box-shadow: 0 25px 42px -34px rgba(11, 49, 95, .55);
}

.daily-prize:first-child {
  background: radial-gradient(circle at 76% 37%, #377bb1 0, #125292 38%, #092d63 100%);
  border-color: #1c5790;
  color: #fff;
}

.daily-prize:nth-child(2) {
  background: radial-gradient(circle at 77% 29%, #fff8e8 0, #f8e9c4 42%, #edcf8e 100%);
  border-color: #e1c47e;
  color: #103e69;
}

.daily-prize:nth-child(-n+2)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10%;
  right: 4%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(225, 243, 255, .27);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(225, 243, 255, .055), 0 0 0 57px rgba(225, 243, 255, .035);
  pointer-events: none;
}

.daily-prize:nth-child(2)::before {
  border-color: rgba(170, 123, 42, .2);
  box-shadow: 0 0 0 28px rgba(169, 121, 39, .05), 0 0 0 57px rgba(169, 121, 39, .035);
}

.daily-prize:nth-child(-n+2)::after {
  content: "✦";
  position: absolute;
  top: 48px;
  right: 34%;
  color: #ffe3a2;
  font-size: 29px;
  line-height: 1;
  text-shadow: 0 0 19px rgba(255, 235, 178, .8);
  pointer-events: none;
}

.daily-prize:nth-child(2)::after { color: #c99740; }

.daily-prize:nth-child(-n+2) .prize-count {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 11px;
  min-height: 0;
  width: 56%;
  color: #fce0a0;
  letter-spacing: 0;
}

.daily-prize:nth-child(-n+2) .prize-count strong {
  font-size: clamp(64px, 6vw, 91px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.075em;
  font-variant-numeric: lining-nums tabular-nums;
}

.daily-prize:nth-child(-n+2) .prize-count span {
  max-width: 76px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .1em;
}

.daily-prize:nth-child(2) .prize-count { color: #885e20; }

.daily-prize:nth-child(-n+2) .small-prize-image {
  position: absolute;
  z-index: 2;
  top: -54px;
  right: 8%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 42%;
  height: calc(100% + 50px);
  margin: 0;
  pointer-events: none;
}

.daily-prize:nth-child(-n+2) .small-prize-image > img {
  width: auto;
  max-width: none;
  height: min(365px, 100%);
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(16px 24px 19px rgba(0, 20, 55, .34));
  transform: rotate(-8deg);
}

.daily-prize:first-child .small-prize-image > img { height: min(390px, 100%); }

.daily-prize:nth-child(2) .small-prize-image {
  top: -47px;
  right: 8%;
}

.daily-prize:nth-child(2) .small-prize-image > img {
  height: min(350px, 100%);
  filter: drop-shadow(16px 24px 18px rgba(91, 57, 10, .31));
  transform: rotate(8deg);
}

.daily-prize:nth-child(-n+2) h3 {
  position: relative;
  z-index: 1;
  width: 55%;
  max-width: 285px;
  min-height: 0;
  margin-top: 34px;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 750;
  line-height: 1.28;
}

.daily-prize:nth-child(-n+2) > p {
  position: relative;
  z-index: 1;
  width: 55%;
  margin-top: 16px;
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
  white-space: normal;
}

.daily-prize:nth-child(-n+2) > p strong {
  display: block;
  margin: 4px 0 1px;
  color: #ffdf97;
  font-size: clamp(37px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.daily-prize:nth-child(2) > p strong { color: #0b4c8c; }

@media (min-width: 1001px) and (max-width: 1200px) {
  .daily-prize:nth-child(-n+2) h3,
  .daily-prize:nth-child(-n+2) > p { width: 48%; }
  .daily-prize:nth-child(-n+2) h3 { font-size: 19px; }
  .daily-prize:nth-child(-n+2) > p strong { font-size: 39px; }
  .daily-prize:nth-child(-n+2) .small-prize-image { right: 2%; }
}

@media (max-width: 1000px) and (min-width: 701px) {
  .daily-prize:nth-child(-n+2) {
    grid-column: span 6;
    min-height: 310px;
    padding: 28px 38px;
  }
  .daily-prize:nth-child(-n+2) .prize-count strong { font-size: 77px; }
  .daily-prize:nth-child(-n+2) h3 { width: 50%; margin-top: 25px; font-size: 21px; }
  .daily-prize:nth-child(-n+2) > p { width: 50%; }
  .daily-prize:nth-child(-n+2) > p strong { font-size: 43px; }
  .daily-prize:nth-child(-n+2) .small-prize-image { right: 12%; top: -39px; height: calc(100% + 39px); }
}

@media (max-width: 700px) {
  .daily-prizes { margin-top: 55px; row-gap: 42px; }
  .daily-prize:nth-child(-n+2) {
    min-height: 260px;
    padding: 25px 23px;
    border-radius: 23px;
  }
  .daily-prize:nth-child(-n+2)::before { right: 0; top: 12%; width: 57%; }
  .daily-prize:nth-child(-n+2)::after { top: 37px; right: 32%; font-size: 21px; }
  .daily-prize:nth-child(-n+2) .prize-count {
    width: 60%;
    gap: 8px;
  }
  .daily-prize:nth-child(-n+2) .prize-count strong { font-size: 68px; }
  .daily-prize:nth-child(-n+2) .prize-count span { max-width: 63px; font-size: 10px; }
  .daily-prize:nth-child(-n+2) .small-prize-image {
    top: -44px;
    right: 6%;
    width: 42%;
    height: calc(100% + 40px);
  }
  .daily-prize:nth-child(-n+2) .small-prize-image > img { height: min(290px, 100%); }
  .daily-prize:first-child .small-prize-image > img { height: 100%; }
  .daily-prize:nth-child(2) .small-prize-image { top: -35px; }
  .daily-prize:nth-child(2) .small-prize-image > img { height: min(285px, 100%); }
  .daily-prize:nth-child(-n+2) h3 {
    width: 46%;
    margin-top: 22px;
    font-size: 15px;
  }
  .daily-prize:nth-child(-n+2) > p { width: 46%; margin-top: 12px; font-size: 11px; }
  .daily-prize:nth-child(-n+2) > p strong { font-size: 31px; }
}

@media (max-width: 374px) {
  .daily-prize:nth-child(-n+2) { min-height: 245px; padding: 23px 18px; }
  .daily-prize:nth-child(-n+2) .prize-count strong { font-size: 59px; }
  .daily-prize:nth-child(-n+2) .prize-count span { font-size: 9px; }
  .daily-prize:nth-child(-n+2) h3 { width: 45%; font-size: 14px; }
  .daily-prize:nth-child(-n+2) > p { width: 45%; }
  .daily-prize:nth-child(-n+2) > p strong { font-size: 26px; }
  .daily-prize:nth-child(-n+2) .small-prize-image { right: -2%; width: 41%; }
  .daily-prize:nth-child(2) .small-prize-image > img { height: min(265px, 100%); }
}
