﻿/* ==================== INDEX PAGE STYLES ==================== */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(196,30,58,0.3) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s var(--transition-smooth);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(80px, 12vw, 180px);
    font-weight: 700;
    letter-spacing: 15px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--vendetta-white), var(--vendetta-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
}

    .hero-title::before {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 2px;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--vendetta-red), var(--vendetta-white));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        opacity: 0.8;
        z-index: -1;
        animation: glitch-1 2s infinite;
    }

@keyframes glitch {
    0%, 100% {
        text-shadow: 2px 2px 0 var(--vendetta-red), -2px -2px 0 var(--vendetta-white);
    }

    50% {
        text-shadow: -2px 2px 0 var(--vendetta-red), 2px -2px 0 var(--vendetta-white);
    }
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-4px);
    }
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: 8px;
    margin-bottom: 40px;
    color: var(--vendetta-white);
    animation: fadeInUp 1s 0.2s backwards;
}

.hero-date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 50px;
    animation: fadeInUp 1s 0.4s backwards;
}

.date-label {
    font-size: 14px;
    letter-spacing: 3px;
    color: var(--vendetta-red);
    font-weight: 600;
}

.date-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
}

.btn-hero {
    display: inline-block;
    background: var(--vendetta-red);
    color: var(--vendetta-white);
    padding: 20px 60px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    border: 3px solid var(--vendetta-red);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s 0.6s backwards;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

    .btn-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--vendetta-white);
        transition: left 0.4s;
        z-index: -1;
    }

    .btn-hero:hover {
        color: var(--vendetta-red);
    }

        .btn-hero:hover::before {
            left: 0;
        }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

    .scroll-indicator span {
        display: block;
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, transparent, var(--vendetta-red));
    }

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

    .section-header h2 {
        font-size: clamp(36px, 5vw, 56px);
        letter-spacing: 4px;
        position: relative;
        display: inline-block;
    }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--vendetta-red);
        }

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--vendetta-red), transparent);
    margin-left: 40px;
}

.view-all {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--vendetta-red);
    transition: transform var(--transition-speed);
}

    .view-all:hover {
        transform: translateX(10px);
    }

/* Featured Fight */
.featured-fight {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--vendetta-dark) 0%, var(--vendetta-gray) 100%);
}

.fight-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    background: var(--vendetta-black);
    padding: 60px;
    border: 2px solid var(--vendetta-border);
    position: relative;
    overflow: hidden;
}

    .fight-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, transparent, var(--vendetta-red), transparent);
    }

.fighter {
    display: flex;
    gap: 30px;
    align-items: center;
}

.fighter-left {
    flex-direction: row;
}

.fighter-right {
    flex-direction: row-reverse;
}

/* ✅ CLICKABLE FIGHTER IMAGE LINK */
.fighter-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fighter-image {
    position: relative;
    width: 280px;
    height: 350px;
    overflow: hidden;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: transform 0.3s ease;
}

/* ✅ HOVER EFFECT FOR CLICKABLE IMAGE */
.fighter-image-link:hover .fighter-image {
    transform: scale(1.05);
}

.fighter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.fighter:hover .fighter-image img {
    transform: scale(1.1);
}

.fighter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(196,30,58,0.4) 100%);
}

.fighter-info {
    flex: 1;
}

.fighter-left .fighter-info {
    text-align: left;
}

.fighter-right .fighter-info {
    text-align: right;
}

/* ✅ CLICKABLE FIGHTER NAME LINK */
.fighter-name-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

    .fighter-name-link:hover {
        color: var(--vendetta-red);
        transform: translateX(5px);
    }

.fighter-right .fighter-name-link:hover {
    transform: translateX(-5px);
}

.fighter-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.fighter-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 16px;
}

.fighter-right .fighter-stats {
    flex-direction: row-reverse;
}

.fighter-stats .stat {
    color: #888;
}

    .fighter-stats .stat strong {
        color: var(--vendetta-red);
        font-size: 24px;
    }

.fighter-country {
    font-size: 16px;
    color: #888;
    letter-spacing: 2px;
}

.vs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.vs-badge {
    width: 120px;
    height: 120px;
    background: var(--vendetta-red);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.vs-badge span {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    animation: rotate 20s linear infinite reverse;
}

.fight-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.weight-class {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--vendetta-red);
    font-weight: 600;
}

.rounds {
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
}

