/* =========================================
   NEWS & COMPETITION CARDS
   ========================================= */
#newsSection .news-card,
#newsSection .competition-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

#newsSection .news-card:hover,
#newsSection .competition-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.15),
    0 0 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

.news-image {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background-color: #f8f9fa;
}

.news-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.competition-date {
  background: var(--color-primary);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  display: inline-block;
}

/* =========================================
   AD BANNER
   ========================================= */

.ad-banner {
  background: linear-gradient(135deg, #1e6091 0%, #2980b9 50%, #3498db 100%);
  color: white;
  border-radius: 12px;
  padding: 35px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 15px 35px rgba(41, 128, 185, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ad-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  animation: shimmerFlow 4s ease-in-out infinite;
  pointer-events: none;
}

.ad-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.ad-banner:hover::after {
  opacity: 1;
}

.ad-banner:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(41, 128, 185, 0.35),
    0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.ad-banner i.bi-stopwatch {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
  transition: all 0.3s ease;
  font-size: 3rem;
  margin-bottom: 10px;
}

.ad-banner:hover i.bi-stopwatch {
  filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.4));
  transform: scale(1.1) rotate(-5deg);
}

.ad-banner h4 {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 10px 0 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
}

.ad-banner h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

.ad-banner p {
  text-align: left;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
}

.ad-banner-accent {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulseGlow 2s ease-in-out infinite;
  z-index: 2;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes shimmerFlow {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
  }
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .ad-banner {
    padding: 25px 20px;
    margin: 0;
  }

  .ad-banner-accent {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
    transform: none !important;
    animation: none;
    background: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 576px) {
  .ad-banner {
    padding: 20px 15px;
  }
}
