/* Fighter Profile Page Styles */

/* Fighter Hero Banner - Mobile Only */
.fighter-hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.fighter-hero-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.fighter-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fighter-hero-content h1 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 900;
}

.fighter-hero-subtitle {
    font-size: 1.2rem;
    color: #e01b1b;
    margin: 0 0 30px 0;
    font-style: italic;
}

.hero-champion-badge {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af37;
    margin: 8px 0 4px 0;
}

.hero-champion-since {
    font-size: 0.9rem;
    color: #d4af37;
    margin: 0 0 30px 0;
    font-weight: 600;
}

.fighter-hero-content .record-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 350px;
}

.fighter-hero-content .record-box {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #e01b1b;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.fighter-hero-content .record-box-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e01b1b;
}

.fighter-hero-content .record-box-label {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 0.5px;
}

/* Hide hero on desktop */
@media (min-width: 769px) {
    .fighter-hero-banner {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .fighter-hero-banner {
        min-height: 250px;
        padding: 40px 15px;
        margin-bottom: 30px;
    }
    
    .fighter-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .fighter-hero-subtitle {
        font-size: 1rem;
    }
}

/* Fighter Profile Header */
.fighter-profile-header {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 0;
    padding: 0;
    border-bottom: 2px solid #333;
}

.fighter-profile-image {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
    border: 2px solid #333;
    display: block;
    position: relative;
}

.fighter-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.profile-champion-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, rgba(212,175,55,0.9) 0%, rgba(180,140,40,0.9) 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
    display: block;
    z-index: 10;
}

.fighter-profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fighter-profile-info h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0 0 15px 0;
}

.champion-badge {
    font-size: 1rem;
    margin-left: 10px;
}

.fighter-nickname {
    font-size: 1.3rem;
    color: #e01b1b;
    font-style: italic;
    margin: 0 0 25px 0;
}

.champion-since-text {
    font-size: 0.95rem;
    color: #d4af37;
    font-weight: 600;
    margin: 8px 0 15px 0;
}

.title-fight-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Hide profile info on mobile, show hero instead */
@media (max-width: 768px) {
    .fighter-profile-header {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
        border-bottom: none;
        margin-bottom: 30px;
        display: none;
    }
    
    .fighter-profile-image {
        display: none;
    }
    
    .fighter-profile-info {
        padding-top: 0;
        display: none;
    }
    
    .fighter-profile-info h1 {
        font-size: 2rem;
    }
}

/* Fighter Hero Banner with Overlay */
.fighter-hero-banner {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    margin-bottom: 0;
}

/* Hide background on desktop only */
@media (min-width: 769px) {
    .fighter-hero-banner {
        background-image: none !important;
    }
}

/* Desktop Fighter Image */
.hero-fighter-image-desktop {
    position: relative;
    z-index: 2;
    height: 600px;
    overflow: hidden;
    display: block;
}

.hero-fighter-image-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Champion Badge on Hero Image */
.hero-champ-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Larger displays */
@media (min-width: 1200px) {
    .fighter-hero-banner {
        grid-template-columns: 500px 1fr;
        min-height: 650px;
    }
    
    .hero-fighter-image-desktop {
        height: 650px;
    }
}

@media (min-width: 1600px) {
    .fighter-hero-banner {
        grid-template-columns: 550px 1fr;
        min-height: 700px;
    }
    
    .hero-fighter-image-desktop {
        height: 700px;
    }
}

.fighter-hero-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 450px, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    padding: 0 60px 0 0;
    text-align: left;
    color: #fff;
}

.hero-content-overlay * {
    color: inherit;
}

.hero-content-overlay a {
    color: #fff;
    text-decoration: none;
}

.champion-badge-overlay {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(196,30,58,0.4);
}

.fighter-name-overlay h1 {
    font-size: 64px;
    font-weight: 900;
    color: #fff !important;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
    line-height: 1;
}

