/**
 * CFS Modern Theme - Main CSS
 * No frameworks, no bloat, just clean CSS
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-dark: #141414;
    --color-gray-dark: #1f1f1f;
    --color-gray: #2a2a2a;
    --color-gray-light: #b0b0b0;
    --color-white: #ffffff;
    --color-red: #ff0000;
    --color-red-dark: #cc0000;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Impact", "Arial Black", sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
}

/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-gray-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-red-dark);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--color-red);
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    font-family: var(--font-display);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 5px 0;
    transition: 0.3s;
}

.btn-live {
    background: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ========================================
   Main Content
   ======================================== */
.site-main {
    margin-top: var(--header-height);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../images/hero-bg.jpg') center/cover;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-gray-light);
    margin-bottom: var(--space-lg);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ========================================
   Countdown
   ======================================== */
.next-event-countdown {
    margin: var(--space-lg) 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.countdown-item {
    background: rgba(255,0,0,0.1);
    border: 1px solid var(--color-red);
    padding: var(--space-md);
    border-radius: 8px;
    min-width: 80px;
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-white);
    font-family: var(--font-display);
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-gray-light);
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ========================================
   Fighter Card
   ======================================== */
.fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.fighter-card {
    background: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fighter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,0,0,0.2);
}

.fighter-card-link {
    display: block;
    color: inherit;
}

.fighter-image {
    position: relative;
    padding-top: 133%; /* 3:4 aspect ratio */
    overflow: hidden;
}

.fighter-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.fighter-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.fighter-record {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.2rem;
}

.fighter-info {
    padding: var(--space-md);
    text-align: center;
}

.fighter-name {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
    font-size: 1.2rem;
}

.fighter-class {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* ========================================
   Event Card
   ======================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.event-card {
    background: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,0,0,0.2);
}

.event-poster {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.event-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.event-date {
    display: inline-block;
    background: var(--color-red);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: var(--space-xs);
}

.event-title {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.event-location {
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-gray);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--space-md);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--space-xs);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--color-gray);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray);
    color: var(--color-gray-light);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-dark);
        flex-direction: column;
        padding: var(--space-md);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .fighters-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Utilities
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Loading State
   ======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--color-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   HERO SLIDER STYLES
   ======================================== */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 5;
}

.hero-slide .hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff4444;
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ff4444;
    border-color: #ff4444;
    width: 30px;
    border-radius: 15px;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Hero Countdown Overlay */
.hero-countdown-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 0;
    z-index: 10;
}

.hero-countdown-overlay .next-event-countdown {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-countdown-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Actions */
.hero-actions {
    margin-top: 30px;
}

.hero-actions .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav {
        padding: 0 15px;
    }
    
    .hero-countdown-overlay {
        padding: 20px 0;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px;
    }
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.newsletter-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
}

.newsletter-box p {
    color: #aaa;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #ff4444;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Additional Mobile Optimizations for Hero Slider */
@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .slider-nav {
        display: none; /* Hide arrows on very small screens */
    }
    
    .hero-countdown-overlay .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .hero-actions .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ff4444;
    transform: translateY(-5px);
}

.event-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.event-card p {
    color: #aaa;
    margin-bottom: 20px;
}

.event-card .btn-secondary {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.event-card .btn-secondary:hover {
    background: #ff4444;
    color: #fff;
}

/* Hide slider navigation arrows */
.slider-prev,
.slider-next {
    display: none !important;
}

/* Multi-image slide styles */
.hero-slide {
    position: relative;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide-image.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Enhanced fade effect for slide transitions */
.hero-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Multi-image container styles */
.slide-images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide-image.active {
    opacity: 1;
}

/* Ensure hero content stays on top */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

/* Remove focus outline from dots */
.slider-dot:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Enhanced slide transition */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }
}

