/* Giveaway art and layout follow the supplied reference; other sections stay untouched. */
#giveaway {
  position: relative;
  min-height: 380px;
  border: 1px solid #4f6e92;
  border-radius: 12px;
  background: #030c16;
  box-shadow: 0 0 0 2px rgba(27, 53, 83, 0.34), 0 0 12px rgba(31, 93, 180, 0.12);
  clip-path: none;
  overflow: hidden;
}

#giveaway::before {
  inset: 5px;
  z-index: 4;
  border: 1px solid rgba(134, 163, 195, 0.17);
  border-radius: 8px;
  background: none;
  clip-path: none;
  pointer-events: none;
}

#giveaway .giveaway-scene {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

#giveaway .giveaway-shade {
  background: linear-gradient(90deg, rgba(2, 9, 18, 0.84), rgba(2, 9, 18, 0.68) 32%, rgba(2, 9, 18, 0.12) 48%, transparent 60%);
}

#giveaway .giveaway-copy {
  display: flex;
  width: min(540px, 46%);
  min-height: 378px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0 30px 34px;
}

#giveaway .eyebrow {
  color: #78aff0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

#giveaway h2 {
  margin: 10px 0 0;
  color: #eff4fc;
  font-size: clamp(2rem, 3.35vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.1;
}

#giveaway .giveaway-copy ul {
  width: 100%;
  gap: 16px;
  margin: 24px 0;
}

#giveaway .giveaway-copy li {
  gap: 12px;
  color: #c2cedc;
  font-size: 0.96rem;
  line-height: 1.5;
}

#giveaway .giveaway-copy li svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 5px;
  border-color: rgba(65, 103, 153, 0.34);
  border-radius: 3px;
  background: rgba(7, 24, 46, 0.66);
  stroke: #7eacd8;
  stroke-width: 1.2;
}

#giveaway .giveaway-stats {
  width: min(430px, 100%);
  grid-template-columns: 1.12fr 1fr;
  margin-top: auto;
  border-color: #405672;
  border-radius: 7px;
  background: rgba(2, 10, 20, 0.7);
  box-shadow: inset 0 0 0 3px rgba(20, 37, 60, 0.28);
}

#giveaway .giveaway-stats > div {
  min-width: 0;
  padding: 12px 20px;
}

#giveaway .giveaway-stats > div + div {
  border-left-color: rgba(92, 119, 151, 0.45);
}

#giveaway .giveaway-stats strong {
  color: #e6edf6;
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

#giveaway .giveaway-stats span {
  margin-top: 4px;
  color: #a0b2c8;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

@media (min-width: 761px) and (max-width: 1120px) {
  #giveaway {
    min-height: 352px;
  }

  #giveaway .giveaway-copy {
    width: 48%;
    min-height: 350px;
    padding: 26px 0 26px 26px;
  }

  #giveaway .eyebrow {
    font-size: 0.75rem;
  }

  #giveaway .giveaway-copy li {
    gap: 9px;
    font-size: 0.83rem;
  }

  #giveaway .giveaway-copy ul {
    gap: 12px;
    margin-block: 20px;
  }

  #giveaway .giveaway-stats > div {
    padding-inline: 14px;
  }

  #giveaway .giveaway-stats strong {
    font-size: 1.34rem;
  }
}

@media (max-width: 980px) {
  #giveaway {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  #giveaway .giveaway-copy {
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 25px 22px 12px;
  }

  #giveaway h2 {
    font-size: clamp(1.9rem, 7vw, 2.65rem);
  }

  #giveaway .eyebrow {
    font-size: 0.74rem;
  }

  #giveaway .giveaway-copy ul {
    gap: 12px;
    margin: 20px 0;
  }

  #giveaway .giveaway-copy li {
    font-size: 0.85rem;
  }

  #giveaway .giveaway-stats {
    width: min(430px, 100%);
    margin-top: 0;
  }

  #giveaway .giveaway-stats > div {
    padding: 11px 15px;
  }

  #giveaway .giveaway-stats strong {
    font-size: 1.35rem;
  }

  #giveaway .giveaway-stats span {
    font-size: 0.74rem;
  }

  #giveaway .giveaway-scene {
    position: relative;
    inset: auto;
    order: 2;
    height: auto;
    aspect-ratio: 1.75;
    object-fit: cover;
    object-position: 91% center;
    margin-top: 0;
    mask-image: linear-gradient(180deg, transparent, #000 8%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%);
  }

  #giveaway .giveaway-shade {
    display: none;
  }
}

@media (min-width: 621px) and (max-width: 980px) {
  #giveaway .giveaway-copy {
    padding: 26px 26px 14px;
  }

  #giveaway .giveaway-scene {
    aspect-ratio: 2.3;
  }
}

@media (max-width: 380px) {
  #giveaway .giveaway-copy {
    padding-inline: 18px;
  }

  #giveaway .giveaway-copy li {
    gap: 8px;
    font-size: 0.8rem;
  }

  #giveaway .giveaway-stats > div {
    padding-inline: 12px;
  }

  #giveaway .giveaway-stats strong {
    font-size: 1.24rem;
  }
}
