/* ================= HERO ================= */
.winner-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    url("../../assets/images/hero-banner.jpeg") no-repeat right center / cover;
}

.winner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ================= SECTION ================= */
.winners-premium {
  position: relative;
  padding: 4.5rem 1.5rem;
  background: #fffaf5;
  overflow: hidden;
}
.hero {
  min-height: 54vh;
  display: flex;
  align-items: center;
background:
    url("../../assets/images/banner/event.jpg") no-repeat right center / cover;
}

/* Inner container */
.hero-inner {
  max-width: 520px;
  margin-left: 80px;
  position: relative;
  z-index: 3;
}

/* Pill */
.hero-pill {
  background: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 14px;
}

/* Title */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Gradient text */
.hero-title span {
  background: linear-gradient(90deg,#ff4fae,#ffb000,#4fd2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Text */
.hero-text {
  color: #555;
  margin: 18px 0 24px;
  max-width: 460px;
}


/* Soft glow */
.winners-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, #ffe4ec 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, #e8f6ff 0%, transparent 45%);
  opacity: .6;
  z-index: 0;
}

.winners-premium .wrapper {
  position: relative;
  z-index: 1;
}

.about-pill {
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.about-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 30px;
}

.about-title span {
  background: linear-gradient(90deg, #ff4fae, #ffb000, #4fd2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-closing {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: #fffaf7;
  overflow: hidden;
}

.about-closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, #ffe4ec 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, #e8f6ff 0%, transparent 45%);
  opacity: .4;
}

.about-closing .wrapper {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.closing-text {
  margin: 0 0 22px;
  color: #555;
  font-size: 1.05rem;
}

/* ================= GRID ================= */
.winners-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}

/* ================= CARD ================= */
.winner-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}

.winner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,.12);
}

.winner-img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
  background: #fff;
  padding: 12px;
  border: 4px solid #ffd5f6;
  border-radius: 14px;
}

.ribbon {
  position: absolute;
  padding: 6px 16px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  animation: pop 1.3s infinite;
  z-index: 2;
  top: 14px;
  right: 14px;
}

.ribbon.gold { background:#ffe28a; }
.ribbon.silver { background:#e5d8ff; }
.ribbon.bronze { background:#ffc3a0; }

@keyframes pop {
  0%{transform:scale(1);}
  50%{transform:scale(1.14);}
  100%{transform:scale(1);}
}

.winner-info {
  text-align: center;
  padding: 16px;
}

.winner-info h5 {
  font-weight: 700;
  margin-bottom: 5px;
  color: #ff53c1;
  text-transform: uppercase;
}

.winner-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ff4fae;
  margin-bottom: 4px;
}

.winner-card p {
  font-size: .95rem;
  color: #555;
}

/* ================= BADGES ================= */
.winner-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.winner-card.gold   .winner-badge { background:#ffe28a; }
.winner-card.silver .winner-badge { background:#e3d8ff; }
.winner-card.bronze .winner-badge { background:#ffc8a8; }
.winner-badge.soft  { background:#f3f3f3; }

/* ================= TEXT ================= */
.winner-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ff4fae;
  margin-bottom: 4px;
}

.winner-card p {
  font-size: .95rem;
  color: #555;
}


/* =============== UTILITIES =============== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.justify-content-center {
  display: flex !important;
  justify-content: center !important;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.row.g-4 {
  gap: 1.5rem;
}

.row > [class*="col-"] {
  padding: 0 12px;
}

.col-md-4 {
  width: 100%;
}

.winners-premium .row.g-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin: 0;
}

.winners-premium .row.g-4 > [class*="col-"] {
  width: auto;
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.3333%;
  }
}

/* ================= TABS ================= */
.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 24px;
  list-style: none;
}

.nav-tabs .nav-item {
  margin: 0;
}

.nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 160, 200, 0.35);
  background: #fff;
  color: #005a8f;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
  background: #fff0f7;
}

.nav-tabs .nav-link.active {
  background: #ffeaa2;
  color: #000;
  box-shadow: 0 10px 20px rgba(255, 132, 180, 0.18);
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

.tab-pane.fade {
  opacity: 0;
}

.tab-pane.show {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 600px) {
  .winners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .winners-premium .row.g-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .winners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .winners-premium .row.g-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero{
    background:
    url("../../assets/images/banner/event_mobile.png");
    background-repeat: no-repeat;
    background-position:  bottom center;
  
    background-size: cover;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.3) 100%);
    pointer-events: none;
  }
  .hero-inner { margin: 0 18px; }

  .hero-title { font-size: 2.1rem; }

  .winner-hero { min-height: 48vh; }

  /* grid & cards for tablet / small screens */
  .winners-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .winner-card { padding: 1.1rem; border-radius: 16px; }

  .winner-img { max-height: 220px; padding: 10px; border-width: 3px; }

  .ribbon { top: 12px; right: 12px; font-size: 13px; padding: 5px 12px; }

  .winner-info h5 { font-size: .75rem; }
  .winner-card h3 { font-size: .95rem; }
  .winner-card p { font-size: .9rem; }

  .winner-badge { padding: 5px 12px; font-size: .7rem; }
}

/* smaller phones */
@media (max-width: 480px) {
    .hero{
    background-image:
    url("../../assets/images/banner/event_mobile.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
  }
  .hero-inner { margin: 0 14px; }
  .hero-title { font-size: 1.6rem; }

  .winners-grid { grid-template-columns: 1fr; gap: 14px; }

  .winner-card { padding: .9rem; border-radius: 12px; }

  .winner-img { max-height: 180px; padding: 8px; }

  .ribbon { top: 10px; right: 10px; font-size: 12px; padding: 4px 10px; }

  .winner-info h5 { font-size: .7rem; }
  .winner-card h3 { font-size: .9rem; }
  .winner-card p { font-size: .85rem; }

  .winner-badge { padding: 4px 10px; font-size: .65rem; }
}