/* Hero with Static Content Styles */
.hero-static-content {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* Background slider container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-background .hero-slide.active {
    opacity: 1;
}

/* Static content wrapper */
.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Hero content styling */
.hero-static-content .hero-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-static-content .hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-static-content .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Hero action buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.btn-primary:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-static-content .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-static-content .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix: Full-width hero section */
.hero-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Ensure slides take full width */
.hero-background .hero-slide {
    width: 100vw;
}

/* Remove any container restrictions for hero */
.hero-static-content .container {
    max-width: 100%;
    width: 100%;
}

/* Center content within hero */
.hero-static-content .hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Additional fixes for full-width hero */
.hero-fullwidth {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Ensure hero takes full viewport */
.site-main > .hero-slider:first-child {
    margin-top: -1px; /* Fix any gap */
}

/* Debug styles - remove these after testing */
.hero-slide {
    min-height: 100vh;
}

.hero-background {
    background-color: #000; /* Fallback color */
}

/* Fighter Cards Styles */
.fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fighter-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.fighter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

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

.fighter-image {
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.fighter-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
}

.fighter-record {
    background: #dc2626;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.fighter-info {
    padding: 1.5rem;
}

.fighter-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.fighter-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}


.fighter-weight {
    background: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* No fighters message */
.no-fighters-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .fighters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .fighter-image {
        height: auto;
    }
}

/* ===========================
   Single Fighter Page Styles
   =========================== */

/* Hero Banner Section */
.fighter-hero-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.hero-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.95) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4rem 0;
    z-index: 10;
}

.fighter-hero-info {
    text-align: center;
    color: #fff;
}

.fighter-nickname-large {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fighter-name-large {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.fighter-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.fighter-status-badge,
.weight-class-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fighter-status-badge {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

.fighter-status-badge.active {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.fighter-status-badge.inactive {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.5);
    color: #fbbf24;
}

.fighter-status-badge.retired {
    background: rgba(156, 163, 175, 0.2);
    border-color: rgba(156, 163, 175, 0.5);
    color: #9ca3af;
}

.weight-class-badge {
    background: #dc2626;
    color: #fff;
}

/* Stats Section */
.fighter-stats-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
}

.stat-card-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #333;
}

.stat-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.stat-card-body {
    padding: 2rem;
}

/* Record Card */
.record-display {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.record-item {
    text-align: center;
}

.record-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.record-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.record-item.wins .record-number {
    color: #22c55e;
}

.record-item.losses .record-number {
    color: #ef4444;
}

.record-item.draws .record-number {
    color: #fbbf24;
}

/* Info Card */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

/* Style Card */
.style-text {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    color: #dc2626;
    margin: 0;
}

/* Fight History Section */
.fight-history-section {
    padding: 4rem 0;
    background: #0f0f0f;
}

.history-timeline {
    max-width: 800px;
    margin: 2rem auto 0;
}

.history-placeholder {
    text-align: center;
    padding: 3rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

/* CTA Section */
.fighter-cta-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-card:hover::before {
    left: 100%;
}

.cta-card:hover {
    transform: translateY(-4px);
    border-color: #dc2626;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.2);
}

.cta-card i {
    font-size: 1.5rem;
}

.instagram-cta:hover {
    border-color: #E4405F;
    color: #E4405F;
}

.sherdog-cta:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.events-cta:hover {
    border-color: #22c55e;
    color: #22c55e;
}

.merch-cta:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Bio Section */
.fighter-bio-section {
    padding: 4rem 0;
    background: #0f0f0f;
}

.bio-content {
    max-width: 800px;
    margin: 0 auto;
}

.bio-content h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fighter-hero-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .fighter-name-large {
        font-size: 2.5rem;
    }
    
    .fighter-nickname-large {
        font-size: 1.2rem;
    }
    
    .fighter-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .record-display {
        justify-content: space-evenly;
    }
    
    .record-number {
        font-size: 2.5rem;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark theme adjustments */
body.dark-mode .fighter-single {
    background: #000;
}

body.dark-mode .stat-card {
    background: #0a0a0a;
    border-color: #222;
}

body.dark-mode .stat-card:hover {
    border-color: #dc2626;
}

/* ========================================
   UFC-Style Fighter Single Page
======================================== */

/* Hero Banner with Background */
.fighter-hero-banner {
    position: relative;
    min-height: 600px;
    background: #0a0a0a;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
}

.hero-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d20a0a 0%, #0a0a0a 100%);
}

.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.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 100px 0 60px;
}

/* Fighter Layout in Hero */
.fighter-hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Fighter Portrait */
.fighter-portrait-wrapper {
    flex-shrink: 0;
}

.fighter-portrait {
    width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.1);
}

.fighter-portrait-placeholder {
    width: 300px;
    height: auto;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.3);
}

