/* MatchCard — Stadium Elite Style */

.card {
  padding: 20px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
  cursor: default;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 1px 0 0 rgba(255,255,255,0.05);
}

.live {
  box-shadow:
    0 0 0 1px rgba(248,113,113,0.25),
    0 10px 30px rgba(248,113,113,0.08),
    inset 0 1px 0 rgba(255,255,255,0.07) !important;
}

/* Top row */
.topRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.statusLive {
  color: var(--error);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}


.badge, .badgeUrgent {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}

.badge {
  background: var(--surface-high);
  color: var(--text-secondary);
}

.badgeUrgent {
  background: rgba(254,174,50,0.12);
  color: var(--gold);
  border: 1px solid rgba(254,174,50,0.2);
}

.group {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-dim);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(75,183,248,0.15);
  margin-left: auto;
}

/* Match row — Teams + Score */
.matchRow {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* Teams */
.teamHome {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

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

/* Flag box — glossy square */
.flagBox {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: var(--surface-high);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.flagBox::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.crest {
  width: 38px;
  height: 38px;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

.teamName {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Score / VS center */
.scoreBox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.score {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 4px;
}

.kickoffCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.kickoffCenterTime {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

/* Tipp area */
.tipRow {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

/* Wenn tipRow zum Banner wird */
.tipRow.resultBanner {
  border-top: none;
  padding-top: 0;
  min-height: unset;
}

.tipBtn {
  width: 100%;
  max-width: 260px;
  padding: 11px 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Existing tip display — 3-column grid so center stays centered */
.tipDisplay {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.tipLeft  { display: flex; justify-content: flex-start; align-items: center; }
.tipRight { display: flex; justify-content: flex-end;  align-items: center; }

/* Banner-Variante: Icon + Label als Zeile */
.bannerLeft {
  gap: 6px;
  flex-direction: row;
}

.tipCenter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tipLabel {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tipScore {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--primary);
  background: var(--primary-dim);
  padding: 3px 14px;
  border-radius: 8px;
  border: 1px solid rgba(75,183,248,0.15);
}

/* ── Ergebnis-Banner ──────────────────────────────────────────── */
.resultBanner {
  margin: 0 -24px -20px !important;
  padding: 10px 24px !important;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.resultIcon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.resultLabel {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 700;
}

/* tipScore-Variante im Banner: dunkler Hintergrund statt Primary-Blau */
.tipScoreBanner {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 3px 14px;
  border-radius: 8px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}

.resultPoints {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

/* Farb-Varianten Banner */
.exact {
  background: linear-gradient(90deg, rgba(52,211,153,0.18) 0%, rgba(52,211,153,0.08) 100%);
  color: #4ade80;
  border-top: 1px solid rgba(52,211,153,0.20);
}

.tendency {
  background: linear-gradient(90deg, rgba(75,183,248,0.18) 0%, rgba(75,183,248,0.08) 100%);
  color: var(--primary);
  border-top: 1px solid rgba(75,183,248,0.20);
}

.wrong {
  background: linear-gradient(90deg, rgba(248,113,113,0.15) 0%, rgba(248,113,113,0.06) 100%);
  color: var(--error);
  border-top: 1px solid rgba(248,113,113,0.18);
}

/* Card-Glow je Ergebnis */
.glowExact {
  box-shadow:
    0 0 0 1px rgba(52,211,153,0.18),
    0 10px 30px rgba(52,211,153,0.07),
    inset 0 1px 0 rgba(255,255,255,0.07) !important;
}

.glowTendency {
  box-shadow:
    0 0 0 1px rgba(75,183,248,0.18),
    0 10px 30px rgba(75,183,248,0.07),
    inset 0 1px 0 rgba(255,255,255,0.07) !important;
}

.glowWrong {
  box-shadow:
    0 0 0 1px rgba(248,113,113,0.15),
    0 10px 30px rgba(248,113,113,0.05),
    inset 0 1px 0 rgba(255,255,255,0.07) !important;
}

.editBtn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.editBtn:hover { border-color: var(--primary); color: var(--primary); }

.noTip {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
