.profil-zawodnika-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin: 20px 0 !important;
    border: none !important;
    border-left: 4px solid #2563eb !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    max-width: 600px !important;
    font-family: 'Arial', sans-serif !important;
}

.profil-zawodnika-card *,
.profil-zawodnika-card *::before,
.profil-zawodnika-card *::after {
    border-color: #2563eb !important;
    outline-color: #2563eb !important;
}

.profil-zawodnika-card [style*="border"] {
    border-color: #2563eb !important;
}

.profil-zawodnika-card [style*="ffd700"],
.profil-zawodnika-card [style*="FFD700"],
.profil-zawodnika-card [style*="yellow"] {
    border-color: #2563eb !important;
    color: #2563eb !important;
}

.profil-zawodnika-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.profil-zawodnika-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #2563eb !important;
    flex-shrink: 0;
}

.profil-zawodnika-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-zawodnika-info {
    flex: 1;
}

.profil-zawodnika-name {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: bold;
    color: #2563eb !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-zawodnika-flag {
    font-size: 20px;
}

.profil-zawodnika-team {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 10px;
}

.profil-zawodnika-team a {
    color: #2563eb !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.profil-zawodnika-team a:hover {
    color: #3b82f6 !important;
    text-decoration: underline;
}

.profil-zawodnika-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profil-zawodnika-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1px solid #2563eb !important;
    border-radius: 20px;
    color: #2563eb !important;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.profil-zawodnika-link:hover {
    background: rgba(37, 99, 235, 0.2) !important;
    transform: translateY(-1px);
    color: #2563eb !important;
    text-decoration: none;
}

.profil-zawodnika-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.profil-zawodnika-link.faceit img {
    filter: none;
}

.x-icon {
    font-size: 14px;
    font-weight: bold;
}

.profil-zawodnika-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.profil-zawodnika-stat {
    background: linear-gradient(135deg, #2a2a3e, #1e1e2e);
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #444 !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profil-zawodnika-stat:hover {
    border-color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.profil-zawodnika-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profil-zawodnika-stat:hover::before {
    opacity: 1;
}

.stat-label {
    font-size: 12px;
    color: #cccccc;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.stat-value.elo {
    color: #2563eb !important;
}

.stat-value.kd {
    color: #28a745;
}

.stat-value.hs {
    color: #ff6b35;
}

.stat-value.adr {
    color: #17a2b8;
}

.stat-value.matches {
    color: #6f42c1;
}

.profil-zawodnika-streak {
    margin-top: 20px;
    text-align: center;
}

.profil-zawodnika-streak h4 {
    margin: 0 0 15px 0;
    color: #2563eb !important;
    font-size: 16px;
    font-weight: bold;
}

.streak-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2a2a3e, #1e1e2e);
    border: 2px solid #444;
    transition: all 0.3s ease;
}

.streak-display.win-streak {
    border-color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
}

.streak-display.loss-streak {
    border-color: #dc3545;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
}

.streak-number {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.win-streak .streak-number {
    color: #28a745;
}

.loss-streak .streak-number {
    color: #dc3545;
}

.streak-text {
    font-size: 16px;
    color: #cccccc;
    text-transform: lowercase;
}

.profil-zawodnika-matches {
    margin-top: 20px;
}

.profil-zawodnika-matches h4 {
    margin: 0 0 15px 0;
    color: #2563eb !important;
    font-size: 16px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3) !important;
    padding-bottom: 5px;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.match-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #666;
    transition: all 0.3s ease;
}

.match-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.match-item.w {
    border-left-color: #28a745;
}

.match-item.l {
    border-left-color: #dc3545;
}

.match-result {
    flex-shrink: 0;
}

.result-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
}

.match-item.w .result-badge {
    background: #28a745;
}

.match-item.l .result-badge {
    background: #dc3545;
}

.match-details {
    flex: 1;
    min-width: 0;
}

.match-map {
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
}

.match-score {
    color: #2563eb !important;
    font-size: 12px;
    margin: 2px 0;
}

.match-stats {
    color: #cccccc;
    font-size: 11px;
}

.match-date {
    flex-shrink: 0;
    color: #999999;
    font-size: 11px;
    text-align: right;
}

.profil-zawodnika-error {
    background: #dc3545;
    color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin: 20px 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .profil-zawodnika-card {
        margin: 10px 0;
        padding: 15px;
    }
    
    .profil-zawodnika-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .profil-zawodnika-avatar {
        width: 50px;
        height: 50px;
    }
    
    .profil-zawodnika-name {
        font-size: 20px;
    }
    
    .profil-zawodnika-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .match-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .match-details {
        width: 100%;
    }
    
    .match-date {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .profil-zawodnika-stats {
        grid-template-columns: 1fr;
    }
    
    .profil-zawodnika-links {
        justify-content: center;
    }
    
    .profil-zawodnika-link {
        font-size: 11px;
        padding: 4px 8px;
    }
}