/* Fighter Info in Hero */
.fighter-hero-info {
    flex-grow: 1;
    color: white;
}

.fighter-nickname-large {
    display: block;
    font-size: 24px;
    color: #d20a0a;
    margin-bottom: 10px;
    font-style: italic;
}

.fighter-name-large {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1;
    letter-spacing: -2px;
}

.fighter-record-large {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.record-wins {
    color: #4CAF50;
}

.record-losses {
    color: #f44336;
}

.record-draws {
    color: #FFC107;
}

.fighter-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.fighter-status-badge,
.weight-class-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fighter-status-badge.active {
    background: #4CAF50;
    color: white;
}

.fighter-status-badge.inactive {
    background: #666;
    color: white;
}

.weight-class-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.fighter-country {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* Stats Section Updates */
.fighter-stats-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.stat-card-header {
    background: #0a0a0a;
    color: white;
    padding: 20px;
}

.stat-card-header h3 {
    margin: 0;
    font-size: 20px;
}

.stat-card-body {
    padding: 30px;
}

/* Social Links Card */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e0e0e0;
    transform: translateX(5px);
}

.social-link i {
    font-size: 24px;
    width: 30px;
}

.social-link.instagram i {
    color: #E4405F;
}

.social-link.sherdog i {
    color: #d20a0a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fighter-hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .fighter-portrait {
        width: 200px;
        height: 200px;
    }
    
    .fighter-name-large {
        font-size: 36px;
    }
    
    .fighter-record-large {
        font-size: 32px;
    }
    
    .fighter-meta {
        justify-content: center;
    }
}

/* ========================================
   Fighter Portrait Position Fix
======================================== */

/* Override previous hero styles */
.fighter-hero-banner {
    position: relative;
    min-height: 500px;
    background: #0a0a0a;
    overflow: visible; /* Changed from hidden */
    margin-bottom: 150px; /* Space for portrait overlap */
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0 200px; /* Increased bottom padding */
}

/* Fighter Layout Update */
.fighter-hero-layout {
    display: flex;
    align-items: flex-end; /* Align to bottom */
    gap: 60px;
    position: relative;
}

/* Fighter Portrait - Positioned at bottom */
.fighter-portrait-wrapper {
    flex-shrink: 0;
    position: absolute;
    bottom: -120px; /* Overlap hero section */
    left: 0;
    z-index: 10;
}

.fighter-portrait {
    width: 280px;
    height: auto; /* Taller portrait format */
    object-fit: contain;
    object-position: top center; /* Show face/upper body */
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 5px solid #fff;
    background: #fff;
}

.fighter-portrait-placeholder {
    width: 280px;
    height: auto;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255,255,255,0.3);
    border: 5px solid #fff;
}

/* Adjust info positioning */
.fighter-hero-info {
    flex-grow: 1;
    color: white;
    padding-left: 320px; /* Space for portrait */
    padding-bottom: 40px;
}

