/* Player Page Styles */

/* Player Hero Section */
.player-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 80px 20px;
    border-bottom: 4px solid #FFD700;
    position: relative;
    overflow: hidden;
}

.player-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.player-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.player-hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.player-number-large {
    font-size: 8rem;
    font-weight: bold;
    color: rgba(255, 215, 0, 0.2);
    line-height: 1;
    margin-bottom: -40px;
}

.player-name-large {
    font-size: 4rem;
    color: #FFD700;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.player-position-large {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-country-flag {
    width: 40px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.player-positions-detail {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.position-badge-large {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.4);
    border: 2px solid #FFD700;
    transition: all 0.3s ease;
}

.position-badge-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 215, 0, 0.6);
}

.player-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-hero-image {
    width: 100%;
    max-width: 500px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 3px solid #FFD700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.player-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-hero-image::after {
    content: '69';
    position: absolute;
    font-size: 20rem;
    color: rgba(255, 215, 0, 0.05);
    font-weight: bold;
    z-index: 0;
}

/* Player Tabs Section */
.player-tabs-section {
    background: #000000;
    border-bottom: 2px solid #1a1a1a;
    position: sticky;
    top: 73px;
    z-index: 100;
}

.player-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.player-tab-btn {
    background: transparent;
    color: #999999;
    border: none;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.player-tab-btn:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

.player-tab-btn.active {
    color: #FFD700;
    border-bottom-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

/* Player Content Section */
.player-content-section {
    background: #0a0a0a;
    padding: 60px 20px;
}

.player-tab-content {
    display: none;
}

.player-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Biography Tab */
.player-bio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.player-bio-main h2 {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.player-bio-main h3 {
    color: #FFD700;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.player-bio-main p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.achievements-list {
    list-style: none;
    padding: 0;
}

.achievements-list li {
    color: #cccccc;
    font-size: 1.1rem;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid #FFD700;
    border-radius: 5px;
}

.achievements-list li::before {
    content: '🏆';
    margin-right: 10px;
}

/* Player Info Card */
.player-info-card {
    background: #000000;
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
    position: sticky;
    top: 150px;
}

.player-info-card h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #999999;
    font-size: 0.95rem;
    font-weight: 500;
}

.info-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-flag {
    width: 24px;
    height: auto;
    border-radius: 3px;
}

/* Statistics Tab */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-name {
    color: #cccccc;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-content-section h2 {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.player-content-section h3 {
    color: #FFD700;
    font-size: 2rem;
    margin: 60px 0 30px 0;
}

.stats-table {
    width: 100%;
    background: #000000;
    border: 2px solid #FFD700;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.stats-table thead {
    background: #FFD700;
}

.stats-table thead th {
    color: #000000;
    font-weight: bold;
    padding: 20px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.stats-table tbody tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: background 0.3s ease;
}

.stats-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.stats-table tbody tr:last-child {
    border-bottom: none;
}

.stats-table td {
    color: #ffffff;
    padding: 20px;
    font-size: 1rem;
}

.total-row {
    background: rgba(255, 215, 0, 0.1);
    font-weight: bold;
}

.total-row:hover {
    background: rgba(255, 215, 0, 0.15) !important;
}

/* Technical Stats */
.technical-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.technical-stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.technical-stat-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.tech-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-stat-value {
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700;
    line-height: 1;
    margin-bottom: 10px;
}

.tech-unit {
    font-size: 1.5rem;
    color: #999999;
    font-weight: normal;
    margin-left: 5px;
}

.tech-stat-label {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-stat-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.tech-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Heatmap Styles */
.heatmap-container {
    margin-top: 60px;
    padding: 40px;
    background: #000000;
    border: 2px solid #FFD700;
    border-radius: 20px;
}

.heatmap-field {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.field-svg {
    width: 100%;
    height: auto;
    display: block;
}

.heatmap-legend {
    text-align: center;
}

.heatmap-legend h4 {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    border: 2px solid #333;
}

.legend-item span:last-child {
    color: #cccccc;
    font-size: 0.95rem;
}

/* Player Videos */
.player-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-card {
    background: #000000;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-info p {
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* News Tab */
.player-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.player-news-card {
    background: #000000;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.player-news-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.news-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.player-news-card .news-content {
    padding: 25px;
}

.player-news-card .news-date {
    color: #FFD700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-news-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin: 15px 0;
    line-height: 1.4;
}

.player-news-card p {
    color: #999999;
    font-size: 1rem;
    line-height: 1.6;
}

/* Logo Link Fix */
.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .player-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .player-number-large {
        font-size: 6rem;
    }
    
    .player-name-large {
        font-size: 3rem;
    }
    
    .player-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .player-hero-image {
        max-width: 400px;
        height: 500px;
    }
    
    .player-bio-grid {
        grid-template-columns: 1fr;
    }
    
    .player-info-card {
        position: static;
    }
    
    .technical-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .heatmap-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .player-hero {
        padding: 40px 20px;
    }
    
    .player-number-large {
        font-size: 4rem;
        margin-bottom: -20px;
    }
    
    .player-name-large {
        font-size: 2rem;
    }
    
    .player-position-large {
        font-size: 1.2rem;
    }
    
    .player-positions-detail {
        margin-top: 15px;
        gap: 8px;
    }
    
    .position-badge-large {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .player-quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-stat {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .player-hero-image {
        height: 400px;
    }
    
    .player-tab-btn {
        padding: 15px 25px;
        font-size: 0.95rem;
    }
    
    .player-content-section {
        padding: 40px 20px;
    }
    
    .player-bio-main h2 {
        font-size: 2rem;
    }
    
    .player-bio-main h3 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .player-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .player-news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-table {
        font-size: 0.85rem;
    }
    
    .stats-table thead th,
    .stats-table td {
        padding: 12px 8px;
    }
    
    .technical-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .technical-stat-card {
        padding: 25px;
    }
    
    .tech-stat-value {
        font-size: 2.5rem;
    }
    
    .tech-unit {
        font-size: 1.2rem;
    }
    
    .heatmap-container {
        padding: 20px;
        margin-top: 40px;
    }
    
    .heatmap-field {
        padding: 15px;
    }
    
    .heatmap-legend h4 {
        font-size: 1.1rem;
    }
    
    .legend-items {
        gap: 15px;
    }
    
    .legend-color {
        width: 25px;
        height: 25px;
    }
    
    .legend-item span:last-child {
        font-size: 0.85rem;
    }
