﻿/* ===================================================
   FIGHTER PROFILE - FLUID MINIMALIST DESIGN
   =================================================== */

:root {
    --profile-spacing: 40px;
    --box-radius: 2px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Profile Wrapper */
.profile-wrapper {
    background: var(--vendetta-dark);
    min-height: 100vh;
}

/* ===================================================
   FIGHTER PHOTO SECTION - HERO WITH BOTTOM ALIGNED PHOTO
   =================================================== */

.fighter-photo-section {
    position: relative;
    background: var(--vendetta-black);
    height: 650px;
    overflow: hidden;
    margin-top: 80px;
}

    /* Background Image - 16:9 için optimize edildi */
    .fighter-photo-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('/images/cage.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        opacity: 1;
        z-index: 0;
    }

    /* Dark Gradient Overlay */
    .fighter-photo-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.85) 100% );
        z-index: 1;
    }

/* Photo Container - DÖVÜŞÇÜ FOTOĞRAFI DİBE SABİTLENDİ */
.photo-container {
    position: absolute;
    bottom: 0; /* ← Hero'nun dibine sabitle */
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    width: 100%;
    z-index: 2;
}

.photo-frame {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

    .photo-frame img {
        width: 100%;
        max-width: 450px;
        height: auto;
        display: block;
        object-fit: contain;
        transition: var(--transition-smooth);
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
        vertical-align: bottom; /* Alt kenara yapış */
    }

    .photo-frame:hover img {
        transform: scale(1.05);
        filter: drop-shadow(0 30px 60px rgba(196,30,58,0.5));
    }

.champion-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--vendetta-black);
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 3;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

/* ===================================================
   FIGHTER INFO SECTION
   =================================================== */

.fighter-info-section {
    padding: var(--profile-spacing) 0 120px;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Fighter Header */
.fighter-header {
    margin-bottom: 60px;
}

.name-block {
    margin-bottom: 40px;
    text-align: center;
}

.fighter-name {
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--vendetta-white);
    margin-bottom: 10px;
}

.fighter-nickname {
    font-size: 24px;
    color: var(--vendetta-red);
    font-style: italic;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Basic Info Grid */
.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    transition: var(--transition-smooth);
}

    .info-box:hover {
        background: rgba(255,255,255,0.05);
        border-color: var(--vendetta-red);
        transform: translateY(-2px);
    }

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-value {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--vendetta-white);
}

/* ===================================================
   SECTION STYLES
   =================================================== */

.stats-section,
.description-section,
.record-section,
.matches-section,
.media-section {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--vendetta-white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--vendetta-red);
    }

/* ===================================================
   STATS GRID
   =================================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(196,30,58,0.05) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

    .stat-box:hover {
        border-color: var(--vendetta-red);
        background: linear-gradient(135deg, rgba(196,30,58,0.1) 0%, rgba(0,0,0,0.5) 100%);
        transform: translateY(-5px);
    }

.stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--vendetta-red);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* ===================================================
   DESCRIPTION
   =================================================== */

.description-box {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--vendetta-red);
    padding: 40px;
}

    .description-box p {
        font-size: 18px;
        line-height: 1.8;
        color: rgba(255,255,255,0.8);
        margin: 0;
    }

/* ===================================================
   RECORD BOXES (W-L-D)
   =================================================== */

.record-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
}

.record-box {
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.1);
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

    .record-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--vendetta-red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s;
    }

    .record-box:hover::before {
        transform: scaleX(1);
    }

    .record-box.wins {
        border-color: rgba(76, 175, 80, 0.3);
    }

        .record-box.wins:hover {
            border-color: #4CAF50;
        }

        .record-box.wins::before {
            background: #4CAF50;
        }

    .record-box.losses {
        border-color: rgba(244, 67, 54, 0.3);
    }

        .record-box.losses:hover {
            border-color: #F44336;
        }

        .record-box.losses::before {
            background: #F44336;
        }

    .record-box.draws {
        border-color: rgba(255, 193, 7, 0.3);
    }

        .record-box.draws:hover {
            border-color: #FFC107;
        }

        .record-box.draws::before {
            background: #FFC107;
        }