/* First stats section needs adjusted padding */
.fighter-stats-section {
    padding: 40px 0 60px; /* Reduced top padding */
    background: #f5f5f5;
    position: relative;
    z-index: 5;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .fighter-hero-banner {
        margin-bottom: 100px;
    }
    
    .hero-content {
        padding: 60px 0 150px;
    }
    
    .fighter-hero-layout {
        flex-direction: column;
        align-items: center;
    }
    
    .fighter-portrait-wrapper {
        position: relative;
        bottom: -80px;
        left: auto;
    }
    
    .fighter-portrait,
    .fighter-portrait-placeholder {
        width: 200px;
        height: 250px;
    }
    
    .fighter-hero-info {
        padding-left: 0;
        text-align: center;
        padding-bottom: 120px;
    }
}

/* Additional style for better portrait display */
.fighter-portrait {
    object-fit: contain;
    object-position: center 20%; /* Focus on face/upper body */
}

/* ========================================
   Fighter Portrait Fix - No Background PNG
======================================== */

/* Reset previous styles */
.fighter-hero-banner {
    position: relative;
    min-height: 450px !important;
    background: #0a0a0a;
    overflow: visible !important;
    margin-bottom: 0 !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0 60px !important;
}

/* Fighter Layout - Complete Override */
.fighter-hero-layout {
    display: block !important;
    position: relative;
    min-height: auto;
}

/* Fighter Portrait - UFC Style */
.fighter-portrait-wrapper {
    position: absolute !important;
    bottom: -150px !important;
    left: 0 !important;
    z-index: 10 !important;
    flex-shrink: unset !important;
}

.fighter-portrait {
    width: 350px !important;
    height: 450px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.fighter-portrait-placeholder {
    display: none !important;
}

/* Info positioning next to portrait */
.fighter-hero-info {
    margin-left: 400px !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

/* Adjust first section after hero */
.fighter-stats-section {
    padding: 180px 0 60px !important;
    margin-top: 0 !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .fighter-hero-layout {
        text-align: center;
    }
    
    .fighter-portrait-wrapper {
        left: 50% !important;
        transform: translateX(-50%);
        bottom: -100px !important;
    }
    
    .fighter-portrait {
        width: 250px !important;
        height: 320px !important;
    }
    
    .fighter-hero-info {
        margin-left: 0 !important;
        text-align: center;
        padding: 0 20px;
    }
    
    .fighter-stats-section {
        padding: 140px 0 60px !important;
    }
}

/* ========================================
   Fight History Table
======================================== */

.fight-history-section {
    padding: 60px 0;
    background: #fff;
}

.fight-history-section .section-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.fight-history-table {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

table.fighter-history {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

table.fighter-history thead {
    background: #0a0a0a;
    color: white;
}

table.fighter-history th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

table.fighter-history tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
}

table.fighter-history tbody tr:hover {
    background: #f5f5f5;
}

table.fighter-history td {
    padding: 20px;
    font-size: 16px;
}

/* Result styling */
.result-win {
    color: #4CAF50;
    font-weight: 700;
}

.result-loss {
    color: #f44336;
    font-weight: 700;
}

.result-draw {
    color: #FFC107;
    font-weight: 700;
}

/* Round and Time columns */
table.fighter-history th:nth-child(6),
table.fighter-history td:nth-child(6),
table.fighter-history th:nth-child(7),
table.fighter-history td:nth-child(7) {
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fight-history-table {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    table.fighter-history {
        font-size: 14px;
    }
    
    table.fighter-history th,
    table.fighter-history td {
        padding: 10px;
    }
    
    /* Hide some columns on mobile */
    table.fighter-history th:nth-child(4),
    table.fighter-history td:nth-child(4) {
        display: none;
    }
}

/* Clean up records from fight history */
.fighter-hero-info .fighter-record-large {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

/* Update fighter record (3-1-0) */
.fighter-record-large .record-wins::after {
    content: "3-";
    color: #4CAF50;
}

.fighter-record-large .record-losses::after {
    content: "1";
    color: #f44336;
}

/* ========================================
   PROFESSIONAL FIGHTER PAGE REDESIGN V2
======================================== */

/* Override all previous fighter styles */
.fighter-single .fighter-hero-banner {
    position: relative;
    min-height: 70vh !important;
    background: #000 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: flex-end !important;
    margin-bottom: 0 !important;
}

/* Professional Hero Background */
.fighter-single .hero-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.fighter-single .hero-background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.7 !important;
}

.fighter-single .hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%) !important;
    z-index: 2 !important;
}

/* Professional Hero Content */
.fighter-single .hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    padding: 60px 0 100px !important;
}

.fighter-single .fighter-hero-layout {
    display: grid !important;
    grid-template-columns: 350px 1fr !important;
    gap: 60px !important;
    align-items: end !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

/* Fighter Portrait Professional Positioning */
.fighter-single .fighter-portrait-wrapper {
    position: relative !important;
    height: 450px !important;
    margin-bottom: -120px !important;
    z-index: 10 !important;
}

.fighter-single .fighter-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8)) !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Fighter Info Professional */
.fighter-single .fighter-hero-info {
    color: white !important;
    padding: 0 0 40px 0 !important;
    margin-left: 0 !important;
}

