/* ============================= */
/* MAIN SECTION */
/* ============================= */
.sponsors-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #f9f6ef, #f3efe6);
}

/* ============================= */
/* TITLE */
/* ============================= */
.sponsor-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 60px;
  color: #333;
}

/* ============================= */
/* GROUP */
/* ============================= */
.sponsor-group {
  margin-bottom: 70px;
  position: relative;
}

/* subtle separator */
.sponsor-group::after {
  content: "";
  width: 60%;
  height: 1px;
  background: rgba(0,0,0,0.06);
  display: block;
  margin: 60px auto 0;
}

/* ============================= */
/* HEADINGS */
/* ============================= */
.sponsor-group h3 {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 700;
}

/* COLORS */
.platinum h3 { color: #b9a100; }
.gold h3 { color: #d4af37; }
.silver h3 { color: #777; }
.bronze h3 { color: #cd7f32; }

/* ============================= */
/* GRID */
/* ============================= */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: center;
  overflow: visible; /* IMPORTANT for hover zoom */
}

/* ============================= */
/* CARD STYLE */
/* ============================= */
.sponsor-grid img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  position: relative;
  animation: fadeInUp 0.6s ease forwards;
}

/* animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================= */
/* HOVER EFFECT (GLOBAL) */
/* ============================= */
.sponsor-grid img:hover,
.platinum-wrapper img:hover {
  transform: scale(1.15) translateY(-8px);
  z-index: 10;
  box-shadow: 0 25px 60px rgba(212,175,55,0.45);
  border: 1px solid rgba(212,175,55,0.4);
}

/* ============================= */
/* PLATINUM (HERO) */
/* ============================= */
.platinum-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 50px;
  background: linear-gradient(135deg, #fff8d6, #ffffff);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.15);
}

.platinum-wrapper img {
  max-height: 260px;
  width: auto;
}

/* ============================= */
/* GOLD SPECIAL (BALANCE FIX) */
/* ============================= */
.gold .sponsor-grid img:first-child,
.gold .sponsor-grid img:nth-child(2) {
  grid-column: span 2;
  max-height: 120px;
}

/* ============================= */
/* DIVIDER */
/* ============================= */
.section-divider {
  width: 160px;
  height: 6px;
  margin: 70px auto;
  background: linear-gradient(to right, transparent, #d4af37, transparent);
  border-radius: 10px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {

  .sponsor-title {
    font-size: 32px;
  }

  .sponsor-group h3 {
    font-size: 24px;
  }

  .platinum-wrapper {
    padding: 40px 20px;
  }

  .platinum-wrapper img {
    max-height: 180px;
  }

  .sponsor-grid {
    gap: 25px;
  }

  .sponsor-grid img:hover {
    transform: scale(1.08);
  }
}