.record-number {
    font-family: 'Oswald', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.wins .record-number {
    color: #4CAF50;
}

.losses .record-number {
    color: #F44336;
}

.draws .record-number {
    color: #FFC107;
}

.record-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* ===================================================
   MATCHES LIST
   =================================================== */

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid rgba(255,255,255,0.2);
    padding: 25px;
    transition: var(--transition-smooth);
    align-items: center;
}

    .match-item:hover {
        background: rgba(255,255,255,0.05);
        transform: translateX(5px);
    }

    .match-item.win {
        border-left-color: #4CAF50;
    }

    .match-item.loss {
        border-left-color: #F44336;
    }

    .match-item.draw {
        border-left-color: #FFC107;
    }

.match-result {
    text-align: center;
}

.result-badge {
    display: inline-block;
    padding: 8px 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 2px;
}

.win .result-badge {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.loss .result-badge {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid #F44336;
}

.draw .result-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
}

.match-opponent {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

    .match-opponent strong {
        color: var(--vendetta-red);
        margin-right: 8px;
    }

.match-details {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

    .match-details span {
        position: relative;
        padding-right: 20px;
    }

        .match-details span:not(:last-child)::after {
            content: '•';
            position: absolute;
            right: 8px;
            color: var(--vendetta-red);
        }

/* ===================================================
   MEDIA GRID
   =================================================== */

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.media-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px;
    transition: var(--transition-smooth);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 15px;
}

    .media-item:hover {
        background: rgba(255,255,255,0.05);
        border-color: var(--vendetta-red);
        transform: translateY(-5px);
    }

.media-type {
    display: inline-block;
    padding: 6px 12px;
    background: var(--vendetta-red);
    color: var(--vendetta-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: fit-content;
}

.media-item.interview .media-type {
    background: #2196F3;
}

.media-item.podcast .media-type {
    background: #9C27B0;
}

.media-item.news .media-type {
    background: #FF9800;
}

.media-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.media-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 10px;
}

.media-date {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.media-action {
    text-align: right;
}

.media-link {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--vendetta-red);
    color: var(--vendetta-red);
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

    .media-link:hover {
        background: var(--vendetta-red);
        color: var(--vendetta-white);
    }

/* ===================================================
   NO DATA STATE
   =================================================== */

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
    font-size: 16px;
}

/* ===================================================
   UPCOMING MATCH BANNER
   =================================================== */

.upcoming-match-banner {
    background: linear-gradient(135deg, rgba(196,30,58,0.95) 0%, rgba(139,0,0,0.95) 100%);
    border-bottom: 3px solid var(--vendetta-red);
    box-shadow: 0 4px 20px rgba(196,30,58,0.3);
    position: sticky;
    top: 80px;
    z-index: 100;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.banner-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vendetta-white);
}

    .banner-icon svg {
        width: 24px;
        height: 24px;
    }

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.banner-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--vendetta-white);
    text-transform: uppercase;
}

.banner-details {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.banner-event {
    font-weight: 600;
}

.banner-opponent {
    font-weight: 700;
    color: var(--vendetta-white);
}

.banner-countdown {
    font-weight: 700;
    color: #FFD700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.banner-separator {
    color: rgba(255,255,255,0.5);
}

.banner-action {
    display: flex;
    align-items: center;
}

.banner-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--vendetta-white);
    color: var(--vendetta-red);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: var(--transition-smooth);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

    .banner-btn:hover {
        background: #FFD700;
        color: var(--vendetta-black);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255,215,0,0.4);
    }

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1200px) {
    .fighter-name {
        font-size: 52px;
    }

    .fighter-photo-section {
        height: 550px;
    }

    .photo-container {
        max-width: 400px;
    }

    .photo-frame img {
        max-width: 380px;
    }
}

