.fighter-card-container {
    perspective: 1000px;
    width: 100%;
    max-width: 300px;
    height: 450px;
    position: relative;
    margin: 0 auto;
}

.fighter-card {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 2px solid #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fighter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.2);
    border-color: var(--primary-red);
}

.card-header {
    background: linear-gradient(to right, #000, #333);
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid var(--primary-red);
}

.fighter-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.fighter-nickname {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-style: italic;
    margin-top: 2px;
}

.card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.fighter-card:hover .card-image img {
    transform: scale(1.05);
}

.card-stats {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px;
    color: white;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}

.stat-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-label {
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.stat-value {
    font-weight: 700;
    color: white;
}

.win-streak-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Prediction Bar */
.prediction-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    background: #111;
    border-radius: 20px;
    padding: 5px;
    border: 1px solid #333;
    position: relative;
}

.prediction-bar {
    height: 24px;
    width: 100%;
    background: #333;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.pred-left {
    height: 100%;
    background: linear-gradient(90deg, #d32f2f, #ef5350);
    width: 50%;
    /* Default */
    transition: width 1s ease-in-out;
}

.pred-right {
    height: 100%;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    flex: 1;
}

.pred-label {
    position: absolute;
    top: -25px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ccc;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.pred-center-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 1px 2px black;
    z-index: 2;
    letter-spacing: 1px;
}