.fighter-nickname-overlay {
    font-size: 22px;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    font-style: italic;
    margin: 0 0 30px 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.record-boxes {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin: 35px 0 20px;
}

.record-box {
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(196,30,58,0.7);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 10px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.record-box-number {
    display: block;
    font-size: 40px;
    font-weight: 900;
    color: #c41e3a;
    line-height: 1;
    margin-bottom: 6px;
}

.record-box-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.9) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.champion-since-overlay {
    color: rgba(255,255,255,0.8) !important;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

/* Fighter Details Section (stats below hero) */
.fighter-details-section {
    padding: 0 0 60px 0;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: 60px;
}

.fighter-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 60px 0;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: 60px;
}

.fighter-image {
    width: 100%;
}

.fighter-image img {
    width: 100%;
    height: auto;
    display: block;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
}

/* Champion badge overlay on profile image */
.champion-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 0.6px;
    box-shadow: 0 6px 18px rgba(196,30,58,0.25);
}

.champion-meta {
    margin-top: 12px;
}

.champion-label {
    display: inline-block;
    background: rgba(196,30,58,0.1);
    color: #c41e3a;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 10px;
}

.champion-since {
    color: #aaa;
    font-weight: 600;
}

/* Fighter Info Main */
.fighter-info-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.fighter-name-section {
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 30px;
}

.fighter-name-section h1 {
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1;
}

.fighter-nickname {
    font-size: 16px;
    color: #888;
    font-weight: 600;
    margin: 0;
}

/* Record Display */
.record-display {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
}

.record-item {
    flex: 1;
    text-align: center;
}

.record-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.record-label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.record-divider {
    font-size: 32px;
    color: #666;
    font-weight: 300;
}

/* Fighter Stats Grid */
.fighter-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-block {
    background: #1a1a1a;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 3px;
    text-align: center;
    border-left: 3px solid #c41e3a;
}

.stat-block:hover {
    border-color: #c41e3a;
}

.stat-label {
    font-size: 11px;
    color: #888 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
    text-transform: uppercase;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: #1a1a1a;
    border: 1px solid #c41e3a;
    border-radius: 3px;
    color: #c41e3a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c41e3a;
    color: #fff;
}

/* Bio Section */
.fighter-bio-section {
    padding: 60px 0;
    border-bottom: 2px solid #1a1a1a;
}

.fighter-bio-section h2 {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.fighter-bio-section p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
    max-width: 900px;
    margin: 0;
}

/* Fighter Name Labels Under Images */
.fighter-name-label,
.opponent-name-label {
    text-align: center;
    margin-top: 10px;
}

.fighter-name-label a,
.opponent-name-label a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fighter-name-label a:hover,
.opponent-name-label a:hover {
    color: #c41e3a;
}

/* Button Styling (View Event) */
.btn-style {
    display: inline-block;
    padding: 10px 20px;
    background: #c41e3a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.btn-style:hover {
    background: #8b0000;
}