/* Nickname Styling */
.fighter-single .fighter-nickname-large {
    font-size: 20px !important;
    color: #d20a0a !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* Fighter Name Professional */
.fighter-single .fighter-name-large {
    font-size: 72px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    line-height: 0.9 !important;
    letter-spacing: -3px !important;
    margin: 0 0 30px 0 !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
}

/* Fix Record Display */
.fighter-single .fighter-record-large {
    font-size: 64px !important;
    font-weight: 800 !important;
    letter-spacing: -2px !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: baseline !important;
}

.fighter-single .record-wins {
    color: #4CAF50 !important;
}

.fighter-single .record-losses {
    color: #f44336 !important;
}

.fighter-single .record-separator {
    color: #666 !important;
    margin: 0 10px !important;
    font-size: 48px !important;
}

/* Professional Meta Badges */
.fighter-single .fighter-meta {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.fighter-single .fighter-status-badge {
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

.fighter-single .fighter-status-badge.active {
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.5) !important;
}

.fighter-single .weight-class-badge {
    padding: 12px 30px !important;
    background: rgba(255,255,255,0.1) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

/* Professional Stats Section */
.fighter-single .fighter-stats-section {
    padding: 140px 0 80px !important;
    background: #f8f8f8 !important;
    margin-top: -80px !important;
    position: relative !important;
    z-index: 5 !important;
}

.fighter-single .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

/* Professional Stat Cards */
.fighter-single .stat-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
}

.fighter-single .stat-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
}

.fighter-single .stat-card-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%) !important;
    color: white !important;
    padding: 25px 30px !important;
}

.fighter-single .stat-card-header h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Record Display in Stats */
.fighter-single .record-display {
    display: flex !important;
    justify-content: space-around !important;
    text-align: center !important;
}

.fighter-single .record-item .record-number {
    display: block !important;
    font-size: 56px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
}

.fighter-single .record-item.wins .record-number {
    color: #4CAF50 !important;
}

.fighter-single .record-item.losses .record-number {
    color: #f44336 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fighter-single .fighter-hero-layout {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .fighter-single .fighter-portrait-wrapper {
        max-width: 300px !important;
        margin: 0 auto -80px !important;
        height: 350px !important;
    }
    
    .fighter-single .fighter-name-large {
        font-size: 48px !important;
    }
    
    .fighter-single .fighter-record-large {
        font-size: 42px !important;
        justify-content: center !important;
    }
}

/* ========================================
   Fighter Page Dark Theme Fixes
======================================== */

/* Dark theme for all stat cards */
.fighter-single .stat-card {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}

.fighter-single .stat-card-header {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
    border-bottom: 2px solid #d20a0a !important;
}

.fighter-single .stat-card-header h3 {
    color: #fff !important;
}

