/* ===== Team Season Schedule ===== */

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.game-card {
    display: block;
    background-color: var(--white);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.game-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
    border-color: var(--light-blue);
}

/* Header: date + time */
.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: var(--dark-grey);
}

.game-date {
    font-weight: 600;
    color: var(--primary-blue);
}

.game-time {
    font-weight: 500;
}

/* Body */

.game-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* New main row: opponent + big badge */
.game-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* Opponent row (same as before, just slightly tweaked) */
.game-opponent {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.game-marker {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background-color: var(--light-grey);
    color: var(--text-dark);
}

.game-opponent-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Big score badge ===== */

.game-score-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    border-radius: 10px;
    min-width: 4.5rem;
    text-align: right;
    background-color: #e5e7eb;
    color: var(--text-dark);
}

.game-score-result {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    opacity: 0.9;
}

.game-score-numbers {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
}

/* Variants: W / L / T / upcoming */

.game-score-w {
    background-color: #dcfce7;       /* green-100 */
    color: #166534;                  /* green-700 */
}

.game-score-l {
    background-color: #fee2e2;       /* red-100 */
    color: #b91c1c;                  /* red-700 */
}

.game-score-t {
    background-color: #e5e7eb;       /* gray-200 */
    color: #374151;                  /* gray-700 */
}

.game-score-upcoming {
    background-color: #dbeafe;       /* blue-100 */
    color: #1d4ed8;                  /* blue-700 */
}

.game-score-live {
    background-color: #fee2e2;       /* red-100 */
    color: #b91c1c;                  /* red-700 */
    animation: pulse 2s infinite;
}

/* Lower scoreline row (secondary now) */
.game-scoreline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--dark-grey);
}

.game-score-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background-color: var(--background-red);
    color: var(--primary-blue);
}

.game-score-values {
    font-weight: 500;
    color: var(--text-dark);
}

/* Footer: location */
.game-card-footer {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--dark-grey);
}

.game-location::before {
    content: "📍";
    margin-right: 0.25rem;
}

.game-opponent {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.game-opponent-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 999px;
    background-color: var(--white);
    border: 1px solid #e5e7eb;
}

.team-record-row {
    margin: 0.75rem 0 1.5rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--dark-grey);
}

.team-record-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    color: var(--primary-blue);
}

.team-record-value {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background-color: #e5f0ff;
    color: var(--primary-blue);
}

/* Live badge */
.badge-live {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

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