/* Responsive */
@media (max-width: 1024px) {
    .fighter-hero-banner {
        min-height: 550px;
        padding: 50px 0;
    }

    .hero-content-overlay {
        padding: 0 30px;
    }

    .fighter-name-overlay h1 {
        font-size: 52px;
    }

    .fighter-nickname-overlay {
        font-size: 20px;
    }

    .record-box-number {
        font-size: 36px;
    }

    .fighter-details-section {
        padding: 55px 0;
    }

    .fighter-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .fighter-name-section h1 {
        font-size: 42px;
    }

    .fighter-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile: Switch to background image layout */
    .fighter-hero-banner {
        grid-template-columns: 1fr !important;
        min-height: 500px;
        padding: 40px 0;
        display: flex !important;
        align-items: flex-end;
        background-size: cover !important;
        background-position: center top !important;
    }
    
    .hero-fighter-image-desktop {
        display: none !important;
    }
    
    .fighter-hero-banner .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.95) 100%) !important;
    }

    .hero-content-overlay {
        padding: 0 20px !important;
        text-align: center !important;
        max-width: 100%;
        margin: 0 auto;
    }

    .fighter-name-overlay h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .fighter-nickname-overlay {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .record-boxes {
        gap: 14px;
        margin: 28px 0 18px;
    }

    .record-box {
        padding: 15px 22px;
        min-width: 85px;
    }

    .record-box-number {
        font-size: 32px;
    }

    .record-box-label {
        font-size: 11px;
    }

    .champion-badge-overlay {
        font-size: 12px;
        padding: 7px 16px;
        margin-bottom: 16px;
    }

    .fighter-details-section {
        padding: 50px 0;
        margin-bottom: 50px;
    }

    .fighter-hero {
        gap: 30px;
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .fighter-name-section h1 {
        font-size: 36px;
    }

    .record-display {
        gap: 15px;
        padding: 20px;
    }

    .record-number {
        font-size: 38px;
    }

    .record-divider {
        font-size: 24px;
    }

    .fighter-stats-grid {
        gap: 15px;
    }

    .stat-value {
        font-size: 18px;
    }

    .fighter-bio-section h2 {
        font-size: 28px;
    }

    .fighter-bio-section p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .fighter-hero-banner {
        min-height: 450px;
        padding: 35px 0;
    }

    .hero-content-overlay {
        padding: 0 18px;
    }

    .fighter-name-overlay h1 {
        font-size: 36px;
    }

    .fighter-nickname-overlay {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .record-boxes {
        gap: 12px;
        margin: 24px 0 16px;
    }

    .record-box {
        padding: 14px 18px;
        min-width: 75px;
    }

    .record-box-number {
        font-size: 28px;
    }

    .record-box-label {
        font-size: 10px;
    }

    .fighter-hero {
        gap: 25px;
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .fighter-name-section h1 {
        font-size: 32px;
    }

    .record-display {
        padding: 20px;
        gap: 12px;
    }

    .record-number {
        font-size: 36px;
    }

    .fighter-bio-section {
        padding: 40px 0;
    }

    .fighter-bio-section h2 {
        font-size: 26px;
    }

    .fighter-fights-section {
        margin: 40px 0;
        padding: 30px 0;
    }

    .fighter-fights-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .upcoming-card {
        gap: 12px;
        padding: 10px;
    }

    .upc-left {
        gap: 10px;
    }

    .upc-fighter {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 0 0 auto;
    }

    .upc-vs {
        font-size: 16px;
        padding: 0 4px;
    }

    .upc-title {
        font-size: 0.95rem;
    }

    .upc-meta {
        font-size: 0.85rem;
        gap: 6px;
    }

    .fighter-name-label,
    .opponent-name-label {
        text-align: center;
        margin-top: 8px;
    }

    .fighter-name-label a,
    .opponent-name-label a {
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .fighter-name-label a:hover,
    .opponent-name-label a:hover {
        color: #c41e3a;
    }
}

@media (max-width: 480px) {
    .fighter-hero-banner {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        padding: 30px 0 !important;
        align-items: flex-end !important;
    }

    .hero-content-overlay {
        padding: 0 16px 30px !important;
    }

    .fighter-name-overlay h1 {
        font-size: 32px;
        letter-spacing: 1.5px;
    }

    .fighter-nickname-overlay {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .record-boxes {
        gap: 10px;
        margin: 22px 0 14px;
        flex-wrap: wrap;
    }

    .record-box {
        padding: 12px 16px;
        min-width: 0;
        flex: 1;
        min-width: calc(33.333% - 10px);
    }

    .record-box-number {
        font-size: 26px;
    }

    .record-box-label {
        font-size: 9px;
    }

    .champion-badge-overlay {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .champion-since-overlay {
        font-size: 12px;
    }

    .fighter-details-section {
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .fighter-hero {
        gap: 20px;
        padding: 20px 0;
        margin-bottom: 25px;
    }

    .fighter-name-section {
        padding-bottom: 20px;
    }

    .fighter-name-section h1 {
        font-size: 28px;
    }

    .fighter-nickname {
        font-size: 14px;
    }

    .record-display {
        gap: 10px;
        padding: 15px;
    }

    .record-number {
        font-size: 32px;
    }

    .record-divider {
        font-size: 20px;
    }

    .fighter-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-block {
        padding: 15px;
    }

    .stat-value {
        font-size: 18px;
    }

    .social-links {
        gap: 8px;
    }

    .social-link {
        padding: 10px 18px;
        font-size: 12px;
    }

    .fighter-bio-section {
        padding: 30px 0;
    }

    .fighter-bio-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .fighter-bio-section p {
        font-size: 14px;
    }

    .fighter-fights-section {
        margin: 30px 0;
        padding: 25px 0;
    }

    .fighter-fights-section h2 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .section-header-with-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }

    .fight-filters {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .filter-select {
        width: 100%;
        min-width: 0;
    }

    .reset-filters-btn {
        width: 100%;
    }

    .event-group {
        margin-bottom: 35px;
    }

    .event-group-header {
        padding: 16px 18px;
    }

    .event-group-header h3 {
        font-size: 18px;
    }

    .event-meta {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .upcoming-cards {
        gap: 12px;
    }

    .upcoming-card {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .upc-left {
        justify-content: center;
        gap: 8px;
    }

    .upc-fighter {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 0 0 auto;
    }

    .upc-vs {
        font-size: 14px;
    }

    .upc-right {
        gap: 10px;
    }

    .upc-title {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.3;
    }

    .upc-meta {
        font-size: 0.8rem;
        gap: 5px;
    }

    .view-event-btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 11px;
    }

    .stat-block {
/* Fight History Sections */
.fighter-fights-section {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 2px solid #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
}

.fighter-fights-section h2 {
    font-size: 28px;
    c
.ufc-event-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ufc-event-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280; /* muted */
    font-weight: 800;
}

.ufc-event-date {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

.ufc-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 10px;
    border-radius: 999px;
}

.badge-main { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.badge-prelims { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }

.ufc-card-body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
}

.ufc-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.opponent-thumb {
    width: 72px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.opponent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.opponent-thumb.placeholder { display:flex; align-items:center; justify-content:center; color:#9ca3af; font-size:12px; }

.opponent-text { display:flex; flex-direction:column; gap:2px; }
.opponent-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color:#6b7280; font-weight:800; }
.opponent-name-strong { font-size: 18px; font-weight: 900; color:#111827; }

.ufc-middle { display:flex !important; align-items:center !important; gap:18px !important; }
.stat-col { display:flex; flex-direction:column; gap:2px; min-width:72px; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing:0.06em; color:#6b7280; font-weight:800; }
.stat-value { font-size: 14px; font-weight:800; color:#111827; }

.ufc-right { display:flex !important; align-items:center !important; gap:12px !important; }
.ufc-link { color:#c41e3a; font-weight:800; text-decoration:none; }
.ufc-link:hover { text-decoration:underline; }

/* Record card enhancements */
.record-card .ufc-card-header { margin-bottom: 14px; }
.ufc-event-link { color:#065f46; font-weight:800; text-decoration:none; }
.ufc-event-link:hover { text-decoration:underline; }

.result-chip { font-size:11px; font-weight:900; letter-spacing:0.06em; text-transform:uppercase; padding:6px 10px; border-radius:6px; }
.result-chip.win { background:#dcfce7; color:#166534; border:1px solid #bbf7d0; }
.result-chip.loss { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; }
.result-chip.draw { background:#ffedd5; color:#9a3412; border:1px solid #fed7aa; }
.result-chip.pending { background:#f3f4f6; color:#374151; border:1px solid #e5e7eb; }

/* Fight Record Table */
.fight-record-table {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.fight-record-table table {
    width: 100%;
    border-collapse: collapse;
}

.fight-record-table thead {
    background: #0a0a0a;
    border-bottom: 2px solid #333;
}

.fight-record-table th {
    padding: 15px;
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
}

.fight-record-table tbody tr.fight-row {
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s ease;
}

.fight-record-table tbody tr.fight-row:hover {
    background-color: #222;
}

.fight-record-table td {
    padding: 18px 15px;
    color: #fff;
    font-size: 14px;
}

/* Result Column */
.result-cell {
    min-width: 90px;
}

.result-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-badge.win {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
}

.result-badge.loss {
    background: linear-gradient(135deg, #f44336 0%, #c62828 100%);
    color: white;
}

.result-badge.draw {
    background: linear-gradient(135deg, #FF9800 0%, #E65100 100%);
    color: white;
}

.result-badge.pending {
    background: #555;
    color: #999;
}

/* Opponent Column */
.opponent-cell {
    min-width: 200px;
}

.opponent-vs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opponent-thumb-small {
    width: 40px;
    height: 50px;
    border-radius: 3px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #333;
    flex-shrink: 0;
}

.opponent-thumb-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opponent-thumb-small .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 9px;
}

.vs-text {
    font-weight: 900;
    color: #c41e3a;
    font-size: 11px;
    text-transform: uppercase;
    min-width: 20px;
    text-align: center;
}

.opponent-name-text {
    font-weight: 600;
    color: #fff;
}

.current-fighter-name {
    font-weight: 700;
    color: #fff;
}

/* Inline fighters row for Upcoming Fights */
.fighters-row {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 8px 10px !important;
    background: #111 !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

.fighter-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: #fff !important;
    max-width: 45%;
}

.fighter-thumb {
    width: 56px !important;
    height: 70px !important;
    border-radius: 4px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #333;
    flex-shrink: 0;
}
.fighters-row img { max-width: 100%; display:block; }
.fighter-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display:block; }
.thumb-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#666; font-size:10px; }

.fighter-name { font-weight: 700; color:#fff; overflow:hidden; text-overflow:ellipsis; }

.vs-sep { font-weight:900; color:#c41e3a; letter-spacing:1px; }

/* Responsive sizing for inline fighter thumbs */
@media (max-width: 768px) {
    .fighter-thumb { width: 48px !important; height: 60px !important; }
    .fighter-item { max-width: 48%; }
}

@media (max-width: 480px) {
    .fighter-thumb { width: 44px !important; height: 54px !important; }
    .fighter-item { max-width: 48%; }
}

/* Defensive clamp: ensure any image in the Opponent cell can't overflow */
.opponent-cell img {
    width: 56px !important;
    height: 70px !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 768px) {
    .opponent-cell img { width: 48px !important; height: 60px !important; }
}

@media (max-width: 480px) {
    .opponent-cell img { width: 44px !important; height: 54px !important; }
}

/* Event Column */
.event-cell {
    color: #999;
}

.event-link {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* Method Column */
.method-cell {
    font-weight: 600;
    color: #c41e3a;
}

/* Round Column */
.round-cell {
    text-align: center;
    color: #aaa;
}

/* Time Column */
.time-cell {
    color: #aaa;
}

.empty-cell {
    color: #666;
}

/* Fight Row Details */
.fight-row-details {
    display: none;
}

.fight-row-details td {
    padding: 10px 15px;
    background: #0f0f0f;
    text-align: right;
}

.fight-row:hover ~ .fight-row-details {
    display: table-row;
}

.view-event-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #c41e3a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.view-event-btn:hover {
    background: #8b0000;
}

/* Hide Mobile Classes */
.hide-mobile {
    display: table-cell;
}

/* Responsive */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .fight-record-table th,
    .fight-record-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .opponent-thumb-small {
        width: 35px;
        height: 45px;
    }

    .vs-text {
        font-size: 10px;
    }

    .opponent-name-text {
        font-size: 13px;
    }

    .result-badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    /* UFC cards responsive */
    .ufc-card { padding: 14px; }
    .ufc-card-body { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ufc-middle { gap: 12px; }
    .opponent-thumb { width: 64px; height: 80px; }
    .opponent-name-strong { font-size: 16px; }
}

@media (max-width: 480px) {
    .fight-record-table {
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .fight-record-table table {
        display: block;
    }

    .fight-record-table thead {
        display: none;
    }

    .fight-record-table tbody,
    .fight-record-table tbody tr.fight-row,
    .fight-record-table tbody tr.fight-row-details,
    .fight-record-table td {
        display: block;
        width: 100%;
    }

    .fight-record-table tbody tr.fight-row {
        border: 1px solid #333;
        border-radius: 6px;
        margin-bottom: 15px;
        background: #1a1a1a;
        border-left: 4px solid #666;
    }

    .fight-record-table tbody tr.fight-row:hover {
        background-color: #222;
    }

    .fight-record-table tbody tr.fight-row.result-win {
        border-left-color: #4CAF50;
    }

    .fight-record-table tbody tr.fight-row.result-loss {
        border-left-color: #f44336;
    }

    .fight-record-table tbody tr.fight-row.result-draw {
        border-left-color: #FF9800;
    }

    .fight-record-table td {
        padding: 8px 12px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: none;
    }

    .fight-record-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #999;
        font-size: 11px;
        text-transform: uppercase;
        margin-right: 10px;
        min-width: 60px;
    }

    .result-cell::before { content: "Result"; }
    .opponent-cell::before { content: "Opponent"; }
    .event-cell::before { content: "Event"; }
    .method-cell::before { content: "Method"; }
    .round-cell::before { content: "Round"; }
    .time-cell::before { content: "Time"; }
    .date-cell::before { content: "Date"; }
    .card-cell::before { content: "Card"; }
    .action-cell::before { content: "Action"; }

    .opponent-vs {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .opponent-thumb-small {
        width: 50px;
        height: 65px;
    }

    .vs-text {
        display: none;
    }

    .fight-row-details {
        display: table-row !important;
        border: none;
        background: transparent;
        margin: 10px 0;
    }

    .fight-row-details td {
        padding: 10px 0;
        background: transparent;
    }

    .view-event-btn {
        width: 100%;
        text-align: center;
    }

    /* UFC cards responsive */
    .ufc-card { padding: 12px; }
    .opponent-thumb { width: 88px; height: 110px; }
    .ufc-card-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ufc-middle { width: 100%; justify-content: space-between; }
    .ufc-right { width: 100%; justify-content: flex-start; }
}

/* Additional Responsive - Hero Section */
@media (max-width: 768px) {
    .fighter-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fighter-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .fighter-hero {
        gap: 20px;
        padding: 40px 0;
        margin-bottom: 40px;
    }

    .fighter-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-value {
        font-size: 16px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 10px 15px;
        font-size: 11px;
    }
}

/* Fighter Record/Upcoming Cards: Image containers and badges */
.upc-left { flex-wrap: nowrap; }
.upc-fighter-img {
    position: relative;
    width: 100px !important;
    height: 120px !important;
    border-radius: 8px;
    overflow: hidden !important;
    background: #0a0a0a;
    border: 1px solid #333;
    flex-shrink: 0;
    display: block !important;
}
.upc-fighter-img a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100px !important;
    height: 120px !important;
    position: relative;
    overflow: hidden !important;
}
.upc-fighter-img .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
}

/* Defensive rule: prevent images from exceeding container bounds */
.upc-left img,
.upcoming-card img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

.upc-fighter-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    position: relative !important;
}

/* Additional containment rules for fight/record cards */
.upcoming-card {
    position: relative;
    overflow: hidden;
}

.upc-fighter-img {
    position: relative !important;
    width: 100px !important;
    height: 120px !important;
    border-radius: 8px;
    overflow: hidden !important;
    background: #0a0a0a;
    border: 1px solid #333;
    flex-shrink: 0;
    display: block !important;
}

.upc-fighter-img a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100px !important;
    height: 120px !important;
    position: relative;
    overflow: hidden !important;
}

/* CRITICAL: Absolute image containment - prevents any image escape */
img {
    max-width: 100%;
    max-height: 100%;
}

/* Ensure no image can be larger than its container */
.upcoming-card img,
.upc-fighter-img img {
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Defensive: prevent record images from blowing out layout */
.fighter-record img,
.fighter-record-grid img,
.record-card img {
    display: block !important;
    width: 100% !important;
    max-height: 260px !important;
    object-fit: cover !important;
    border-radius: 12px;
}

/* Additional containment for fight cards - hit all img tags anywhere inside */
.upcoming-card img {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Nuclear option: any img in a flex container must be constrained */
.upc-left img,
.upc-fighter img {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.badge { 
    position: absolute; 
    left: 0; right: 0; bottom: 0; 
    font-size: 12px; padding: 6px 8px; 
    text-align: center; color: #fff; 
    background: rgba(0,0,0,.55); 
    backdrop-filter: blur(2px); 
    z-index: 10; 
}
.badge-win { background: linear-gradient(0deg,rgba(20,148,55,.85),rgba(20,148,55,.6)); }
.badge-loss { background: linear-gradient(0deg,rgba(196,30,58,.85),rgba(196,30,58,.6)); }
.badge-nc { background: linear-gradient(0deg,rgba(107,114,128,.85),rgba(107,114,128,.6)); }
.badge-pending { background: linear-gradient(0deg,rgba(90,90,90,.85),rgba(90,90,90,.6)); }
.badge-champion { background: linear-gradient(0deg,rgba(212,175,55,.85),rgba(212,175,55,.6)); }

@media (max-width: 768px) {
    .upc-left { 
        display: flex !important; 
        flex-direction: row !important; 
        flex-wrap: nowrap !important; 
        align-items: center; 
        gap: 12px; 
    }
    .upc-fighter-img { width: 90px; height: 110px; }
    .upc-fighter-img a { width: 90px; height: 110px; }
    .upc-fighter-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; max-height: none !important; }
    .badge { font-size: 10px; padding: 4px 6px; }
}

@media (max-width: 480px) {
    .upc-fighter-img { width: 80px; height: 100px; }
    .upc-fighter-img a { width: 80px; height: 100px; }
    .upc-fighter-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; max-height: none !important; }
}