.competition-banner {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  color: white;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid transparent;
  border-image: linear-gradient(
      to right,
      #927025,
      #d4af37,
      #f97316,
      #d4af37,
      #927025
    )
    1;
}

/* Atmospheric Glow Elements */
.competition-banner::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
  filter: blur(60px);
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate;
}

.competition-banner::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.05) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

@keyframes pulseGlow {
  from {
    transform: scale(1);
    opacity: 0.5;
  }
  to {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.competition-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.competition-content {
  flex: 1;
  animation: fadeInSlide 1s ease-out;
}

@keyframes fadeInSlide {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.comp-badge .dot {
  width: 6px;
  height: 6px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 8px #d4af37;
}

.competition-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.competition-title span {
  background: linear-gradient(to bottom, #fde68a, #d4af37, #927025);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 800;
}

.competition-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 650px;
  line-height: 1.6;
  font-weight: 300;
}

.comp-meta {
  display: flex;
  gap: 2.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.comp-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comp-meta-item i {
  color: #d4af37;
  font-size: 1.1rem;
}

.competition-actions {
  display: flex;
  align-items: center;
  animation: fadeInScale 1s ease-out 0.3s both;
}

@keyframes fadeInScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.btn-comp-register {
  background: linear-gradient(145deg, #d4af37, #927025);
  color: #020617;
  padding: 1.25rem 3rem;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-comp-register::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.6s;
}

.btn-comp-register:hover::after {
  left: 100%;
}

.btn-comp-register:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(212, 175, 55, 0.5);
  background: linear-gradient(145deg, #fde68a, #d4af37);
}

.btn-comp-register i {
  font-size: 1.1rem;
  transition: transform 0.4s ease;
}

.btn-comp-register:hover i {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .competition-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .competition-banner {
    padding: 3rem 1.25rem;
  }

  .competition-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .comp-badge {
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
  }

  .competition-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .competition-subtitle {
    margin: 0 auto 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
  }

  .comp-meta {
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .comp-meta-item {
    font-size: 0.85rem;
  }

  .btn-comp-register {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Adjust atmospheric glows for mobile */
  .competition-banner::before {
    width: 300px;
    height: 300px;
    top: -10%;
    right: -20%;
  }
}

@media (max-width: 480px) {
  .competition-title {
    font-size: 1.75rem;
  }

  .competition-subtitle {
    font-size: 0.95rem;
  }
}
