* {
  box-sizing: border-box;
}

:root {
  --background: #fff6e7;
  --text: #2f2b24;
  --muted-text: #64594b;
  --accent: #0f5132;
  --accent-light: #1c7049;
  --berry: #9d1f2b;
  --gold: #c0902f;
  --card-background: #fffdf7;
  --border: #f1debc;
  --shadow: 0 25px 60px -35px rgba(19, 38, 22, 0.55);
  --radius-lg: 26px;
  --radius-md: 18px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

header,
main,
footer,
.providers,
.intro,
.hero {
  position: relative;
  z-index: 1;
}

.sparkle-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff6e7 0%, var(--gold) 60%, transparent 100%);
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkle-float 12s linear infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: -8px;
  background: rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0.6;
}

.sparkle::after {
  inset: -4px;
  opacity: 0.8;
}

@keyframes sparkle-float {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  70% {
    transform: translate3d(15px, -120px, 0) scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(-20px, -240px, 0) scale(0.5);
    opacity: 0;
  }
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

p {
  margin: 0 0 1.1rem;
  color: var(--muted-text);
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 3rem 0;
}

.hero {
  background: radial-gradient(circle at top, rgba(192, 144, 47, 0.3), transparent 55%),
    linear-gradient(180deg, rgba(248, 234, 200, 0.8), transparent 70%);
  position: relative;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero__image-wrapper {
  flex: 0 0 auto;
  width: min(280px, 70vw);
  aspect-ratio: 1 / 1;
  background: var(--card-background);
  border-radius: 40px;
  box-shadow: 0 25px 60px -35px rgba(15, 81, 50, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  border: 3px solid rgba(192, 144, 47, 0.35);
}

.hero__image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.hero__text {
  flex: 1;
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: 0.25rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.hero__text h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--accent);
}

.hero__text p {
  font-size: 1.1rem;
  color: var(--muted-text);
}

.intro {
  background-color: var(--card-background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro__body {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.intro__body h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.providers {
  background: rgba(31, 92, 58, 0.05);
  border-top: 1px solid rgba(31, 92, 58, 0.1);
  border-bottom: 1px solid rgba(31, 92, 58, 0.1);
}

.providers .container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.providers__eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.provider-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.provider-logo {
  margin: 0;
  text-align: center;
  padding: 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 30px -30px rgba(0, 0, 0, 0.55);
}

.provider-logo img {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(0.05);
}

.prizes {
  padding: 1rem 0 4rem;
}

.prizes__intro {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.prize-grid {
  display: grid;
  gap: 1.5rem;
}

.prize-grid__empty {
  background: var(--card-background);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  color: var(--muted-text);
  box-shadow: var(--shadow);
  font-weight: 600;
}

.prize-card {
  background: var(--card-background);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(192, 144, 47, 0.2);
}

.prize-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1 1 auto;
}

.prize-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.prize-card__title {
  margin: 0;
  flex: 1 1 160px;
}

.prize-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted-text);
}

.prize-card__meta span {
  background: rgba(192, 144, 47, 0.15);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.prize-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.prize-card__provider {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.prize-card__provider strong {
  margin-right: 0.25rem;
}

.prize-card__provider-name {
  font-weight: 600;
  color: var(--text);
}

.prize-card__provider-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.prize-card__provider-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 92, 58, 0.12);
  color: var(--accent);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.prize-card__provider-link:hover,
.prize-card__provider-link:focus-visible {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.prize-card__logo {
  width: clamp(70px, 26%, 110px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 0.35rem;
  border: 1px solid rgba(192, 144, 47, 0.35);
}

.prize-card__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.prize-card__media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(15, 81, 50, 0.08);
  border: 1px solid rgba(192, 144, 47, 0.2);
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slides {
  position: relative;
  width: 100%;
  min-height: 220px;
}

.carousel__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.carousel__slide.is-active {
  display: block;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(31, 92, 58, 0.85);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.carousel__control--prev {
  left: 0.75rem;
}

.carousel__control--next {
  right: 0.75rem;
}

.carousel__control:hover,
.carousel__control:focus-visible {
  background: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.carousel__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  transition: background-color 150ms ease, transform 150ms ease;
}

.carousel__dot.is-active,
.carousel__dot:hover,
.carousel__dot:focus-visible {
  background: #ffffff;
  transform: scale(1.1);
}

.prizes__error {
  margin-top: 2rem;
  color: #b3261e;
  font-weight: 600;
}

.social {
  background: rgba(15, 81, 50, 0.07);
}

.social__body {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.social__body h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--card-background);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.35);
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  transition: background-color 150ms ease, color 150ms ease;
}

.social__links a:hover,
.social__links a:focus-visible {
  background: var(--accent);
  color: #ffffff;
}

.footer {
  text-align: center;
  padding: 2.5rem 0 3.5rem;
  color: var(--muted-text);
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .hero__content {
    flex-direction: row;
    align-items: center;
  }

  .hero__text {
    text-align: left;
  }

  .container {
    padding: 4rem 0;
  }

  .prize-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 1024px) {
  .prize-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .prize-card__header {
    flex-direction: row;
  }

  .prize-card__logo {
    width: 110px;
  }
}
