/* Enhanced Fixtures & Results Styling */

/* Interactive fixtures styling */
.interactive-fixture,
.interactive-result {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  transform-origin: center;
}

.interactive-fixture:hover,
.interactive-result:hover {
  transform: translateY(-3px) scale(1.01);
  background: rgba(26, 82, 118, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.fixture-hover,
.result-hover {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  background: linear-gradient(
    to top,
    rgba(26, 82, 118, 0.9),
    rgba(26, 82, 118, 0.5),
    transparent
  );
  padding: 30px 0 12px;
  backdrop-filter: blur(2px);
}

.interactive-fixture:hover .fixture-hover,
.interactive-result:hover .result-hover {
  bottom: 0;
  opacity: 1;
}

.btn-reminder,
.btn-highlights {
  background: rgba(52, 152, 219, 0.6);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.btn-reminder:hover,
.btn-highlights:hover {
  background: rgba(52, 152, 219, 0.9);
  transform: scale(1.05);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.btn-reminder i,
.btn-highlights i {
  font-size: 0.9rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

/* Enhanced fixture and result cards */
.fixture-date,
.result-date {
  background: linear-gradient(
    90deg,
    rgba(26, 82, 118, 0.7),
    rgba(26, 82, 118, 0.2)
  );
  padding: 10px 16px;
  border-radius: 6px;
  margin: 18px 0 12px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  border-left: 4px solid #3498db;
}

.fixture-date:before,
.result-date:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  height: 100%;
  width: 4px;
  background: #3498db;
  border-radius: 6px 0 0 6px;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.fixture-row,
.result-row {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: rgba(26, 82, 118, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.1);
  position: relative;
  overflow: hidden;
}

.fixture-row:hover,
.result-row:hover {
  background: rgba(26, 82, 118, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(52, 152, 219, 0.3);
}

/* Add subtle accent */
.fixture-row:before,
.result-row:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #3498db;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.fixture-row:hover:before,
.result-row:hover:before {
  opacity: 1;
  width: 5px;
}

.team-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px;
  border: 1px solid rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.interactive-fixture:hover .team-logo,
.interactive-result:hover .team-logo {
  transform: scale(1.1);
  border-color: rgba(52, 152, 219, 0.7);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.team-name {
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.2px;
}

.interactive-fixture:hover .team-name,
.interactive-result:hover .team-name {
  color: #3498db;
}

.match-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}

.match-time {
  font-weight: 700;
  color: #3498db;
  font-size: 0.95rem;
  text-shadow: 0 0 3px rgba(52, 152, 219, 0.3);
  letter-spacing: 0.5px;
}

.match-status {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 3px 0;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.match-stadium {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.match-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.result-score {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.score-display {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.result-score.winner {
  color: #3498db;
  text-shadow: 0 0 8px rgba(52, 152, 219, 0.7);
}

.interactive-result:hover .result-score.winner,
.interactive-result:hover .score-display {
  transform: scale(1.2);
  color: #3498db;
}

.result-divider {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* Responsive styling */
@media (max-width: 767px) {
  .fixture-row,
  .result-row {
    padding: 12px 10px;
  }

  .team-logo {
    width: 28px;
    height: 28px;
  }

  .team-name {
    font-size: 0.85rem;
    font-weight: 700;
  }

  .match-time,
  .result-score {
    font-size: 0.95rem;
  }

  .fixture-hover,
  .result-hover {
    padding: 25px 0 10px;
  }

  .btn-reminder,
  .btn-highlights {
    padding: 5px 10px;
    font-size: 0.8rem;
  }

  .match-stadium {
    font-size: 0.7rem;
  }

  .fixture-date,
  .result-date {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
