/* ============ WINNERS SECTION ============ */
.winners-section {
  padding: 160px 20px;
  background: var(--bg-color-primary);
}

/* Header */
.winners-header {
  text-align: center;
  margin-bottom: 50px;
}

.winners-title {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background-image: linear-gradient(to right, #d323ff, #a020f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.winners-subtitle {
  font-size: var(--text-size-primary);
  color: var(--text-color-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid — 3 per row */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Winner Card */
.winner-card {
  border: 1px solid;
  border-color: var(--border-color-primary);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.winner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Image */
.winner-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
}

.winner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.winner-card:hover .winner-img img {
  transform: scale(1.06);
}

/* Badge */
.winner-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.winner-badge.gold {
  background: linear-gradient(135deg, #f5b301, #d97706);
}

.winner-badge.silver {
  background: linear-gradient(135deg, #b8c0c9, #8a94a0);
}

.winner-badge.bronze {
  background: linear-gradient(135deg, #c77d3f, #a05a1f);
}

.winner-badge.special {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

/* Info */
.winner-info {
  background: var(--bg-color-primary);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.winner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.winner-school {
  font-size: var(--text-size-secondary);
  color: var(--blue-accent);
  margin: 0;
}

.winner-category {
  font-size: var(--h5-font-size);
  font-weight: var(--h5-font-weight);
  text-transform: uppercase;
  margin: 4px 0 12px;
  /* background-image: linear-gradient(to right, #d323ff, #a020f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: var(--text-color-primary);
  display: inline-block;
}

/* Button */
.winner-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;

}

.winner-btn:hover {
  background: #5b21b6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

/* ============ VIDEO MODAL ============ */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 16px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .winners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .winners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .winners-section {
    padding: 120px 16px;
  }

  .winner-info {
    padding: 16px;
  }
}

/* ---------- SECTION HEADER ---------- */
.highlights-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.section-title {
  text-align: center;
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  color: var(--heading-color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: var(--text-size-primary);
  color: var(--text-color-secondary);
  margin-bottom: 48px;
}

/* ---------- BENTO GRID ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 180px);
  gap: 14px;
}

/* ---------- BENTO ITEMS ---------- */
.bento-item {
  overflow: hidden;
  border-radius: 16px;
  background: #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover Effect */
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.bento-item:hover img {
  transform: scale(1.05);
}

/* ---------- LAYOUT POSITIONS ---------- */

/* Big feature image — top-left, spans 2 cols x 2 rows */
.item-1 {
  grid-column: span 2;
  grid-row: span 2;
}

/* Top-right wide image */
.item-2 {
  grid-column: span 2;
  grid-row: span 1;
}

/* Small square images */
.item-3 {
  grid-column: span 1;
  grid-row: span 1;
}

.item-4 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Bottom-left small */
.item-5 {
  grid-column: span 1;
  grid-row: span 1;
}

/* Bottom wide image */
.item-6 {
  grid-column: span 3;
  grid-row: span 1;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 160px);
  }

  .item-1 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .item-2 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-3 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-4 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-5 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-6 {
    grid-column: span 3;
    grid-row: span 1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 10px;
  }

  .bento-item {
    height: 150px;
  }

  .item-1 {
    grid-column: span 2;
    grid-row: span 1;
    height: 220px;
  }

  .item-2 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .item-3 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-4 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-5 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .item-6 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}


/* ============================================================
   EXPLORE SECTION — Feature Cards with Floating Icons
   ============================================================ */

.explore-section {
  padding: 80px 20px 60px;
  background: var(--bg-color-primary);
}

.explore-section .container,
.explore-section {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.explore-header {
  text-align: center;
  margin-bottom: 60px;
}

.explore-header .section-title {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  color: var(--heading-color-primary);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.explore-header .section-subtitle {
  font-size: var(--text-size-primary);
  color: var(--text-color-secondary);
}

/* ============================================
   GRID — 3 equal cards in one row
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   CARD BASE
   ============================================ */
.category-card {
  position: relative;
  padding: 55px 26px 36px;
  border: 1px solid;
  border-color: var(--border-color-primary);
  border-radius: 16px;
  text-align: center;
  margin-top: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* ============================================
   FLOATING ICON (circle on top edge)
   ============================================ */
.category-icon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: translateX(-50%) scale(1.08);
}

/* Icon colors per card */
.category-card.robo-soccer .category-icon {
  color: #ff04ff;
}

.category-card.fastest-fingers .category-icon {
  color: #ff04ff;
}

.category-card.open-innovation .category-icon {
  color: #ff04ff;
}

/* ============================================
   CARD TEXT
   ============================================ */
.category-name {
  font-size: var(--h5-font-size);
  font-weight: var(--h5-font-weight);
  margin: 0 0 14px;
  color: var(--text-color-primary);
}

.category-desc {
  font-size: var(--text-size-small);
  line-height: 1.55;
  margin: 0 0 18px;
  color: var(--blue-accent);
}

.category-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #d323ff 0%, #a018d4 100%);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 14px;
  box-shadow: 0 4px 12px rgba(211, 35, 255, 0.25);
}

.category-btn:hover {
  background: linear-gradient(135deg, #e04fff 0%, #b81ce8 100%);
  box-shadow: 0 6px 16px rgba(211, 35, 255, 0.4);
  transform: translateY(-1px);
}




/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .category-card:nth-child(3) {
    grid-column: span 2;
    max-width: 460px;
    justify-self: center;
    width: 100%;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 640px) {
  .explore-section {
    padding: 60px 16px 40px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .category-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .category-card {
    padding: 50px 22px 30px;
  }

  .category-name {
    font-size: 1.15rem;
  }

  .category-desc {
    font-size: 0.95rem;
  }

  .category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    top: -28px;
  }
}