/* Fighter Info Card - Dark Theme */
.fighter-single .info-item {
    border-bottom: 1px solid #333 !important;
}

.fighter-single .info-label {
    color: #888 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.fighter-single .info-value {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* Record Card - Dark Theme */
.fighter-single .record-display {
    background: transparent !important;
}

.fighter-single .record-label {
    color: #888 !important;
    font-weight: 600 !important;
}

.fighter-single .record-item.wins .record-number {
    color: #4CAF50 !important;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5) !important;
}

.fighter-single .record-item.losses .record-number {
    color: #f44336 !important;
    text-shadow: 0 0 20px rgba(244, 67, 54, 0.5) !important;
}

/* Social Links Card - Dark Theme */
.fighter-single .social-link {
    background: #2a2a2a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}

.fighter-single .social-link:hover {
    background: #333 !important;
    border-color: #d20a0a !important;
}

/* CTA Cards - Dark Theme */
.fighter-single .cta-card {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    padding: 20px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.fighter-single .cta-card:hover {
    background: #2a2a2a !important;
    border-color: #d20a0a !important;
    transform: translateY(-5px) !important;
}

.fighter-single .cta-card i {
    font-size: 24px !important;
    color: #d20a0a !important;
}

/* Fight History Section - Dark Theme */
.fighter-single .fight-history-section {
    background: #0a0a0a !important;
    color: #fff !important;
}

.fighter-single .cfs-fight-history {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
}

.fighter-single .cfs-fight-history th {
    background: #2a2a2a !important;
    border-bottom: 2px solid #d20a0a !important;
}

.fighter-single .cfs-fight-history td {
    color: #fff !important;
    border-bottom: 1px solid #333 !important;
}

.fighter-single .cfs-fight-history tr:hover {
    background: #2a2a2a !important;
}

/* Bio Section - Dark Theme */
.fighter-single .fighter-bio-section {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 80px 0 !important;
}

.fighter-single .bio-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.fighter-single .bio-content h2 {
    color: #fff !important;
    font-size: 36px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
}

.fighter-single .bio-content p {
    color: #ccc !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
}

.fighter-single .bio-content strong {
    color: #fff !important;
}

/* Background color for main sections */
body.single-fighter {
    background: #0a0a0a !important;
}

.fighter-single main {
    background: #0a0a0a !important;
}

/* Fix the white background issue */
.fighter-single .fighter-stats-section {
    background: #0a0a0a !important;
}

/* Style the "no data" text */
.fighter-single .info-item .info-value:empty::after {
    content: "—";
    color: #666;
}

/* ========================================
   Fighter Portrait Position Fix
======================================== */

/* Fix fighter portrait cutoff */
.fighter-single .fighter-portrait-wrapper {
    position: relative !important;
    height: 550px !important;
    margin-bottom: -150px !important;
    z-index: 10 !important;
    margin-left: 0 !important;
    padding-left: 40px !important;
}

.fighter-single .fighter-portrait {
    width: 100% !important;
    max-width: 380px !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8)) !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    transform: none !important;
}

/* Adjust hero layout for better spacing */
.fighter-single .fighter-hero-layout {
    display: grid !important;
    grid-template-columns: 420px 1fr !important;
    gap: 40px !important;
    align-items: end !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 60px !important;
}

/* Ensure full width for hero */
.fighter-single .hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    padding: 60px 0 120px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .fighter-single .fighter-portrait-wrapper {
        padding-left: 0 !important;
        margin: 0 auto -100px !important;
        max-width: 300px !important;
        height: 400px !important;
    }
    
    .fighter-single .fighter-hero-layout {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
    }
    
    .fighter-single .fighter-portrait {
        max-width: 280px !important;
    }
}

/* Fix container overflow */
.fighter-single .container {
    max-width: 100% !important;
    overflow: visible !important;
}

/* Ensure hero banner doesn't cut off content */
.fighter-single .fighter-hero-banner {
    overflow: visible !important;
}