/* Rankings Preview */
.rankings-preview {
    padding: 120px 0;
    background: var(--vendetta-dark);
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.ranking-card {
    background: var(--vendetta-gray);
    border: 1px solid var(--vendetta-border);
    padding: 40px;
    transition: all var(--transition-speed);
}

    .ranking-card:hover {
        border-color: var(--vendetta-red);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px var(--vendetta-red-glow);
    }

.weight-class-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--vendetta-red);
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
    margin-bottom: 20px;
    background: var(--vendetta-black);
    border-left: 4px solid transparent;
    transition: all var(--transition-speed);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

    .ranking-item:hover {
        border-left-color: var(--vendetta-red);
        transform: translateX(8px);
        background: linear-gradient(90deg, rgba(196,30,58,0.05), var(--vendetta-black));
    }

    .ranking-item.champion {
        border-left-color: var(--vendetta-red);
        background: linear-gradient(90deg, rgba(196,30,58,0.15), var(--vendetta-black));
    }

        .ranking-item.champion:hover {
            background: linear-gradient(90deg, rgba(196,30,58,0.25), var(--vendetta-black));
        }

    .ranking-item .rank {
        font-family: 'Oswald', sans-serif;
        font-size: 32px;
        font-weight: 700;
        color: #666;
        min-width: 50px;
        text-align: center;
    }

    .ranking-item.champion .rank {
        color: var(--vendetta-red);
    }

.fighter-mini {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

    .fighter-mini img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--vendetta-border);
        transition: border-color var(--transition-speed);
    }

.ranking-item:hover .fighter-mini img {
    border-color: var(--vendetta-red);
}

.fighter-mini div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fighter-mini strong {
    font-size: 20px;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.fighter-mini span {
    font-size: 16px;
    color: #888;
    letter-spacing: 0.5px;
}

.badge {
    background: var(--vendetta-red);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Latest News */
.latest-news {
    padding: 120px 0;
    background: var(--vendetta-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: var(--vendetta-black);
    border: 1px solid var(--vendetta-border);
    overflow: hidden;
    transition: all var(--transition-speed);
}

    .news-card:hover {
        border-color: var(--vendetta-red);
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    }

    .news-card.featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
    }

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--vendetta-red);
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.news-content {
    padding: 30px;
}

    .news-content time {
        display: block;
        font-size: 13px;
        color: var(--vendetta-red);
        letter-spacing: 1px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .news-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .news-content p {
        color: #AAA;
        line-height: 1.7;
        margin-bottom: 20px;
    }

.read-more {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--vendetta-red);
    transition: transform var(--transition-speed);
    display: inline-block;
}

    .read-more:hover {
        transform: translateX(10px);
    }

/* Upcoming Matches */
.upcoming-matches {
    padding: 120px 0;
    background: var(--vendetta-dark);
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.match-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 30px;
    align-items: center;
    background: var(--vendetta-gray);
    border: 1px solid var(--vendetta-border);
    padding: 30px;
    transition: all var(--transition-speed);
}

    .match-item:hover {
        border-color: var(--vendetta-red);
        transform: translateX(10px);
    }

.match-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--vendetta-black);
    border-left: 4px solid var(--vendetta-red);
}

    .match-date .day {
        font-size: 48px;
        font-weight: 700;
        line-height: 1;
    }

    .match-date .month {
        font-size: 14px;
        letter-spacing: 2px;
        color: #888;
    }

.match-fighters {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ✅ CLICKABLE MATCH FIGHTER */
.match-fighter {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

a.match-fighter {
    cursor: pointer;
}

    a.match-fighter:hover {
        transform: translateY(-5px);
    }

        a.match-fighter:hover span {
            color: var(--vendetta-red);
        }

        a.match-fighter:hover img {
            border-color: var(--vendetta-red);
            transform: scale(1.1);
        }

.match-fighter img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--vendetta-red);
    transition: all var(--transition-speed);
}

.match-fighter span {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color var(--transition-speed);
}

.match-vs {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--vendetta-red);
}

.match-info {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #888;
    font-size: 14px;
    flex-wrap: wrap;
}

