/* Event Notifications — right side of screen */

/* Notification base (goal-scorer, card, substitution) */
.notification-card {
  position: absolute;
  top: 150px;
  right: 50px;
  width: 360px;
  background: rgba(10, 10, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(75, 47, 163, 0.25);
}

.notif-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.notif-content {
  padding: 16px 16px 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Player photo */
.notif-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--team-color, #4B2FA3);
  flex-shrink: 0;
}

.notif-photo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 3px solid var(--team-color, #4B2FA3);
}

.notif-info {
  flex: 1;
  min-width: 0;
}

.notif-player-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.notif-player-number {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 6px;
}

.notif-event-type {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.notif-minute {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.notif-score {
  font-size: 24px;
  font-weight: 700;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.notif-team-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.notif-assist {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* Goal Splash — full width dramatic notification */
#goal-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.splash-bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 30px;
}

.splash-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.splash-logo-fallback {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
}

.splash-text {
  font-size: 72px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.splash-subtext {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Card Icon (CSS-drawn) */
.card-icon {
  width: 32px;
  height: 44px;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-icon.yellow { background: #FFD700; }
.card-icon.red { background: #FF4444; }
.card-icon.second-yellow {
  background: #FFD700;
  border: 3px solid #FF4444;
}

/* Substitution */
.sub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.sub-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.sub-arrow.in { color: #22c55e; }
.sub-arrow.out { color: #ef4444; }

.sub-player {
  font-size: 17px;
  font-weight: 500;
}

.sub-number {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 4px;
}