/* Fix for fighter image cropping */
.fighter-image {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-color: #000;
}

/* Alternative: Use cover but adjust positioning */
.fighter-image.use-cover {
    background-size: cover !important;
    background-position: center 20% !important;
}


.fighter-card .fighter-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%) !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

.fighter-card .fighter-record {
    background: none !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Alternative für full-body shots */
.fighter-card.full-body .fighter-image {
    background-position: center top !important;
}


.fighter-single .fighter-portrait {
    width: 320px !important;
    height: 520px !important;
    object-fit: cover !important;
    object-position: center 20% !important; /* Adjusted to show more of the fighter */
    border-radius: 10px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
    border: 5px solid #fff !important;
    background: #1a1a1a !important;
}

/* Alternative mit contain für vollständiges Bild */
.fighter-single .fighter-portrait.full-view {
    object-fit: contain !important;
    background: #000 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fighter-single .fighter-portrait {
        width: 200px !important;
        height: 320px !important;
    }
}


/* Fighter Portrait Position Fix - Careful Version */
.fighter-portrait {
    object-position: center 25% !important; /* Show more of the upper body */
}

/* Fix for cropped fighter portraits on single page */
.fighter-single .fighter-portrait-wrapper .fighter-portrait {
    object-position: center 30% !important;
}

/* Fix fighter card images being cut off */
.fighter-card .fighter-image {
    background-position: center 25% !important;
}

/* Ensure fighter record is visible in white */
.fighter-card .fighter-overlay .fighter-record {
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}


/* Remove white border from fighter portrait */
.fighter-portrait {
    border: none !important;
}

.fighter-single .fighter-portrait {
    border: none !important;
}


/* Remove white background from fighter portrait PNG */
.fighter-portrait {
    background: transparent !important;
}

.fighter-single .fighter-portrait {
    background: transparent !important;
}


/* Fighter Profile Layout Improvements */

/* Better spacing and alignment for hero section */
.fighter-hero-layout {
    display: flex !important;
    align-items: flex-end !important;
    gap: 3rem !important;
    padding: 2rem 0 !important;
}

/* Improve fighter portrait positioning */
.fighter-portrait-wrapper {
    flex-shrink: 0 !important;
    margin-bottom: 2rem !important;
}

.fighter-portrait {
    width: 280px !important;
    height: 420px !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    border-radius: 12px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6) !important;
    transition: transform 0.3s ease !important;
}

.fighter-portrait:hover {
    transform: scale(1.02) !important;
}

/* Better typography and spacing for fighter info */
.fighter-hero-info {
    flex: 1 !important;
    margin-bottom: 2rem !important;
}

.fighter-nickname-large {
    font-size: 1.2rem !important;
    color: #ff4444 !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.fighter-name-large {
    font-size: 4rem !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7) !important;
}

.fighter-record-large {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 0.3rem !important;
}

.record-wins {
    color: #4CAF50 !important;
}

.record-losses {
    color: #f44336 !important;
}

.record-separator {
    color: #666 !important;
    margin: 0 0.2rem !important;
}

/* Fighter status and info badges */
.fighter-meta {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

.fighter-status, .fighter-weight-class {
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.fighter-status {
    background: #4CAF50 !important;
    color: white !important;
}

.fighter-weight-class {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.fighter-country {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: white !important;
    font-weight: 500 !important;
}

/* Stats cards improvements */
.fighter-stats-row {
    margin-top: 4rem !important;
    gap: 2rem !important;
}

.fighter-stat-card {
    background: rgba(26, 26, 26, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.fighter-stat-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 68, 68, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .fighter-hero-layout {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    
    .fighter-portrait {
        width: 200px !important;
        height: 300px !important;
        margin: 0 auto !important;
    }
    
    .fighter-name-large {
        font-size: 2.5rem !important;
    }
    
    .fighter-record-large {
        font-size: 2.5rem !important;
        justify-content: center !important;
    }
}

