* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.lomba-kategori {
  min-height: 100vh;
  background: linear-gradient(135deg, #1b1919 0%, #282828 100%);
  color: #f0ece2;
  padding: 80px 0 40px;
}

.container-lomba {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.lomba-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.lomba-header .back-button {
  position: absolute;
  left: 0;
  top: 20px;
  display: flex;
  align-items: center;
  color: #f0ece2;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.lomba-header .back-button:hover {
  background: rgba(255, 155, 23, 0.2);
  transform: translateX(-5px);
}

.lomba-header .back-button i {
  margin-right: 8px;
}

.lomba-header .header-content {
  padding-top: 20px;
}

.lomba-header .logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.lomba-header h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 48px;
  margin: 20px 0 10px;
  background: linear-gradient(135deg, #ff9b17, #fff085);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lomba-header p {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  color: rgba(240, 236, 226, 0.8);
  margin: 0;
}

/* Lomba Grid */
.lomba-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.lomba-card {
  background: linear-gradient(
    145deg,
    rgba(255, 155, 23, 0.1),
    rgba(255, 240, 133, 0.05)
  );
  border: 2px solid rgba(255, 155, 23, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 0 0 350px;
  min-width: 350px;
  max-width: 400px;
}

.lomba-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 155, 23, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.lomba-card:hover::before {
  left: 100%;
}

.lomba-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 155, 23, 0.4);
  box-shadow: 0 20px 40px rgba(255, 155, 23, 0.1);
}

.lomba-icon {
  /* width: 80px; */
  width: 100%;
  height: 150px;
  /* background: linear-gradient(135deg, #ff9b17, #fff085); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

/* .lomba-card:hover .lomba-icon {
  transform: scale(1.1) rotate(360deg);
}

.lomba-card:hover .lomba-icon img {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 155, 23, 0.5));
} */

/* .lomba-icon i {
  font-size: 32px;
  color: #1b1919;
} */

.lomba-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lomba-content h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 15px;
  color: #ff9b17;
}

.lomba-content p {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(240, 236, 226, 0.8);
  margin-bottom: 20px;
}

.lomba-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(240, 236, 226, 0.7);
}

.detail-item i {
  width: 16px;
  height: 16px;
  color: #ff9b17;
  font-size: 14px;
}

.lomba-actions {
  display: flex;
  gap: 10px;
}

.btn-selengkapnya,
.btn-daftar {
  flex: 1;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-selengkapnya {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 155, 23, 0.3);
  color: #f0ece2;
}

.btn-selengkapnya:hover {
  background: rgba(255, 155, 23, 0.2);
  border-color: rgba(255, 155, 23, 0.5);
  transform: translateY(-2px);
}

.btn-daftar {
  background: linear-gradient(135deg, #ff9b17, #fff085);
  transition: all 0.3s ease;
  color: #1b1919;
}

.btn-daftar:hover {
  background: linear-gradient(135deg, #fff085, #ff9b17);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 155, 23, 0.3);
}

/* Footer Section */
.lomba-footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px;
  background: rgba(255, 155, 23, 0.1);
  border-radius: 20px;
  border: 2px solid rgba(255, 155, 23, 0.2);
}

.lomba-footer h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ff9b17;
  margin: 0 0 20px;
}

.timeline-item,
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.timeline-item i,
.contact-item i {
  color: #ff9b17;
  font-size: 16px;
  width: 20px;
}

.contact-item a {
  color: #f0ece2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ff9b17;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .lomba-header h1 {
    font-size: 36px;
  }

  .lomba-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .lomba-card {
    padding: 20px;
    flex: none;
    width: 100%;
    max-width: 500px;
    min-width: auto;
  }

  /* .lomba-details {
    flex-direction: column;
    gap: 10px;
  } */

  .lomba-actions {
    flex-direction: column;
  }

  .lomba-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .lomba-header .back-button {
    position: relative;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .lomba-header h1 {
    font-size: 28px;
  }

  .lomba-card {
    padding: 15px;
    max-width: 100%;
  }

  .lomba-content h3 {
    font-size: 20px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .lomba-grid {
    justify-content: center;
  }

  .lomba-card {
    flex: 0 1 calc(50% - 15px);
    min-width: 320px;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 40px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }
}
