/* Champions Page Styling */

.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* Champion Card */
.champion-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    position: relative;
}

.champion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(224, 27, 27, 0.4);
    border-color: #e01b1b;
}

/* Weight Class Badge */
.weight-class-badge {
    background: #e01b1b;
    color: white;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 2px solid #9e0e0e;
}

.champion-photo {
    position: relative;
    height: 350px;
    background: #0a0a0a;
    overflow: hidden;
}

.champion-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.champion-card:hover .champion-photo img {
    transform: scale(1.05);
}

.champion-photo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #555;
    font-size: 1.2rem;
}

.champion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.champion-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.champion-name {
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-align: center;
}

.champion-nickname {
    display: block;
    color: #e01b1b;
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    margin: 5px 0;
}

.champion-record {
    margin-bottom: 15px;
    text-align: center;
}

.record-badge {
    display: inline-block;
    background: #2a2a2a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #444;
}

.champion-since {
    background: rgba(224, 27, 27, 0.1);
    border-left: 3px solid #e01b1b;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.champion-since .label {
    display: block;
    font-weight: 600;
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.champion-since .date {
    color: #e01b1b;
    font-weight: 700;
}

.champion-detail {
    margin-bottom: 8px;
    color: #aaa;
}

.champion-detail .label {
    font-weight: 600;
    color: #fff;
    margin-right: 5px;
}

/* Champion Stats */
.champion-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e01b1b;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

/* Button */
.btn-view-profile {
    margin-top: auto;
    background: linear-gradient(135deg, #e01b1b 0%, #9e0e0e 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-profile:hover {
    background: linear-gradient(135deg, #ff2e2e 0%, #e01b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 27, 27, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .champions-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .champion-photo {
        height: 300px;
    }

    .champion-info {
        padding: 20px;
    }

    .champion-name {
        font-size: 1.3rem;
    }

    .weight-class-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {
    .champions-grid {
        grid-template-columns: 1fr;
    }

    .champion-photo {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .champion-card {
        border-radius: 8px;
    }

    .champion-photo {
        height: 260px;
    }

    .champion-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .champion-info {
        padding: 18px;
    }

    .champion-name {
        font-size: 1.2rem;
    }

    .champion-nickname {
        font-size: 0.9rem;
    }

    .champion-stats {
        gap: 6px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .btn-view-profile {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .weight-class-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}