@media (max-width: 968px) {
    .container-fluid {
        padding: 0 30px;
    }

    .fighter-name {
        font-size: 42px;
    }

    .fighter-nickname {
        font-size: 20px;
    }

    .fighter-photo-section {
        height: 500px;
        margin-top: 70px;
    }

    .photo-container {
        max-width: 350px;
    }

    .photo-frame img {
        max-width: 330px;
    }

    .basic-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .record-boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .match-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .match-result {
        text-align: left;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    /* Banner Responsive */
    .upcoming-match-banner {
        top: 70px;
    }

    .banner-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 16px 20px;
        text-align: center;
    }

    .banner-icon {
        margin: 0 auto;
    }

    .banner-details {
        justify-content: center;
        font-size: 13px;
    }

    .banner-action {
        justify-content: center;
    }

    .banner-title {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .container-fluid {
        padding: 0 20px;
    }

    .fighter-name {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

    .fighter-photo-section {
        height: 450px;
    }

    .photo-container {
        max-width: 280px;
    }

    .photo-frame img {
        max-width: 260px;
    }

    .basic-info-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .description-box {
        padding: 25px;
    }

    .match-details {
        flex-direction: column;
        gap: 5px;
    }

        .match-details span::after {
            display: none;
        }

    /* Banner Mobile */
    .banner-details {
        flex-direction: column;
        gap: 4px;
    }

    .banner-separator {
        display: none;
    }

    .banner-btn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}

/* ============================
   SOCIAL MEDIA SECTION
   ============================ */
.social-media-section {
    background: linear-gradient(135deg, var(--vendetta-gray), var(--vendetta-light-gray));
    padding: 40px 50px;
    margin: 40px 0;
    border-left: 5px solid var(--vendetta-red);
    border: 2px solid var(--vendetta-border);
}

    .social-media-section h3 {
        font-family: 'Oswald', sans-serif;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--vendetta-red);
        margin-bottom: 25px;
        text-align: center;
    }

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--vendetta-dark);
    border: 2px solid var(--vendetta-border);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

    .social-link:hover {
        border-color: var(--vendetta-red);
        background: var(--vendetta-black);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
    }

.social-icon {
    font-size: 32px;
    display: block;
}

.social-platform {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--vendetta-white);
    text-transform: uppercase;
}

.social-link:hover .social-platform {
    color: var(--vendetta-red);
}

/* ============================
   MEDIA GRID - Updated for News
   ============================ */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.media-item {
    background: var(--vendetta-gray);
    border: 2px solid var(--vendetta-border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

    .media-item:hover {
        border-color: var(--vendetta-red);
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(196, 30, 58, 0.3);
    }

.media-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: var(--vendetta-black);
}

    .media-thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.media-item:hover .media-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--vendetta-white);
    border: 3px solid var(--vendetta-white);
    transition: all 0.3s ease;
    z-index: 2;
}

.media-item:hover .play-button {
    background: var(--vendetta-red);
    transform: translate(-50%, -50%) scale(1.15);
}

.media-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.media-type {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--vendetta-red);
    background: var(--vendetta-black);
    padding: 5px 12px;
    border: 1px solid var(--vendetta-red);
    margin-bottom: 12px;
    align-self: flex-start;
}

.media-content h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--vendetta-white);
    line-height: 1.4;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-item:hover .media-content h4 {
    color: var(--vendetta-red);
}

.media-date {
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

/* Distinguish between media and news items */
.media-item.news .play-button {
    display: none;
}

.media-item.news .media-thumbnail::after {
    content: '📰';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    z-index: 2;
}

/* ============================
   RESPONSIVE DESIGN UPDATES
   ============================ */
@media (max-width: 968px) {
    .social-media-section {
        padding: 30px 25px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        padding: 15px 20px;
        min-width: 100px;
    }

    .social-icon {
        font-size: 28px;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .social-media-section {
        padding: 25px 20px;
        margin: 30px 0;
    }

        .social-media-section h3 {
            font-size: 18px;
            margin-bottom: 20px;
        }

    .social-links {
        gap: 12px;
    }

    .social-link {
        padding: 12px 18px;
        min-width: 90px;
    }

    .social-icon {
        font-size: 24px;
    }

    .social-platform {
        font-size: 10px;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-content h4 {
        font-size: 15px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}