/**
 * @description homepage styling sheet
 * @requires tailwind for base utils
 */

/* fade-up on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.45s cubic-bezier(0.4,0,0.2,1) forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.19s; }
.d4 { animation-delay: 0.26s; }
.d5 { animation-delay: 0.33s; }

/* section label */
.section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

/* photo placeholders */
.photo-slot {
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.12);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* game card */
.game-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0d0d0d;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  text-decoration: none;
  display: block;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 35px -10px var(--accent);
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.7) 60%, transparent);
  padding: 2rem 0.75rem 0.75rem;
}

/* team card */
.team-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  background: #0a0a0a;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: block;
}
.team-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: #111;
}

/* event rows */
.event-row {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s ease-out;
  cursor: default;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { transform: translateX(3px); }

/* sidebar sticky on large screens */
@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 80px;
  }
}
