/* ===== PUBLIC PLAYER PROFILE PAGE STYLES ===== */
.profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-hero {
    text-align: center;
    height: 170px;
    color: #fff;
}
/* Profile Header */
.profile-header {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.profile-avatar-xlarge {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.profile-info h1 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.team-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.position-badge {
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.age-badge,
.experience-badge {
    background: var(--lighter-gray);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-description {
    color: var(--gray);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
}

.profile-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid var(--lighter-gray);
    padding-bottom: 0.5rem;
}

.profile-section h3 i {
    color: var(--secondary);
}

/* Detail Grid */
.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--lighter-gray);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 120px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--gray);
    text-align: right;
    flex: 1;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    background: var(--lighter-gray);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border-left: 4px solid var(--primary);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Skills List */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--secondary);
}

.skill-item strong {
    color: var(--dark);
}

.skill-value {
    color: var(--primary);
    font-weight: 600;
}

/* Team Info */
.team-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
}

.team-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.team-content {
    display: flex;
    flex-direction: column;
}

.team-content strong {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.team-content span {
    color: var(--gray);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-section h3 i {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-buttons-small {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: var(--gray);
    color: var(--white);
    border: 2px solid var(--gray);
}

.btn-secondary:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
}

/* Profile Actions */
.profile-actions {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 4px solid var(--lighter-gray);
}

.profile-actions .btn {
    min-width: 200px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .profile-avatar-xlarge {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .profile-info h1 {
        font-size: 1.75rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: 0 0.5rem;
    }
    
    .profile-header {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1rem;
    }
    
    .profile-avatar-xlarge {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .profile-info h1 {
        font-size: 1.5rem;
    }
    
    .profile-meta {
        gap: 0.5rem;
    }
    
    .team-badge,
    .position-badge,
    .age-badge,
    .experience-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .skill-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .profile-container {
        margin: 0;
        padding: 0;
    }
    
    .profile-header {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .profile-section {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .profile-actions,
    .cta-section {
        display: none;
    }
}