/* =========================================
   Single Fight Template Styles
   ========================================= */

.ufc-single-fight-container {
    max-width: 1200px;
    /* Increased width for premium feel */
    margin: 40px auto;
    padding: 40px;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    /* Radial gradient background */
    min-height: 100vh;
    color: #fff;
}

.ufc-fight-header {
    text-align: center;
    margin-bottom: 80px;
    /* More spacing */
    position: relative;
}

.ufc-fight-event-name {
    font-size: 1.1em;
    color: #d20a0a;
    /* Accent color */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(210, 10, 10, 0.3);
}

.ufc-fight-event-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ufc-fight-event-name a:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.ufc-fight-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5em;
    /* Massive title */
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    line-height: 0.9;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
    letter-spacing: 2px;
}

/* Matchup Section */
.ufc-fight-matchup {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Stretch to match heights */
    margin-bottom: 80px;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
    /* For 3D effects */
}

.ufc-fighter-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
    padding: 50px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ufc-fighter-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.ufc-fighter-card.ufc-winner {
    border: 1px solid rgba(70, 180, 80, 0.3);
    background: linear-gradient(180deg, rgba(70, 180, 80, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    box-shadow: 0 0 50px rgba(70, 180, 80, 0.1);
}

.ufc-fighter-card.ufc-winner:hover {
    box-shadow: 0 0 80px rgba(70, 180, 80, 0.2);
}

.ufc-fighter-image {
    position: relative;
    margin-bottom: 35px;
    width: 220px;
    /* Larger images */
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ufc-fighter-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.ufc-fighter-card:hover .ufc-fighter-image img {
    border-color: #d20a0a;
    transform: scale(1.05);
}

.ufc-fighter-card.ufc-winner .ufc-fighter-image img {
    border-color: #46b450;
    box-shadow: 0 0 40px rgba(70, 180, 80, 0.4);
}

.ufc-fighter-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5em;
    /* Much larger */
    margin: 0 0 10px 0;
    line-height: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ufc-fighter-name a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ufc-fighter-card:hover .ufc-fighter-name a {
    background: linear-gradient(180deg, #d20a0a 0%, #900 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ufc-winner-badge {
    display: inline-block;
    background: #46b450;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(70, 180, 80, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ufc-win-prob {
    margin-top: auto;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    height: 44px;
    /* Thicker bar */
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ufc-prob-bar {
    background: linear-gradient(90deg, #800 0%, #d20a0a 100%);
    /* Gradient red */
    height: 100%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.ufc-prob-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg) translateX(-150%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: skewX(-20deg) translateX(-150%);
    }

    100% {
        transform: skewX(-20deg) translateX(250%);
    }
}

.ufc-fighter-card.ufc-winner .ufc-prob-bar {
    background: linear-gradient(90deg, #2e7d32 0%, #46b450 100%);
    /* Gradient green */
}

.ufc-prob-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.2em;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    z-index: 2;
}

.ufc-vs {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6em;
    /* Massive VS */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.1);
    margin: 0;
    font-style: italic;
    align-self: center;
    position: relative;
}

.ufc-vs::before {
    content: 'VS';
    position: absolute;
    top: 0;
    left: 0;
    color: #d20a0a;
    opacity: 0.8;
    text-shadow: 0 0 30px rgba(210, 10, 10, 0.6);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

/* Prediction Details */
.ufc-prediction-details {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ufc-prediction-details h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.1em;
    text-transform: uppercase;
    color: #888;
    border-bottom: 2px solid #d20a0a;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.ufc-prediction-grid {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ufc-detail-item {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 15px;
    min-width: 120px;
    /* Ensure minimum width for each item */
    padding: 20px;
    /* Add padding around each item */
    background: rgba(255, 255, 255, 0.03);
    /* Subtle background */
    border-radius: 12px;
    /* Rounded corners */
}

.ufc-label {
    font-size: 0.7em;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 16px;
    /* More spacing */
    font-weight: 500;
    letter-spacing: 3px;
    /* More letter spacing */
}

.ufc-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8em;
    /* Slightly larger */
    font-weight: 400;
    color: #fff;
    line-height: 1;
}

/* Analysis Section */
.ufc-analysis-section {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ufc-analysis-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    border-left: 4px solid #d20a0a;
    padding-left: 20px;
    margin-bottom: 25px;
    color: #fff;
    /* Ensure visible on dark bg */
    line-height: 1;
    letter-spacing: 1px;
}

.ufc-factors-list {
    list-style: none;
    padding: 0;
}

.ufc-factors-list li {
    background: #1a1a1a;
    border-left: 3px solid #d20a0a;
    padding: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ccc;
    font-size: 1.1em;
    border-radius: 0 8px 8px 0;
    transition: transform 0.2s;
}

.ufc-factors-list li:hover {
    transform: translateX(5px);
    background: #222;
}

.ufc-factors-list li strong {
    color: #fff;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .ufc-single-fight-container {
        padding: 20px;
    }

    .ufc-fight-header {
        margin-bottom: 40px;
    }

    .ufc-prediction-details {
        padding: 20px;
        margin-bottom: 30px;
    }

    .ufc-analysis-section {
        margin-bottom: 40px;
    }

    .ufc-fight-matchup {
        gap: 10px;
    }

    .ufc-vs {
        font-size: 2.5em;
    }

    .ufc-fighter-card {
        flex: 1;
        min-width: 0;
        padding: 12px;
    }

    .ufc-fighter-image {
        margin-bottom: 6px;
    }

    .ufc-fighter-image img {
        width: 80px;
        height: 80px;
    }

    .ufc-fighter-name {
        font-size: 1em;
        margin-bottom: 4px;
    }

    .ufc-fighter-record {
        font-size: 0.75em;
        margin-bottom: 6px;
    }

    .ufc-fighter-stats-compact {
        gap: 4px;
        margin-bottom: 6px;
    }

    .ufc-stat-item {
        font-size: 0.8em;
        padding: 4px 6px;
    }

    .ufc-prob-container {
        height: 32px;
        margin-top: 8px;
    }

    .ufc-prob-text {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .ufc-single-fight-container {
        padding: 15px;
    }

    .ufc-fight-header {
        margin-bottom: 30px;
    }

    .ufc-prediction-details {
        padding: 15px;
        margin-bottom: 20px;
    }

    .ufc-analysis-section {
        margin-bottom: 30px;
    }

    .ufc-fight-matchup {
        gap: 8px;
    }

    .ufc-vs {
        font-size: 2em;
    }

    .ufc-fighter-card {
        padding: 10px;
    }

    .ufc-fighter-image {
        margin-bottom: 5px;
    }

    .ufc-fighter-image img {
        width: 70px;
        height: 70px;
    }

    .ufc-fighter-name {
        font-size: 0.95em;
        margin-bottom: 3px;
    }

    .ufc-fighter-record {
        font-size: 0.7em;
        margin-bottom: 5px;
    }

    .ufc-fighter-stats-compact {
        gap: 3px;
        margin-bottom: 5px;
    }

    .ufc-stat-item {
        font-size: 0.75em;
        padding: 3px 5px;
    }

    .ufc-prob-container {
        height: 28px;
        margin-top: 6px;
    }

    .ufc-prob-text {
        font-size: 0.8em;
    }
}


/* =========================================
   Fighter Display Block Styles
   ========================================= */

.ufc-fighter-single {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

/* Hero Section */
.ufc-fighter-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.ufc-fighter-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.ufc-fighter-hero-image {
    flex-shrink: 0;
}

.ufc-fighter-main-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: #1a1a1a;
    border: 4px solid #d20a0a;
    box-shadow: 0 0 20px rgba(210, 10, 10, 0.3);
}

.ufc-fighter-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    border: 4px solid #555;
}

.ufc-fighter-hero-info {
    flex-grow: 1;
}

.ufc-fighter-title-section {
    margin-bottom: 20px;
}

.ufc-weight-class-badge {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    text-transform: uppercase;
    margin-right: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.ufc-fighter-name-hero {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ufc-fighter-record-hero {
    font-size: 1.5em;
    color: #ccc;
    margin-top: 5px;
    font-weight: 300;
}

.ufc-fighter-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
}

.ufc-quick-stat {
    display: flex;
    flex-direction: column;
}

.ufc-stat-label {
    font-size: 0.75em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 2px;
}

.ufc-stat-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
}

/* Stats Section */
.ufc-fighter-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.ufc-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    color: #fff;
}

.ufc-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ufc-stat-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
    transition: transform 0.2s;
}

.ufc-stat-card:hover {
    transform: translateY(-5px);
    border-color: #d20a0a;
}

.ufc-stat-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ufc-stat-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.ufc-stat-card-header h3 {
    margin: 0;
    font-size: 1.1em;
    text-transform: uppercase;
    color: #ccc;
}

.ufc-big-stat {
    font-size: 2.5em;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1;
}

.ufc-stat-breakdown {
    font-size: 0.9em;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ufc-progress-bar {
    background: #333;
    height: 6px;
    border-radius: 3px;
    margin-top: 15px;
    overflow: hidden;
}

.ufc-progress-fill {
    background: #d20a0a;
    height: 100%;
}

.ufc-progress-fill.gold {
    background: #C9A961;
}

/* Circular Stats */
.ufc-circular-stat {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
}

.ufc-circular-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #333;
    z-index: 1;
}

.ufc-circular-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#d20a0a var(--stat-value, 0%), transparent 0);
    z-index: 2;
    transition: background 1s ease-out;
}

