/* Announcer Page Styles */

/* ============================
   Announcer of the Month
   ============================ */
.aotm-section {
  margin-bottom: 80px;
  text-align: center;
}

.aotm-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 14px solid #ffffff;
  border-bottom: 70px solid #ffffff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease;
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.aotm-card:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.aotm-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: sepia(0.15) contrast(1.08);
  transition: filter 0.4s ease;
}

.aotm-card:hover .aotm-photo {
  filter: sepia(0) contrast(1);
}

.aotm-info {
  position: absolute;
  bottom: -55px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0 10px;
}

.aotm-month {
  display: inline-block;
  background: var(--accent-3);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.aotm-name {
  font-family: 'Pagkaki', cursive !important;
  font-weight: 800;
  font-size: 20px;
  color: var(--dark) !important;
  margin: 0;
}

/* Decorative tape strip at top */
.aotm-card::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 60px;
  height: 22px;
  background: rgba(246, 196, 92, 0.75);
  border-radius: 3px;
  z-index: 2;
}


/* Announcer Grid: two-section layout */
/* Row 1: 4 cards centered in a flex row */
.announcer-row-top {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.announcer-row-top .announcer-card {
  width: calc((100% - 5 * 30px) / 6);
  flex-shrink: 0;
}

/* Row 2+: 6 per row in a standard grid */
.announcer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.announcer-card {
  position: relative;
  background: #ffffff;
  border: 12px solid #ffffff;
  border-bottom: 50px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  transform: rotate(calc(-2deg + (var(--rand, 0) * 4deg)));
}

/* Polaroid subtle rotations for realistic look */
.announcer-card:nth-child(even) { --rand: 1; }
.announcer-card:nth-child(3n) { --rand: 0.5; }
.announcer-card:nth-child(5n) { --rand: -0.5; }

.announcer-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 10;
}

.announcer-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gradient-fun);
}

.announcer-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: sepia(0.2) contrast(1.1); /* Slight vintage feel */
}

.announcer-card:hover .announcer-img-wrapper img {
  transform: scale(1.08);
  filter: sepia(0) contrast(1);
}

.announcer-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.announcer-card:hover .announcer-overlay {
  opacity: 1;
  transform: translateX(0);
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-3);
  color: var(--dark);
  transform: scale(1.1);
}

.announcer-info {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 5px;
}

.announcer-name {
  font-family: 'Pagkaki', cursive !important;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark) !important;
  margin-bottom: 0;
  line-height: 1.2;
  order: 2;
}

/* Show roles on polaroid */
.announcer-role {
  display: block;
  font-family: 'Poppins', sans-serif !important;
  font-size: 10px;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
  order: 1;
}

.announcer-bio {
  display: none;
}

@media (max-width: 1100px) {
  .announcer-grid { grid-template-columns: repeat(4, 1fr); }
  .announcer-row-top .announcer-card { width: calc((100% - 4 * 30px) / 4); }
}

@media (max-width: 768px) {
  .announcer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .announcer-row-top { flex-wrap: wrap; }
  .announcer-row-top .announcer-card { width: calc(50% - 15px); }
}

@media (max-width: 768px) {
  .star-announcer {
    flex-direction: column;
  }
  .star-img-wrapper {
    width: 100%;
    min-height: 350px;
  }
  .star-content {
    padding: 30px;
  }
}