.match-tickets {
    background: var(--vendetta-red);
    padding: 15px 40px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all var(--transition-speed);
    border: 2px solid var(--vendetta-red);
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

    .match-tickets:hover {
        background: transparent;
        color: var(--vendetta-red);
    }

/* No matches message */
.no-matches {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

    .no-matches p {
        font-size: 18px;
        letter-spacing: 1px;
    }

/* Media Section */
.media-section {
    padding: 120px 0;
    background: var(--vendetta-gray);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.media-card {
    background: var(--vendetta-black);
    border: 1px solid var(--vendetta-border);
    overflow: hidden;
    transition: all var(--transition-speed);
}

    .media-card:hover {
        border-color: var(--vendetta-red);
        transform: translateY(-10px);
    }

.media-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

    .media-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }

.media-card:hover .media-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(196,30,58,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.media-card:hover .play-button {
    background: var(--vendetta-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.media-type {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--vendetta-black);
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid var(--vendetta-red);
}

.media-card h4 {
    padding: 20px;
    font-size: 18px;
    letter-spacing: 1px;
}

.media-card p {
    padding: 0 20px 20px;
    color: #888;
    font-size: 14px;
}

/* ==================== INDEX RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .fight-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fighter {
        flex-direction: column !important;
        text-align: center;
    }

    .fighter-stats {
        justify-content: center;
        flex-direction: row !important;
    }

    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    /* Match Item - Large Tablet */
    .match-item {
        grid-template-columns: 100px 1fr auto;
        gap: 20px;
        padding: 25px;
    }

    .match-date {
        padding: 15px;
    }

        .match-date .day {
            font-size: 40px;
        }

    .match-tickets {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* Rankings - Large Tablet */
    .rankings-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 40px;
    }

    .ranking-card {
        padding: 35px;
    }

    .weight-class-title {
        font-size: 22px;
    }

    .fighter-mini img {
        width: 65px;
        height: 65px;
    }

    .fighter-mini strong {
        font-size: 18px;
    }
}

@media (max-width: 968px) {
    .rankings-grid,
    .news-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    /* Rankings - Tablet */
    .rankings-grid {
        gap: 35px;
    }

    .ranking-card {
        padding: 30px;
    }

    .ranking-item {
        padding: 18px;
        gap: 20px;
    }

        .ranking-item .rank {
            font-size: 28px;
            min-width: 45px;
        }

    .fighter-mini img {
        width: 60px;
        height: 60px;
    }

    .fighter-mini strong {
        font-size: 18px;
    }

    .fighter-mini span {
        font-size: 15px;
    }

    /* Match Item - Tablet */
    .match-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .match-date {
        width: 100%;
        border-left: none;
        border-top: 4px solid var(--vendetta-red);
        padding: 15px;
    }

    .match-fighters {
        justify-content: center;
        gap: 20px;
    }

    .match-vs {
        font-size: 20px;
    }

    .match-info {
        justify-content: center;
    }

    .match-tickets {
        width: 100%;
        padding: 15px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 60px;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .fighter-image {
        width: 100%;
        height: 300px;
    }

    /* Rankings - Mobile */
    .ranking-card {
        padding: 25px;
    }

    .weight-class-title {
        font-size: 20px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .ranking-item {
        padding: 15px;
        gap: 15px;
    }

        .ranking-item .rank {
            font-size: 24px;
            min-width: 40px;
        }

    .fighter-mini {
        gap: 15px;
    }

        .fighter-mini img {
            width: 55px;
            height: 55px;
            border-width: 2px;
        }

        .fighter-mini strong {
            font-size: 16px;
        }

        .fighter-mini span {
            font-size: 14px;
        }

    .badge {
        padding: 6px 15px;
        font-size: 11px;
    }

    /* Match Item - Mobile */
    .match-item {
        padding: 15px;
        gap: 15px;
    }

    .match-date .day {
        font-size: 32px;
    }

    .match-date .month {
        font-size: 12px;
    }

    .match-fighters {
        flex-direction: column;
        gap: 15px;
    }

    .match-fighter {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

        .match-fighter img {
            width: 80px;
            height: 80px;
        }

        .match-fighter span {
            font-size: 16px;
        }

    .match-vs {
        font-size: 18px;
        margin: 10px 0;
    }

    .match-info {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .match-tickets {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    /* Rankings - Small Mobile */
    .ranking-card {
        padding: 20px;
    }

    .weight-class-title {
        font-size: 18px;
    }

    .ranking-item {
        padding: 12px;
        gap: 12px;
    }

        .ranking-item .rank {
            font-size: 22px;
            min-width: 35px;
        }

    .fighter-mini img {
        width: 50px;
        height: 50px;
    }

    .fighter-mini strong {
        font-size: 15px;
    }

    .fighter-mini span {
        font-size: 13px;
    }

    /* Extra small mobile */
    .match-item {
        padding: 12px;
    }

    .match-date {
        padding: 12px;
    }

        .match-date .day {
            font-size: 28px;
        }

    .match-fighter img {
        width: 70px;
        height: 70px;
    }

    .match-fighter span {
        font-size: 14px;
        word-break: break-word;
    }

    .match-vs {
        font-size: 16px;
    }

    .match-info {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    /* Rankings - Extra Small */
    .ranking-item {
        flex-direction: column;
        text-align: center;
    }

        .ranking-item .rank {
            width: 100%;
            min-width: unset;
            font-size: 28px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--vendetta-border);
        }

    .fighter-mini {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    /* Very small mobile */
    .match-fighter span {
        font-size: 13px;
    }

    .match-tickets {
        font-size: 13px;
        letter-spacing: 1px;
    }
}
