/* contests.css */

/* Container for contest grids */
.competitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.contests-section h2 {
  color: #fff;
}

/* Individual contest card */
.competition-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
  cursor: pointer;
}

.competition-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.competition-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.competition-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Top image section with background */
.card-top-section {
  position: relative;
  padding: 30px 20px 20px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
}

/* Top prize and status 
.card-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
}
*/

/*
.prize {
  background-color: #ff3e00;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
}
*/

.status {
  background-color: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Bottom section */
.card-bottom-section {
  padding: 16px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Light grey for contest dates */
.card-dates {
  font-weight: 600;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 6px;
}

/* Dark grey for general paragraph text */
.card-bottom-section p:not(.card-dates),
.competitions-grid p {
  color: #a8a8a8;
}

/* White for hashtags */
.card-bottom-section .hashtag {
  font-size: 0.9rem;
  color: #fff !important;
  margin-bottom: 12px;
}

/* Platform icon pills container */
.platform-icons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

/* Platform pill 
.pill {
  display: flex;
  align-items: center;
  background-color: #eee;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: #333;
  user-select: none;
  gap: 4px;
  font-weight: 600;
}
.pill img {
  width: 16px;
  height: 16px;
  display: block;
}
*/

/* Card links 
.card-links {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #999;
}
*/

/*
.card-links .btn-link {
  color: #ff3e00;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}
.card-links .btn-link:hover {
  text-decoration: underline;
  color: #e13600;
}
*/

.muted {
  user-select: none;
}

/* hide footer initially */
footer {
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Optional: set a min-height if needed to avoid layout shift */
  min-height: 60px; /* or actual footer height */
}

/* Reveal footer when page is loaded, via a class on body */
body.page-loaded footer {
  opacity: 1;
}

