#settle-grid {
  position: relative;
  width: 100%;
}

.settle-item {
  position: absolute;
  transition:
    top 0.4s ease-in-out,
    left 0.4s ease-in-out;
}

.news-card,
.competition-card {
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
}

.news-photo {
  width: 100%;
  height: auto;
  display: block;
}

.ad-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #2980b9 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(102, 126, 234, 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);
}

.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: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #00b4db, #0083b0, #667eea, #764ba2);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.ad-banner:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 25px 50px rgba(102, 126, 234, 0.35),
    0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.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;
}

.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: 20px 0 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

.ad-banner h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  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;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  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: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulseGlow 2s ease-in-out infinite;
}

@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);
  }
}

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

  .ad-banner h4 {
    font-size: 1.3rem;
  }

  .ad-banner p {
    font-size: 0.9rem;
  }

  .ad-banner-accent {
    display: inline-block;
    margin-bottom: 15px;
  }
}

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

  .ad-banner i.bi-stopwatch {
    font-size: 2.5rem !important;
  }
}