.ufc-circular-progress.gold {
    background: conic-gradient(#C9A961 var(--stat-value, 0%), transparent 0);
}

.ufc-circular-value {
    position: relative;
    z-index: 3;
    width: 80%;
    height: 80%;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 900;
    color: #fff;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Bio Section */
.ufc-fighter-bio-section {
    margin-bottom: 40px;
}

.ufc-fighter-bio-content {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.8;
    color: #ddd;
    border: 1px solid #333;
}

/* Predictions Section */
/* Predictions Section */
.ufc-predictions-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ufc-prediction-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ufc-prediction-mini-card {
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ufc-prediction-mini-card:hover {
    background: #222;
    border-color: #d20a0a;
    transform: translateX(5px);
}

.ufc-mini-matchup {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    margin-bottom: 0;
}

.ufc-mini-fighter {
    color: #fff;
    font-size: 1.1em;
}

.ufc-mini-vs {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
    margin: 0 10px;
}

.ufc-mini-probs,
.ufc-mini-method {
    font-size: 0.9em;
    color: #aaa;
    text-align: right;
}

.ufc-result-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 800;
    min-width: 30px;
    text-align: center;
}

.ufc-result-badge.win {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.ufc-result-badge.loss {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.ufc-result-badge.draw {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.4);
}

.ufc-result-badge.pending {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
}

.ufc-prediction-mini-card.result-win {
    border-left: 4px solid #2ecc71;
}

.ufc-prediction-mini-card.result-loss {
    border-left: 4px solid #e74c3c;
}

/* Responsive Fighter */
@media (max-width: 768px) {
    .ufc-fighter-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .ufc-fighter-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ufc-fighter-name-hero {
        font-size: 3em;
    }
}


/* =========================================
   Event Display Block Styles
   ========================================= */

.ufc-event-single {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.ufc-event-hero {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ufc-event-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ufc-event-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ufc-event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.ufc-event-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.ufc-event-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.ufc-event-status-badge.upcoming {
    background: #d20a0a;
    color: #fff;
}

.ufc-event-status-badge.past {
    background: #555;
    color: #ccc;
}

.ufc-status-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ufc-event-name-hero {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    margin: 0 0 10px 0;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ufc-event-date-hero {
    font-size: 1.5em;
    color: #ddd;
    margin-bottom: 10px;
}

.ufc-event-location-hero {
    font-size: 1.1em;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ufc-countdown-section {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ufc-countdown-label {
    font-size: 0.8em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 5px;
}

.ufc-countdown-value {
    font-size: 2em;
    font-weight: 900;
    color: #C9A961;
    line-height: 1;
}

/* Event Details */
.ufc-event-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.ufc-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.ufc-detail-box {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 15px;
    border: 1px solid #333;
}

.ufc-detail-icon {
    font-size: 2em;
    margin-right: 20px;
    background: #2a2a2a;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ufc-detail-info {
    flex-grow: 1;
}

.ufc-detail-label {
    font-size: 0.85em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.ufc-detail-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.ufc-detail-subvalue {
    font-size: 0.9em;
    color: #aaa;
}

/* Event Description */
.ufc-event-description-content {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    line-height: 1.8;
    color: #ddd;
    border: 1px solid #333;
    margin-bottom: 40px;
}

/* Fight Card */
.ufc-fight-card-grid {
    display: grid;
    gap: 15px;
}

.ufc-fight-card-row {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #333;
    transition: all 0.2s;
}

.ufc-fight-card-row:hover {
    background: #222;
    border-color: #d20a0a;
    transform: translateX(5px);
}

.ufc-row-fighter {
    flex: 1;
    font-weight: bold;
    color: #fff;
}

.ufc-row-fighter.right {
    text-align: right;
}

.ufc-row-vs {
    margin: 0 20px;
    color: #d20a0a;
    font-style: italic;
    font-weight: 900;
}

.ufc-fight-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Responsive Event */
@media (max-width: 768px) {
    .ufc-event-hero {
        height: 300px;
    }

    .ufc-event-name-hero {
        font-size: 2.5em;
    }

    .ufc-event-date-hero {
        font-size: 1.2em;
    }

    .ufc-event-location-hero {
        font-size: 0.95em;
    }

    /* Make fight cards stack vertically on mobile */
    .ufc-fight-card-row {
        flex-direction: column;
        gap: 10px;
        padding: 20px 15px;
        text-align: center;
    }

    .ufc-row-fighter {
        width: 100%;
        text-align: center !important;
        font-size: 1em;
    }

    .ufc-row-fighter.right {
        text-align: center !important;
    }

    .ufc-row-vs {
        margin: 8px 0;
        font-size: 1.2em;
    }

    /* Improve detail boxes on mobile */
    .ufc-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ufc-section-title {
        font-size: 2em;
    }

    /* Make table responsive - convert to cards with grid layout */
    .ufc-table-responsive {
        overflow-x: visible;
    }

    .ufc-fight-card-table {
        border: 0;
    }

    .ufc-fight-card-table thead {
        display: none;
    }

    .ufc-fight-card-table tbody {
        display: block;
    }

    .ufc-fight-card-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
        background: #1a1a1a;
        border: 1px solid #333 !important;
        border-radius: 8px;
        padding: 15px;
    }

    .ufc-fight-card-table td {
        padding: 8px !important;
        border: none !important;
    }

    /* Show fighter images on mobile */
    .ufc-fighter-mini-img {
        display: inline-block !important;
    }

    /* Fighter images - keep horizontal on mobile */
    .ufc-fighter-cell {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex-shrink: 1;
    }

    .ufc-fight-matchup-cell {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .ufc-fighter-cell a {
        white-space: nowrap;
        font-size: 14px;
    }

    /* Row 1: Fighters (full width) */
    .ufc-fight-card-table td:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 15px;
    }

    /* Row 2: Weight Class & Prediction (2 columns) */
    .ufc-fight-card-table td:nth-child(2),
    .ufc-fight-card-table td:nth-child(3) {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
        padding: 10px !important;
    }

    .ufc-fight-card-table td:nth-child(2):before {
        content: "Weight Class";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .ufc-fight-card-table td:nth-child(3):before {
        content: "AI Prediction";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    /* Row 3: Results (if past event - 4 columns in 2 rows) */
    .ufc-fight-card-table td:nth-child(4),
    .ufc-fight-card-table td:nth-child(5),
    .ufc-fight-card-table td:nth-child(6),
    .ufc-fight-card-table td:nth-child(7) {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 6px;
        padding: 8px !important;
        font-size: 13px;
    }

    .ufc-fight-card-table td:nth-child(4):before {
        content: "Winner";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    .ufc-fight-card-table td:nth-child(5):before {
        content: "Method";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    .ufc-fight-card-table td:nth-child(6):before {
        content: "Round";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    .ufc-fight-card-table td:nth-child(7):before {
        content: "Time";
        display: block;
        font-size: 10px;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    /* Analysis button (full width at bottom) */
    .ufc-fight-card-table td:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid #333;
        padding-top: 12px !important;
        margin-top: 5px;
        text-align: center;
    }

    /* Stack fighter names vertically */
    .ufc-fight-card-table td>div {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
}

@media (max-width: 480px) {
    .ufc-event-name-hero {
        font-size: 2em;
    }

    .ufc-fight-card-row {
        padding: 15px 12px;
    }

    .ufc-row-fighter {
        font-size: 0.95em;
        line-height: 1.4;
    }

    .ufc-fight-card-table tr {
        padding: 12px;
    }

    /* Fighter Profile Mobile Optimizations */
    .ufc-fighter-hero {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .ufc-fighter-hero-content {
        gap: 20px;
    }

    .ufc-fighter-main-image {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .ufc-fighter-placeholder {
        width: 120px;
        height: 120px;
        font-size: 2.5em;
    }

    .ufc-fighter-name-hero {
        font-size: 2.2em;
        margin-bottom: 5px;
    }

    .ufc-fighter-record-hero {
        font-size: 1.2em;
    }

    .ufc-fighter-quick-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .ufc-stat-label {
        font-size: 0.65em;
    }

    .ufc-stat-value {
        font-size: 0.9em;
    }

    .ufc-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ufc-stat-card {
        padding: 15px;
    }

    .ufc-stat-icon {
        font-size: 1.2em;
        background: rgba(255, 255, 255, 0.05);
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 12px;
    }

    .ufc-big-stat {
        font-size: 2em;
    }

    /* Circular Elements Enhancement */
    .ufc-stat-card-header h3 {
        font-size: 0.9em;
        letter-spacing: 1px;
    }

    /* Compact Predictions */
    .ufc-prediction-mini-card {
        padding: 10px 12px;
    }

    .ufc-mini-fighter {
        font-size: 0.95em;
    }

    .ufc-history-opponent-img {
        width: 32px !important;
        height: 32px !important;
    }
}